date tracking
This commit is contained in:
parent
307ae9ebe2
commit
aba22026bb
@ -22,6 +22,27 @@
|
|||||||
"apiReflexPlatformID" : "${apiReflexPlatformID}",
|
"apiReflexPlatformID" : "${apiReflexPlatformID}",
|
||||||
"datas" :
|
"datas" :
|
||||||
<#include "RFXtoRP_HsaDispute_Created.ftl">
|
<#include "RFXtoRP_HsaDispute_Created.ftl">
|
||||||
|
},
|
||||||
|
{
|
||||||
|
<#assign apiReflexPlatformID = ApiReflexPlatformID.ClaimMessageSent>
|
||||||
|
"apiReflexPlatformID" : "${apiReflexPlatformID}",
|
||||||
|
"datas" :
|
||||||
|
<#include "RFXtoRP_HsaDispute_MessageSent.ftl">
|
||||||
|
}
|
||||||
|
<#if dispute.dispute_item??>
|
||||||
|
,
|
||||||
|
{
|
||||||
|
<#assign apiReflexPlatformID = ApiReflexPlatformID.ClaimMessageSent>
|
||||||
|
"apiReflexPlatformID" : "${apiReflexPlatformID}",
|
||||||
|
"datas" :
|
||||||
|
<#include "RFXtoRP_HsaDispute_MessageSent2.ftl">
|
||||||
|
}
|
||||||
|
</#if>,
|
||||||
|
{
|
||||||
|
<#assign apiReflexPlatformID = ApiReflexPlatformID.ClaimMessageSent>
|
||||||
|
"apiReflexPlatformID" : "${apiReflexPlatformID}",
|
||||||
|
"datas" :
|
||||||
|
<#include "RFXtoRP_HsaDispute_MessageSent3.ftl">
|
||||||
}
|
}
|
||||||
<#else>
|
<#else>
|
||||||
<#stop>
|
<#stop>
|
||||||
|
|||||||
@ -45,7 +45,7 @@
|
|||||||
<#include "RFXtoRP_HsaDispute_TableReasonCodeToClaimTypeID.ftl">
|
<#include "RFXtoRP_HsaDispute_TableReasonCodeToClaimTypeID.ftl">
|
||||||
|
|
||||||
<#if TableReasonCode[dispute.dispute_reason_code]??>
|
<#if TableReasonCode[dispute.dispute_reason_code]??>
|
||||||
"ClaimTypeID":"${TableReasonCode[dispute.dispute_reason_code]}"
|
"ClaimTypeID":"CLAIMTYPE_${projectRP}_${TableReasonCode[dispute.dispute_reason_code]}"
|
||||||
<#else>
|
<#else>
|
||||||
<#stop "Claim reason code not supported" >
|
<#stop "Claim reason code not supported" >
|
||||||
</#if>
|
</#if>
|
||||||
|
|||||||
@ -16,7 +16,13 @@
|
|||||||
},
|
},
|
||||||
"Payload": {
|
"Payload": {
|
||||||
|
|
||||||
"Message": "${dispute.dispute_reference?trim?json_string}${dispute.dispute_reference?trim?json_string}"
|
<#if dispute.dispute_preparation??>
|
||||||
|
"Message": "Reference : ${dispute.dispute_reference?trim?json_string}"
|
||||||
|
<#else>
|
||||||
|
<#if dispute.dispute_reception??>
|
||||||
|
"Message": "Reference : ${dispute.dispute_reception.reception_reference?trim?json_string}"
|
||||||
|
</#if>
|
||||||
|
</#if>
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
23
RFXtoRP_HsaDispute_MessageSent2.ftl
Normal file
23
RFXtoRP_HsaDispute_MessageSent2.ftl
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
<#include "HfRpConfig.ftl">
|
||||||
|
<#include "ReflexUtils.ftl">
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"Header": {
|
||||||
|
"ProjectID": "${projectRP}"
|
||||||
|
},
|
||||||
|
"ID": {
|
||||||
|
<#if dispute.dispute_preparation??>
|
||||||
|
"RefID": "${dispute.dispute_preparation.preparation_physical_depot_code?replace(" ","")?json_string}${dispute.dispute_preparation.preparation_activity_code?replace(" ","")?json_string}${dispute.dispute_preparation.preparation_order_list[0].preparation_order_contractor_code?replace(" ","")?json_string}${dispute.dispute_year_number?replace(" ","")?json_string}${dispute.dispute_number?replace(" ","")?json_string}"
|
||||||
|
<#else>
|
||||||
|
<#if dispute.dispute_reception??>
|
||||||
|
"RefID": "${dispute.dispute_reception.reception_physical_depot_code?replace(" ","")?json_string}${dispute.dispute_reception.reception_activity_code?replace(" ","")?json_string}${dispute.dispute_reception.reception_contractor_code?replace(" ","")?json_string}${dispute.dispute_year_number?replace(" ","")?json_string}${dispute.dispute_number?replace(" ","")?json_string}"
|
||||||
|
</#if>
|
||||||
|
</#if>
|
||||||
|
},
|
||||||
|
"Payload": {
|
||||||
|
|
||||||
|
"Message": "Item : ${dispute.dispute_item.item_code?trim?json_string} - Quantity : ${dispute.dispute_quantity}${dispute.dispute_quantity_unit}"
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
23
RFXtoRP_HsaDispute_MessageSent3.ftl
Normal file
23
RFXtoRP_HsaDispute_MessageSent3.ftl
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
<#include "HfRpConfig.ftl">
|
||||||
|
<#include "ReflexUtils.ftl">
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"Header": {
|
||||||
|
"ProjectID": "${projectRP}"
|
||||||
|
},
|
||||||
|
"ID": {
|
||||||
|
<#if dispute.dispute_preparation??>
|
||||||
|
"RefID": "${dispute.dispute_preparation.preparation_physical_depot_code?replace(" ","")?json_string}${dispute.dispute_preparation.preparation_activity_code?replace(" ","")?json_string}${dispute.dispute_preparation.preparation_order_list[0].preparation_order_contractor_code?replace(" ","")?json_string}${dispute.dispute_year_number?replace(" ","")?json_string}${dispute.dispute_number?replace(" ","")?json_string}"
|
||||||
|
<#else>
|
||||||
|
<#if dispute.dispute_reception??>
|
||||||
|
"RefID": "${dispute.dispute_reception.reception_physical_depot_code?replace(" ","")?json_string}${dispute.dispute_reception.reception_activity_code?replace(" ","")?json_string}${dispute.dispute_reception.reception_contractor_code?replace(" ","")?json_string}${dispute.dispute_year_number?replace(" ","")?json_string}${dispute.dispute_number?replace(" ","")?json_string}"
|
||||||
|
</#if>
|
||||||
|
</#if>
|
||||||
|
},
|
||||||
|
"Payload": {
|
||||||
|
|
||||||
|
"Message": "Description : ${dispute.dispute_description?trim?json_string}"
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
@ -1,11 +1,11 @@
|
|||||||
<#-- Specify table for reason code -->
|
<#-- Specify table for reason code -->
|
||||||
<#-- Table example for reason code to claim type ID -->
|
<#-- Table example for reason code to claim type ID -->
|
||||||
<#-- <#assign TableReasonCode = {
|
<#-- <#assign TableReasonCode = {
|
||||||
"001":"CLAIMTYPE_${projectRP}_ORDER_Delay",
|
"001":"ORDER_Delay",
|
||||||
"M1":"CLAIMTYPE_${projectRP}_ORDER_casse",
|
"M1":"ORDER_casse",
|
||||||
"XXX":"CLAIMTYPE_${projectRP}_ACTOR_claimtype",
|
"XXX":"ACTOR_claimtype",
|
||||||
"XXX":"CLAIMTYPE_${projectRP}_HANDLINGUNIT_claimtype",
|
"XXX":"HANDLINGUNIT_claimtype",
|
||||||
"XXX":"CLAIMTYPE_${projectRP}_MOVEMENT_claimtype"
|
"XXX":"MOVEMENT_claimtype"
|
||||||
}/>-->
|
}/>-->
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user