Sales Invoice in ax 2012

Hello friends,

i want to show some bank details like iban no,swift no. on sales invoice report .

Please help me how to show…



Hi Darshana,

You need to write the business logic in Report data provider class. For sales invoice report you need to write logic in salesinvoicedp class.

You need to create fields like IBANid, swift no in salesinvoicetmp table.

You need to pick bank details based on company currency or some other ways??

however you can write code insertIntoSalesInvoiceTmp method having class salesinvoicedp.

BankAccountTable banktable;

banktable = Bankaccounttable::findbycompany(company,accountid);



salesinvoicetabletmp.ibanid = banktable.IBAN;