on 05-17-2016 7:25 AM
Hi experts,
In purchaseorder object, it has many event, for example:
I extension other object, for example, in ConfirmedInboundDelivery extension, I want to call the purchaseorder object's event "FinishDeliveryProcessing", could I success?Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bin,
PurchaseOrder is in a different Deployment Unit than ConfirmedInboundDelivery.
This means you have only read-only access to fields and methods of Purchase Orders when executing code inside ConfirmedInboundDelivery.
To "transfer" execution to a different Deployment Unit you need to create a custom object mirroring (the important parts of) the ConfirmedInboundDelivery in the other deployment unit using an internal communication.
Then when when modifying of some property occurs in the ConfirmedInboundDelivery the respective property will be also modified in the mirror object and you can react to this change in the mirror object to trigger the action of the purchase order.
I suggest to have another look to the SDK documentation and to look up "deployment unit" and "internal communication" which might be helpful.
Best regards,
Ludger
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.