You need to sign in to do that
Don't have an account?
kumar 420
Insert the value in Contact(Child) Object custom field 'sequence number'
hello,
i have custom field 'sequence number' on Contact(Child) object .i wanna insert the value in custom field and than i insert the value in next record automatic the next record value is increse from our first record value .
for Example if i have one Account(Parent) Object that Account name is 'HDFC' in the HDFC Account i have 4 Contact(Child) Object in Contact Object i have 'sequence number' Custom fields in Contact Object.I insert the record in 1 contact 'sequence number' Custom fields and after than i will insert the record 2 contact 'sequence number' Custom fields it automaticly increse by one form the 1 contact 'sequence number' .and then i will insert the 3 contact 'sequence number' Custom fields it automaticly increse by one form the 2 contact 'sequence number'.and all this sequence for all contact
i am new in salesforce apex so give me solution with example and some expletion
thank you
....
i have custom field 'sequence number' on Contact(Child) object .i wanna insert the value in custom field and than i insert the value in next record automatic the next record value is increse from our first record value .
for Example if i have one Account(Parent) Object that Account name is 'HDFC' in the HDFC Account i have 4 Contact(Child) Object in Contact Object i have 'sequence number' Custom fields in Contact Object.I insert the record in 1 contact 'sequence number' Custom fields and after than i will insert the record 2 contact 'sequence number' Custom fields it automaticly increse by one form the 1 contact 'sequence number' .and then i will insert the 3 contact 'sequence number' Custom fields it automaticly increse by one form the 2 contact 'sequence number'.and all this sequence for all contact
i am new in salesforce apex so give me solution with example and some expletion
thank you
....