Skip to Content

Updating Sales Order from Outbound Delivery in ABSL

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Oct 22, 2015 at 08:30 AM

    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

    Add comment
    10|10000 characters needed characters exceeded