I am trying to find some place (i think it might exists) which look like this:
while select SalesLine where XXXXXXXX{
// Create record on CustInvoiceTrans
}
i need to add some changes during the invoicing process so i need to find where does AX iterate over SalesLine to create those records.
Hi Jonathan,
The classes SalesFormLetter and SalesFormLetter_Invoice are taking care of posting the invoice. The CustInvoiceTrans has a method called initFromSalesLine(). SO, you can look in these classes and the table method where you can hook in to achieve your requirement.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156