Question

21R1 - Order Creation Fails from Endpoint API Call

  • 2 September 2021
  • 0 replies
  • 33 views

Badge

Hello Everyone,

We have a customization where we are updating Allocation details, user will select Inventory ID and give Lot Serial number to a custom field under Details section (in So line level) and accordingly in Allocation pop-up the Lot/Serial will be associated/updated.

From screen level it is working fine but when we are trying it through Sales Order Endpoint API it fails to do so. On debug we identified the difference between flow of event handler execution like below:

From Screen Level:

  1. SOLine_InventoryID_FieldUpdating
  1. SOLine_InventoryID_FieldUpdated
  1. SOLineSplit_IsAllocated_FieldUpdated
  1. SOLineSplit_RowInserted
  1. SOLineSplit_LotSerialNbr_FieldUpdated
  1. SOLineSplit_IsAllocated_FieldUpdated
  1. Persist()

From API:

  1. SOLine_InventoryID_FieldUpdating
  1. SOLine_InventoryID_FieldUpdated
  1. Persist()

The identification is from Endpoint Order API Call SOLineSplit_IsAllocated_FieldUpdated, SOLineSplit_RowInserted, SOLineSplit_LotSerialNbr_FieldUpdated these events are not executing.

The same implementation we have for 19R2, where it working fine from screen and Endpoint API as well and follows the event execution sequence as mentioned above under “From Screen Level”.

Can someone please suggest the possible cause of it and the possible solutions to resolve it.

 

Thanks in Advance !


0 replies

Be the first to reply!

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2020  Acumatica, Inc. All rights reserved