Merge branch 'SCPN1-8991-8980-9059-2.0' into 'release/2.0'
SCPN1-8991-8980-9059-2.0 See merge request r-d-technique/tiers/reflex-wms-connector!121
This commit is contained in:
commit
43e0a5ad0d
4
RFXtoRP_HsaDispute_ClaimMetadata.ftl
Normal file
4
RFXtoRP_HsaDispute_ClaimMetadata.ftl
Normal file
@ -0,0 +1,4 @@
|
||||
<#-- use protobuf of class HsaDispute to find Reflex Wms fields names -->
|
||||
|
||||
|
||||
"MetaData": [ ]
|
||||
@ -39,6 +39,8 @@
|
||||
</#if>
|
||||
"Value": "${dispute.dispute_amount}"
|
||||
},
|
||||
<#-- Claim metadata inclusion -->
|
||||
<#include "RFXtoRP_HsaDispute_ClaimMetadata.ftl">,
|
||||
<#-- To configure -->
|
||||
<#include "RFXtoRP_HsaDispute_TableReasonCodeToClaimTypeID.ftl">
|
||||
<#if dispute.dispute_type_code=="050" >
|
||||
|
||||
@ -44,6 +44,7 @@
|
||||
"automatic_generation": "${automatic_generation_flag}",
|
||||
"deactivate": "false",
|
||||
"optional_attributes": {
|
||||
<#include "RPtoRFX_PrepOrder_OptionalAttributes.ftl">
|
||||
"apt_with_end_consignee": "${apt_with_end_consignee_flag}",
|
||||
"apt_with_intermediate": "false",
|
||||
"load_grouping": "${load_grouping}"
|
||||
@ -83,9 +84,13 @@
|
||||
<#-- ******* line MetaData and Segmentationkeys to maps ******** -->
|
||||
<#if line.MetaData??>
|
||||
<#assign Line_MetaData_Map = JsonUtil.sequenceToMap(line.MetaData, "Key", "Value") />
|
||||
<#else>
|
||||
<#assign Line_MetaData_Map = {} />
|
||||
</#if>
|
||||
<#if line.RequestedContent.Goods.SegmentationKeys??>
|
||||
<#assign SegmentationKeys_Map = JsonUtil.sequenceToMap(line.RequestedContent.Goods.SegmentationKeys, "Key", "Value") />
|
||||
<#else>
|
||||
<#assign SegmentationKeys_Map = {} />
|
||||
</#if>
|
||||
<#include "RPtoRFX_PrepOrder_DefaultLineData.ftl">
|
||||
{
|
||||
|
||||
8
RPtoRFX_PrepOrder_OptionalAttributes.ftl
Normal file
8
RPtoRFX_PrepOrder_OptionalAttributes.ftl
Normal file
@ -0,0 +1,8 @@
|
||||
<#-- Here are the fields that can be added
|
||||
"end_consignee_apt_start_datetime": "0000-00-00T00:00:00",
|
||||
"end_consignee_apt_end_datetime": "0000-00-00T00:00:00",
|
||||
"reason_code": "str",
|
||||
"planned_preparation_date": "0000-00-00",
|
||||
"despatch_grouping": "string",
|
||||
"reservation_end_datetime": "0000-00-00T00:00:00",
|
||||
-->
|
||||
@ -38,9 +38,13 @@
|
||||
<#-- ******* line MetaData and Segmentationkeys to maps ******** -->
|
||||
<#if line.MetaData??>
|
||||
<#assign Line_MetaData_Map = JsonUtil.sequenceToMap(line.MetaData, "Key", "Value") />
|
||||
<#else>
|
||||
<#assign Line_MetaData_Map = {} />
|
||||
</#if>
|
||||
<#if line.RequestedContent.Goods.SegmentationKeys??>
|
||||
<#assign SegmentationKeys_Map = JsonUtil.sequenceToMap(line.RequestedContent.Goods.SegmentationKeys, "Key", "Value") />
|
||||
<#else>
|
||||
<#assign SegmentationKeys_Map = {} />
|
||||
</#if>
|
||||
<#include "RPtoRFX_Receipt_DefaultLineData.ftl">
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user