VendInvoiceJournal and LedgerTransTable

Hi Friends,

i am working on AP module, in PurchOrderDetailForm when i create new data and invoice it , the data is copied to VendInvoiceJournal and voucher (LedgerTransTable) . Now my requirement is that i want to copy a field X of VendInvoiceJournal to the field Y of Voucher (LedgerTransTable).

Pls suggest me where should i write the code.

Thanks

Manish.

Hi Manish,

Write the Code in PurchOrderDetailForm>Datasources>Voucher (LedgerTransTable).>Method>

Add “initValue” OverrideMethod

LedgerTransTable.Y = VendInvoiceJournal.X

Dont forget to verify

Regards

SAADULLAH

www.msdynamicsax.weebly.com