You need to sign in to do that
Don't have an account?
Samuel Gonsalves 8
trigger to create and update a field in custom object based on standard object in salesforce
Hi All,
In opportunity i have created an INVOICING object. I want all the quote line items details to get UPDATE OR CREATE under invoicing object. When a new product is added under quote same should be created in invoicing object.
Product: Line Item Description-details copied from the quote
Quoted Sales Price - details copied from the quote
Invoice Sales Price(Invoicing Object)
Quoted Quantity-details copied from the quote
Invoice Quantity (Invoicing Object)
Quoted Total Price-details copied from the quote
Invoice Total Price (Invoicing Object)
Can anyone please help me out with this.
Thanks.
Regards,
Samuel
In opportunity i have created an INVOICING object. I want all the quote line items details to get UPDATE OR CREATE under invoicing object. When a new product is added under quote same should be created in invoicing object.
Product: Line Item Description-details copied from the quote
Quoted Sales Price - details copied from the quote
Invoice Sales Price(Invoicing Object)
Quoted Quantity-details copied from the quote
Invoice Quantity (Invoicing Object)
Quoted Total Price-details copied from the quote
Invoice Total Price (Invoicing Object)
Can anyone please help me out with this.
Thanks.
Regards,
Samuel
below code should work for your.
Thanks,
Himanshu
Salesforce Certified Developer | Administrator | Service Cloud Consultant
P.S. If my answer helps you to solve your problem please mark it as best answer. It will help other to find best answer.