Skip to main content
Question

21R1 - Order Creation Fails from Endpoint API Call

  • September 2, 2021
  • 0 replies
  • 67 views

vivekm
Varsity I
Forum|alt.badge.img

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings