Creating a code
To create a code:
- Select Administrative Functions > Manage Codes.
- Click the Drill down button of a code line.
- Click Edit.
-
Click the Create button of the Code List Properties list.
The dialog box Manage Code Properties opens.
-
Specify this information in the Header Data field set:
- Name
- Specify the name of the code. The name of a code can only be defined once for a specific time period and hierarchy. You can define codes that have the same name for different time periods and hierarchies. For example, specify a customer ID. A Java class that is used in the underlying code list retrieves the valid codes. You can select a valid code from the drop-down list. For example, in the code list
TimeZones
the Java class fetcher for time zones provides the valid time zones that you can select here. The individual Java classes that are used to validate and to retrieve codes are defined in the code listsCodeListValidatorsForCodes
,CodeListValidatorsForProperties
, andCodeListFetcher
. - Short Description
- Review or specify a short description of the code. The short description can consist of a maximum of 512 characters.
- Description
- Specify a description of the code.
- Effective from Date
-
This field defines the start date of the code.
Note: For future changes of the specified data, you can define a follow-up code for the subsequent time period and the same hierarchy. - Effective to Date
- This field defines the end date of the code.
-
Specify the hierarchy under which the code is stored and accessed in the Hierarchy Data field set. Which hierarchy fields are shown here depends on the search hierarchy structure that is inherited from the code list.
- Accounting Entity
- Select the accounting entity of the customer from the drop-down list.
- Location
- Select the location of the customer from the drop-down list.
- Customer
- Specify the customer ID.
- Ship To Accounting Entity
- Select the accounting entity of the customer's ship to ID from the drop-down list.
- Ship To
- Specify the ship to ID of the customer.
- Trading Partner
- Select the trading partner from the drop-down list.
- Specify the required information in the Property Values field set. The fields that are shown here are dynamically created based on the code list properties, which define the attributes of the codes. Up to seven fields are displayed on each tab.
- To save the code, click OK.
-
To save the list of codes, click Save.
A notification displays that the code list has been saved successfully.