web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Default descriptions - Key1-Key3 definitions

(0) ShareShare
ReportReport
Posted on by 140

I am setting up my default desriptions for various transactions and the default text is defined by selecting %1- %6. However %4-%6 are just defined as correlating to Key1-Key3 for the transaction selected. Does anyone know what Key1 , Key 2 and Key3 mean or relate to and how I can find out what they are for the various types of transactions listed? Thanks!

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at

    Hi,

    i don't think there is a list with all transaction types and the correlating key definition. If you have some developer skills, it is a good start to look at the cross references of the TransactionTxt class.

    %1 - %3 is used by all types:

    %1 = TransDate

    %2 = form letter num (e.g. Invoice Id for sales invoice)

    %3 = voucher

    %4 - %6 are specific for each transaction type

    e.g. sales invoice:

    %4 = sales id

    %5 = invoice account

    %6 = cust group id

    Use the cross references of the TransactionTxt.setKey... methods for the specific use of these parameters.

    Perhaps sometime MS will post an list of all these types. I hope so.

    Regards, Dirk

  • Susie Hadley Profile Picture
    140 on at

    Thanks for the insight!

  • AX-2012 Updates Profile Picture
    215 on at

    Can you please tell me How can i take vendor Invoice description by using default description, which key i need to select..? 

    Thanks in advance

  • André Arnaud de Calavon Profile Picture
    303,397 Super User 2026 Season 1 on at

    Hi AX-2012 Updates,

    The list above is still valid. These keys are variables used to fill a description. If it is already filled like you describe.... Can you explain further?

  • Community Member Profile Picture
    on at

    Hi we have added the Purchase - invoice, ledger.

    Do you know how to add the Purchase Order number to the description? I have found:

    %1 = Trans Date

    %2 = Invoice no (external)

    %3 = Voucher

    %4 = Supplier No.

    %5 = Supplier Group

    In Purchase order - product receipt, ledger - %4 = the PO number

    Do you know if Microsoft ever posted a list of all of the types?

  • Suggested answer
    faheem Ahmed Profile Picture
    450 on at

    You can check TransactionTxt class, for every default description this class is called.

    return strfmt(txt, date2StrUsr(transDate, DateFlags::FormatAll), formLetterNum, voucherNum, key1, key2, key3);

    it will always return this string but values will change depending on type you select so there are only 6 possible value.  

  • Community Member Profile Picture
    on at

    Does anyone know if this can be pulled into Management Reporter?

  • Community Member Profile Picture
    on at

    I have just come across this. Is there any way to customise the Keys?

    I am looking to add VendInvoiceInfoTable.Description if possible. Every detail from the VendInvoiceInfoTable seems to be available apart from the description - arguably the most important part in terms of analysis.

  • faheem Ahmed Profile Picture
    450 on at

    Bruce you can customize just follow below mention steps.

    1:Add one more key in \Classes\TransactionTxt its fairly easy open the class and follow the

    pattern.

    lets say your key is setInvoiceDescription

    now go to

    2:\Classes\VendorInvoiceSourceDoc\parmTransactionText

    just past this line and you are done.

    transactionTxt.setInvoiceDescription(VendInvoiceJour::findFromPurchId(vendInvoiceMap.PurchId).Description);

    3:code part is complete:

    define new key %6 in OrganizationAdministration\Setup\Default descriptions

    generate CLI and it should appaer now you can define as many key you want following the same logic.

  • Ahmed M. Alam Profile Picture
    on at

    Dear Susie,

    I have the same issue, currently we have AX 2012 R2 with CU7, the problem is according to this document I am unable to find the update for the same.

    blogs.msdn.microsoft.com/.../how-to-enable-add-other-text-to-default-descriptions-feature-in-all-countries

    Please suggest.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Sagar Suman Profile Picture

Sagar Suman 2 Super User 2026 Season 1

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans