on 02-14-2018 11:19 AM
Dear Experts,
While editing Salesorder based on some conditions, I want to create /Edit campaign to a specific value.
In event aftermodify of SO,Iam trying as below :
var campaign : elementsof SalesOrder.BusinessTransactionDocumentReference;
--campaign.BusinessTransactionDocumentRelationshipRoleCode -- Readonly
--campaign.BusinessTransactionDocumentReference -- Readoinly
currentSalesOrder.CampaignReference.Create(campaign);
But this is not allowing to create a campaign .Same issue in Edit also .
Plesae help in resolving
I suggest you look to see if there's already a pre-existing reference --- you might be able to follow the association chain to set the ID, e.g. currentSalesOrder.CampaignReference.BusinessTransactionDocumentReference.ID.content or something of the ilk.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.