Mapping Expression Tips:When selected, the icon to the left of a Mapping Expression will pop-out Documentation to help correctly format Mapping Expressions where required.
Select the icon to the right of Mapping Expression to find an appropriate Date format. Where Kill Date is not accompanied by Kill Time, the time will default to 12:00AM to use for Importing.
Example 1; Perhaps the Kill Time and Kill Date are in separate columns on the CSV, and you would like to include both in your Import data. As the StockMate Field 'Kill Date/Time' can only be mapped once per Import Template, the Mapping Expression needs to be formatted to combine both -
Where the Kill Date/Time field has been mapped, Add [Kill Time] next to [Kill Date] in the Mapping Expression. Format the date to match the CSV followed by the format for time.
Hints for the format string to use found in the
Mapping Expression Documentation OR use the
Select date parsing format icon to find a format that may suit.
If the Mapping Expression is not formatted to parse correctly, the Preview will advise that it's an Invalid Date.
Example 2; Some StockMate Fields that pertain to Value and Price are set as per kg, however a feedback file may show figure that reflects a lump sum. These need to be recalculated back to a per kg basis in order to report correctly after Import -
As shown in the
Mapping Expression Documentation, basic arithmetic is used to calculate numeric fields where necessary. A lump Discount price, will need to be divided (/) by the Hot Carcase Weight to find the appropriate numeric value of
Carcase Discount Price per kg. Preview will example the result of the calculation.