Metadata inclusion uniformisation

This commit is contained in:
Laure Pascal 2023-09-07 14:22:46 +02:00
parent 77436cce07
commit dc46aed100
19 changed files with 24 additions and 34 deletions

View File

@ -1,4 +1,3 @@
<#-- **** file included in RFXtoRP_HsaItm_ItemCreated.ftl ***** -->
<#-- use protobuf of class HsaCarrier to find Reflex WMS fields names --> <#-- use protobuf of class HsaCarrier to find Reflex WMS fields names -->

View File

@ -15,7 +15,7 @@
<#-- "PartnerID": "${}", --> <#-- "PartnerID": "${}", -->
<#-- <#--
<#include "RFXtoRP_HsaCons_ActorCreated_Metadata.ftl"> <#include "RFXtoRP_HsaCons_ActorCreated_Metadata.ftl">,
--> -->

View File

@ -1,5 +1,4 @@
<#-- **** file included in RFXtoRP_HsaItm_ItemCreated.ftl ***** -->
<#-- use protobuf of class HsaCons to find Reflex WMS fields names --> <#-- use protobuf of class HsaCons to find Reflex WMS fields names -->
"MetaData": [ ], "MetaData": [ ]

View File

@ -27,7 +27,7 @@
"PriorityDate": "${ipg_priority_datetime}", "PriorityDate": "${ipg_priority_datetime}",
<#-- Segmentation keys inclusions --> <#-- Segmentation keys inclusions -->
<#include "RFXtoRP_HsaIpgMove_StockMoved_SegmentationKeys.ftl"> <#include "RFXtoRP_HsaIpgMove_StockMoved_SegmentationKeys.ftl">,
"LVBranchID": "${reflexMvtStockInterface.lv_code}" "LVBranchID": "${reflexMvtStockInterface.lv_code}"

View File

@ -24,7 +24,7 @@
</#if> </#if>
<#-- LV Metadata inclusion --> <#-- LV Metadata inclusion -->
<#include "RFXtoRP_HsaItmLv_LogisticVariantUpdated_Metadata.ftl"> <#include "RFXtoRP_HsaItmLv_LogisticVariantUpdated_Metadata.ftl">,
"IsBaseLogisticVariant": ${lv.base_lv}, "IsBaseLogisticVariant": ${lv.base_lv},

View File

@ -1,4 +1,4 @@
<#-- use protobuf of class HsaItmLv to find Reflex Wms fields names --> <#-- use protobuf of class HsaItmLv to find Reflex Wms fields names -->
"MetaData": [ ], "MetaData": [ ]

View File

@ -22,7 +22,7 @@
}, },
<#-- Item metadata inclusion --> <#-- Item metadata inclusion -->
<#include "RFXtoRP_HsaItm_ItemCreated_ItemMetadata.ftl"> <#include "RFXtoRP_HsaItm_ItemCreated_ItemMetadata.ftl">,
<#-- Item Photo URI could be added here --> <#-- Item Photo URI could be added here -->
<#--"PhotoURI": " ", --> <#--"PhotoURI": " ", -->
@ -33,11 +33,11 @@
<#list item.logistical_variant_list as logistical_variant> <#list item.logistical_variant_list as logistical_variant>
{ {
"LVID": "${logistical_variant.logistical_variant_code}", "LVID": "${logistical_variant.logistical_variant_code}",
"Name" : "${logistical_variant.lv_type_code}", "Name" : "${logistical_variant.lv_type_code}",
<#if logistical_variant.id_list??> <#if logistical_variant.id_list??>
"Codes": [ "Codes": [
<#list logistical_variant.id_list as id> <#list logistical_variant.id_list as id>
{ {
"Key": "${id.logistical_variant_ID_type_code}", "Key": "${id.logistical_variant_ID_type_code}",
@ -47,10 +47,8 @@
], ],
</#if> </#if>
<#-- LV Metadata inclusion --> <#-- LV Metadata inclusion -->
<#if logistical_variant.additional_data_value_list??> <#include "RFXtoRP_HsaItm_ItemCreated_LogisticVariantMetadata.ftl">,
<#include "RFXtoRP_HsaItm_ItemCreated_LogisticVariantMetadata.ftl">
</#if>
"IsBaseLogisticVariant": ${logistical_variant.base_lv}, "IsBaseLogisticVariant": ${logistical_variant.base_lv},

View File

@ -1,5 +1,4 @@
<#-- **** file included in RFXtoRP_HsaItm_ItemCreated.ftl ***** -->
<#-- use protobuf of class HsaItm to find Reflex Wms fields names --> <#-- use protobuf of class HsaItm to find Reflex Wms fields names -->
"MetaData": [ ], "MetaData": [ ]

View File

@ -1,5 +1,4 @@
<#-- **** file included in RFXtoRP_HsaItm_ItemCreated.ftl ***** -->
<#-- use protobuf of class HsaItm to find Reflex Wms fields names --> <#-- use protobuf of class HsaItm to find Reflex Wms fields names -->
"MetaData": [ ], "MetaData": [ ]

View File

@ -15,7 +15,7 @@
<#-- "PartnerID": "${}", --> <#-- "PartnerID": "${}", -->
<#-- <#--
<#include "RFXtoRP_HsaSup_ActorCreated_Metadata.ftl"> <#include "RFXtoRP_HsaSup_ActorCreated_Metadata.ftl">,
--> -->
"Address": "Address":

View File

@ -1,5 +1,4 @@
<#-- **** file included in RFXtoRP_HsaItm_ItemCreated.ftl ***** -->
<#-- use protobuf of class HsaSup to find Reflex WMS fields names --> <#-- use protobuf of class HsaSup to find Reflex WMS fields names -->
"MetaData": [ ], "MetaData": [ ]

View File

@ -15,7 +15,7 @@
<#-- "PartnerID": "${}", --> <#-- "PartnerID": "${}", -->
<#-- <#--
<#include "RFXtoRP_HsrDepot_ActorCreated_Metadata.ftl"> <#include "RFXtoRP_HsrDepot_ActorCreated_Metadata.ftl">,
--> -->
"Address": "Address":

View File

@ -1,5 +1,4 @@
<#-- **** file included in RFXtoRP_HsaItm_ItemCreated.ftl ***** -->
<#-- use protobuf of class HsrDepot to find Reflex WMS fields names --> <#-- use protobuf of class HsrDepot to find Reflex WMS fields names -->
"MetaData": [ ], "MetaData": [ ]

View File

@ -20,7 +20,7 @@
"AuthorTimeZone": "${time_zone_rfx}" "AuthorTimeZone": "${time_zone_rfx}"
}, },
<#-- Header Metadata inclusion --> <#-- Header Metadata inclusion -->
<#include "RFXtoRP_HsrPro_ExecutionflowDetected_HeaderMetadata.ftl"> <#include "RFXtoRP_HsrPro_ExecutionflowDetected_HeaderMetadata.ftl">,
"ShipFrom": { "ShipFrom": {
"ActorID": "${order.physical_depot_code}" "ActorID": "${order.physical_depot_code}"
@ -65,7 +65,7 @@
"LineID": "${line.preparation_order_line_number!0}", "LineID": "${line.preparation_order_line_number!0}",
</#if> </#if>
<#-- Line Metadata inclusion --> <#-- Line Metadata inclusion -->
<#include "RFXtoRP_HsrPro_ExecutionflowDetected_LineMetadata.ftl"> <#include "RFXtoRP_HsrPro_ExecutionflowDetected_LineMetadata.ftl">,
"RequestedContent": "RequestedContent":
{ {

View File

@ -1,4 +1,3 @@
<#-- **** file included in RFXtoRP_HsaItm_ItemCreated.ftl ***** -->
<#-- use protobuf of class HsrPro to find Reflex Wms fields names --> <#-- use protobuf of class HsrPro to find Reflex Wms fields names -->
<#-- <#--
@ -12,4 +11,4 @@
--> -->
"MetaData": [ ], "MetaData": [ ]

View File

@ -1,5 +1,4 @@
<#-- **** file included in RFXtoRP_HsaItm_ItemCreated.ftl ***** -->
<#-- use protobuf of class HsrPro to find Reflex Wms fields names --> <#-- use protobuf of class HsrPro to find Reflex Wms fields names -->
"MetaData": [ ], "MetaData": [ ]

View File

@ -21,7 +21,7 @@
}, },
<#-- Header Metadata inclusion --> <#-- Header Metadata inclusion -->
<#include "RFXtoRP_HsrReceiptList_ExecutionflowDetected_HeaderMetadata.ftl"> <#include "RFXtoRP_HsrReceiptList_ExecutionflowDetected_HeaderMetadata.ftl">,
"ShipFrom": "ShipFrom":
{ {
@ -44,7 +44,7 @@
{ {
"LineID": "${line.receipt_line_number}", "LineID": "${line.receipt_line_number}",
<#-- Line Metadata inclusion --> <#-- Line Metadata inclusion -->
<#include "RFXtoRP_HsrReceiptList_ExecutionflowDetected_LineMetadata.ftl"> <#include "RFXtoRP_HsrReceiptList_ExecutionflowDetected_LineMetadata.ftl">,
"RequestedContent": "RequestedContent":
{ {
"Goods": "Goods":

View File

@ -11,4 +11,4 @@
--> -->
"MetaData": [ ], "MetaData": [ ]

View File

@ -1,4 +1,4 @@
<#-- use protobuf of class HsrReceiptList to find Reflex Wms fields names --> <#-- use protobuf of class HsrReceiptList to find Reflex Wms fields names -->
"MetaData": [ ], "MetaData": [ ]