If a script saves record.Type.RECEIVE_INBOUND_SHIP...
# suitescript
c
If a script saves record.Type.RECEIVE_INBOUND_SHIPMENT, can we get any resulting bulk processing errors captured in the script? record.save() will save the record, it's then handed off to bulk processing and the script cannot see the bulk processing errors. It would be great to log these.
w
Correct. NS will not give you the errors. The dirty way I did it was to run an analytics query for "Bulk Processing Submission" of type "Receive Inbound Shipment" just after I submitted the inbound ship receipt to grab the latest ID and monitor it for errors.
c
That sounds great - I'll try to do something similar.
Are you querying a specific table looking out for submissons?
w
Yes, it will not work with saved-searches. You will need to make an analytics dataset on the Bulk Processing Submission table