33
Default descriptions - Expense report transaction - optional variables set up



The user wants to have defaulted in voucher transaction description the information provided in the field Additional information from expense report line. They have tried to use the below default description setup:





but the system is filling the description voucher with the expense report number.



Repro steps:

1. Set up a new record on the default description table related to "Expense report transactions" type and associate to the parameter 4 the TRVExpnTrans.AdditionalInformation.

2. Create, Approve and Post an expense report with multiple lines having additional information provided on line level.



Research done:

https://docs.microsoft.com/en-us/dynamics365/finance/general-ledger/set-up-default-descriptions-for-automatic-posting



Based on official documentation standard AX populates the default description for all transaction types where possible with the following info:



%1 – Add the transaction date.
%2 – Add an identifier that corresponds to the document type that is being posted to the general ledger. For example, for transaction types that are related to invoices, the %2 variable adds the invoice number.
%3 – Add an identifier that is related to the document type that is being posted to the general ledger. For example, for transaction types that are related to invoices, the %3 variable adds the customer account number.




The other placeholders %4 – %6 is automatically populated for the expense report as follows:



%4 - Expense report number - Based on this info that’s why the user is having only the expense number, right?




%5 - Worker personnel number
%6 - Expense report text
STATUS DETAILS
Needs Votes

Comments

M

Our customer also want the "additional information" captured in the vouchers description.
Unfortunately now the placeholders %4 %5 %6 are fixed variables which is different behavior as the other transactions.

Category: Expense management