This field was blank for invoices created by the '...
# suitescript
c
This field was blank for invoices created by the 'Invoice Sales Order' page. Is that expected? I was under the impression that this page still uses bulk processing, the context on the record creation was 'Bulk Processing'.
let intBulkProcessId = objNewRecord.getValue({
fieldId: 'bulkprocsubmission'
});
I'm going to file a bug for this with NetSuite. This field should set when the context of a create is Bulk Processing (my belief), but does not set in this scenario.
l
Is your script a user event one? We've had issues with some of these bulk processing pages as well before. We had to use a map reduce script instead as the UE never gets triggered. We didn't file a ticket though so we weren't able to confirm if it's a defect or if we should have done it differently
c
It's a UE. It always gets triggered but the above field has no value depending on how you initiate the bulk processing.