Set up subcodes
Important
This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.
Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack
This topic explains how to set up an info code so that multiple subcodes are displayed either in a list or as buttons. A subcode triggers specific actions. The actions depend on the info code that the subcode is assigned to. A subcode is commonly used to present the point of sale (POS) operator with a list of available responses. For example, you can set up a subcode to remind staff to check age requirements.
You can create and modify subcodes. The actions that are triggered by a subcode depend on the criteria that you enter for the subcode.
Note
In versions of Microsoft Dynamics AX 2012 prior to AX 2012 R3, info codes in Retail were called reason codes. This topic refers to info codes, but the information also pertains to Retail reason codes in earlier versions of AX 2012, unless otherwise indicated.
Click Retail > Setup > Info codes.
In the Info codes form, in the left pane, select an info code that has an input type of Subcode buttons or Subcode list, and then click Subcodes.
In the Information subcodes form, click New to create a new subcode.
In the Subcode number field, enter an identification number for the subcode.
In the Trigger function field, select whether a product or a discount group triggers the action. Then, in the Trigger code field, enter a product number or discount group.
In the Price type field, select whether the type of price that is charged originates from a product, a designated price, or a price that is reduced by a discount percentage.
In the Amount / percent field, enter the amount that is charged for the product that is specified in the Trigger code field. Alternatively, if the price that is used at the point of sale reflects a price reduction, enter the percentage by which the price of the product is reduced.
In AX 2012 R3 with Retail: Click Translations. In the Text translation form, enter the translated text for subcodes in additional languages. The translated text is displayed on the register at the point of sale.