on 10-22-2015 1:17 AM
Hi experts,
1. I extend Sales Order and Outbound Delivery.
2. In the BeforeSave event of OutboundDelivery.xbo, I update the extension field of SalesOrder.xbo.
3. I am getting the error "The field is Read-Only" .
I am guessing the problem is because of being different Deployment Units.
But I don't know how to solve it. Any idea please.
Best Regards
Fred
Hi Fred,
Cross-Deployment Data Flow is tricky.
Sometimes it it possible to use extension scenarios but not in this case.
If you do need the sales order extension field in to be the different deployment unit, you need to use Internal Communication to move data between deployment units.
However, an alternative is not to use an extension field but a custom BO located in the deployment unit of the outbound delivery representing the sales order.
These are different options you have, each has different advantages and drawbacks.
Wich one it better suited for your issue depends on the use case.
Ludger
--
Custom Development with All4Cloud.de
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
9 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.