I’m looking to populate a reference field in the receipt entry with a button click, so that an external document software can reference the data.
I’m using this code to generate data, but I’m unable to populate the text field or update the table value. Can someone point me in the right direction for updating this database?
Well . . I’ve run into my first concern item, I’m not sure how to fix.
I changed the BPMs to a post processing BPM on the ReceiveAllLines and GetNewRcvDtl methods.
The Mass Receipt looks fine, and worked well as it assigned the same value for the reference for all the line items (It was a Mass Receipt for 35 or so items)
Can I modify the BPM for the GetNewRcvDtl to use the previous transaction reference of the matching packing slip and PO?
So if I’m doing a receipt for more than one line (not a mass receipt), the first line would generate a reference, and then any other lines added to it would use that same reference, so each line is not unique.