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.
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.
I have try it, but have much question on it, Could you share me a sample of Internal communication? Thanks.