You've already forked reflex-wms-connector
Expiry group management
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<#include "HfRpConfig.ftl">
|
||||
<#include "HfExpGrpList">
|
||||
[
|
||||
{
|
||||
"Header": {
|
||||
@@ -9,23 +10,21 @@
|
||||
},
|
||||
"Payload": {
|
||||
"DescriptionsByLanguage": [{
|
||||
"ShortDescription": "${item.short_designation?json_string}",
|
||||
"LongDescription": "${item.designation?json_string}",
|
||||
"TechnicalDetails": "${item.item_description?json_string}",
|
||||
"LanguageCodeISO6391": "${text_language_rfx}"
|
||||
}
|
||||
],
|
||||
<#-- /!\ table de correspondance à faire disparaitre /!\ -->
|
||||
<#assign ExpiryConstraint = {"REC":"PRODUCTION_DATE", "DDM":"BEST_BEFORE_DATE", "DLC":"USE_BY_DATE"}/>
|
||||
"ShortDescription": "${item.short_designation?json_string}",
|
||||
"LongDescription": "${item.designation?json_string}",
|
||||
"TechnicalDetails": "${item.item_description?json_string}",
|
||||
"LanguageCodeISO6391": "${text_language_rfx}"
|
||||
}
|
||||
],
|
||||
"ExpiryConstraint": {
|
||||
"Type": "${ExpiryConstraint[item.expiry_group_code]!"UNKNOWN_DATE"}"
|
||||
},
|
||||
"Type": "${ExpiryGroupList[item.expiry_group_code]!"UNKNOWN_DATE"}"
|
||||
},
|
||||
|
||||
<#-- Item metadata inclusion -->
|
||||
<#include "RFXtoRP_HsaItm_ItemCreated_ItemMetadata.ftl">,
|
||||
<#include "RFXtoRP_HsaItm_ItemCreated_ItemMetadata.ftl">,
|
||||
|
||||
<#-- Item Photo URI could be added here -->
|
||||
<#--"PhotoURI": " ", -->
|
||||
<#-- Item Photo URI could be added here -->
|
||||
<#--"PhotoURI": " ", -->
|
||||
|
||||
<#-- Loop for the Logistical Variants - LV -->
|
||||
<#if item.logistical_variant_list??>
|
||||
|
||||
Reference in New Issue
Block a user