2.3.23. Produmex batch attribute types (PMX_BATT)
The defined batch attribute types can be added to items in the Item Master Data window > Produmex tab > Attributes > Batch Attribute Code drop-down menu.
Convertor
The data is stored in the database as text. The system needs to know what type to convert it to. This can be set with the convertor.
Possible values:
- Int
- String
- Date
- Double
- List
Sequence
The sequence of the defined batch attribute types in the Batch Attribute Code drop-down menu.
The key for translation
The key that will be used for the translation of the title. When this is not set, the system will use MSG_TITLE_BATCH_ATTRIBUTE.<Code of the batch attribute>.
In case there is only 1 language in the company, a title can be entered here directly.
A list of possible batch attributes that can be linked to an item.
Some predefined codes have been added:
- COUNTRY_OF_ORIGIN: Country of origin
- MANUFACTURING_DATE: Manufacturing date
When custom batch attribute types are added, a translation should be added to the system. This translation is used on a device when entering the batch attributes.
The translation node for COUNTRY_OF_ORIGIN looks like:
<PmxLocalizationKey> <Canceled>False</Canceled> <LocalizationKey>MSG_TITLE_BATCH_ATTRIBUTE.COUNTRY_OF_ORIGIN</LocalizationKey> <ApplicationTypeCode>SLIM_SCR</ApplicationTypeCode> <LocalizationProperties> <PmxLocalizationProperty> <Canceled>False</Canceled> <LocalizationProperty /> <ExtensionCode>CONVSTR</ExtensionCode> <LocalizationValues> <PmxLocalizationValue> <Canceled>False</Canceled> <LocalizationValue>Enter the country of origin</LocalizationValue> <LanguageCode>3</LanguageCode> </PmxLocalizationValue> <PmxLocalizationValue> <Canceled>False</Canceled> <LocalizationValue>Vul het land van herkomst in</LocalizationValue> <LanguageCode>16</LanguageCode> </PmxLocalizationValue> </LocalizationValues> </PmxLocalizationProperty> </LocalizationProperties> </PmxLocalizationKey>
The LocalizationKey starts with ‘MSG_TITLE_BATCH_ATTRIBUTE.’
Add the code of the attribute type at the end.
When making a complete valid translation file to import, make sure the root tags are also added:
<?xml version="1.0" encoding="utf-8"?> <TestRoot> </TestRoot>
AI
The application identifier. It allows a scanned value from a barcode to be automatically stored in the batch attributes.