- Article Type: Q&A
- Product: Aleph
- Product Version: 20
Other than entering manually it in the GUI, is there a way to populate z30_rec_key_3, so that items are linked to their payments?
The only batch programs which write to the z30_rec_key_3 are the file-96 ("Generic Vendor Records Loader") and the jobs which call the generic_loader_create_item, such as, file-90 ("Advanced Generic Vendor Records Loader").
As noted in the z30.pdf document: "The fields that constitute the Z30-REC-KEY-3 provide a link to the invoice connected to the item. The fields match the fields that constitute the Z75-REC-2."
Thus, if the z75_rec_key matches a z68_rec_key whose z68_order_number matches a z30_order_number, the z75_rec_key_2 of that z75 could be copied (via SQL) to the z30_rec_key_3 of the item record.
(z30 is Item record; z75, Invoice line item record; z68, Order record.)
file-96 and file-90 have parameter files in which a Z30-INVOICE-NUMBER can be specified to go into the items they are creating. All of the items in a particular load have the same z30_rec_key_3 value.
- Article last edited: 11/22/2013