how the records created in LedgerTransVoucher form.

Hi,

When we post a sales order, it will create two records in voucher which credits the amount to the customer and debits the posted amount to the ledger. I would like to add noncatalog Amount(customized) to the credited customer amount and create a new line (record) to debit the noncatalog item amount.

can anybody plz let me know how the records created in LedgerTransVoucher form.

Hi,

Assume you are referring to DAX 2009.

While posting sales order, financial issue are handled at InventUpd_Financial class > updateNow method. Try to debug around this area to understand how financial transactions are generated. In particularl LedgerVoucherTransObject class > newCreateTrans method.

I will be very careful with any customisation around this area. If possible, try to use an existing standard functionality as a work around.