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

Clone Opportunity line items
HI,
i am planning to clone the opportunity line items. in opportunity i have 1 opportunitylineitem record, when i created new opportunityline item at that case i have to change the old opportunityline item status to close and i have to copy the old record values(price,discount,amount) to newly created record. how can i achieve it.
i am planning to clone the opportunity line items. in opportunity i have 1 opportunitylineitem record, when i created new opportunityline item at that case i have to change the old opportunityline item status to close and i have to copy the old record values(price,discount,amount) to newly created record. how can i achieve it.
can you some sample code for this,
i have to clone only opportunitylineltems and i have to store lineitems in same opportunity.