Hello,
I am creating a new vendor payment method using the vendoutpaym and vendoutpaymrecord parent classes to generate a csv file to be uploaded to a bank. One of the requirements is the vendor invoice number. I know how to link the the ledgerjournaltrans to the vendtrans table after the journal has been posted by using ljt.vendtransid → vt.recid → vt.offsetrecid → vt2.recid. However from my understanding is that they will be generating these payment files before the journal are posted.
Anyone know how to link the ledgerjournaltrans to the vendor invoice number before posting?