Trying to get Sales Order Line Item Quantity Commi...
# suitescript
i
Trying to get Sales Order Line Item Quantity Committed and Quantity Backordered on an after submit script. It's working as expected on edit. However, on create I am getting null values for the quantitycommitted and quantitybackordered. Are these not supported on After Submit on Create? I am running it on Pending Fulfillment status so it would have already been committed.
b
the newRecord reflects the record as submitted, the commitment occurs after the record is submitted so those quantity fields wont be set yet
you will need to get them by loading the record again, searching, or querying