You need to sign in to do that
Don't have an account?

How to get two custom object value in one class.?
hi,
I have two custom object
First : Emplyee List
Second : Sal Increment
In Employee_list__c there is some custome fields [Department(picklist type),Emplyee Name(text), Employe Sal(Number), Total year(Number) ]
In Sal_Increment__c there is some custome fields [Department(picklist type), Tot_year(picklist), Increment(number)]
When Sal_Increment Fill all values(Slect tot_year =1, Increment=10% ) and save then all Emplyee_list who have one year in this orginaization salery increase 10%.
how to do by usng Apex Class..
thnaks...
I have two custom object
First : Emplyee List
Second : Sal Increment
In Employee_list__c there is some custome fields [Department(picklist type),Emplyee Name(text), Employe Sal(Number), Total year(Number) ]
In Sal_Increment__c there is some custome fields [Department(picklist type), Tot_year(picklist), Increment(number)]
When Sal_Increment Fill all values(Slect tot_year =1, Increment=10% ) and save then all Emplyee_list who have one year in this orginaization salery increase 10%.
how to do by usng Apex Class..
thnaks...
Can you tell me what kind of relationship these objects have? master-detail or lookup? If so, which is the parent? If there is no relationship, is there any criteria which connects them in some way?
Thanks,
Shashank
Use wrapper class concept to bound two object into apex class.
Regards,
Sankar