You've already forked reflex-wms-connector
SCPN1-10459
This commit is contained in:
@@ -25,12 +25,6 @@
|
|||||||
"apiReflexPlatformID" : "${apiReflexPlatformID}",
|
"apiReflexPlatformID" : "${apiReflexPlatformID}",
|
||||||
"datas" :
|
"datas" :
|
||||||
<#include "RFXtoRP_HsrPro_ExecutionflowDetected.ftl">
|
<#include "RFXtoRP_HsrPro_ExecutionflowDetected.ftl">
|
||||||
},
|
|
||||||
{
|
|
||||||
<#assign apiReflexPlatformID = ApiReflexPlatformID.ExecutionflowCustomFieldsUpdated>
|
|
||||||
"apiReflexPlatformID" : "${apiReflexPlatformID}",
|
|
||||||
"datas" :
|
|
||||||
<#include "RFXtoRP_HsrPro_ExecutionflowCustomFieldsUpdated.ftl">
|
|
||||||
}
|
}
|
||||||
<#else>
|
<#else>
|
||||||
<#-- No line -->
|
<#-- No line -->
|
||||||
|
|||||||
@@ -1,40 +0,0 @@
|
|||||||
<#include "HfRpConfig.ftl">
|
|
||||||
<#include "ReflexUtils.ftl">
|
|
||||||
<#include "ActorPrefix.ftl">
|
|
||||||
[
|
|
||||||
{
|
|
||||||
"Header": {
|
|
||||||
"ProjectID": "${projectRP}"
|
|
||||||
},
|
|
||||||
"Payload" :{},
|
|
||||||
"ID":{
|
|
||||||
"CustomFields": [
|
|
||||||
{
|
|
||||||
"Key": "depot_code",
|
|
||||||
"Value": "${preparation_order.physical_depot_code?trim?json_string}"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Key": "activity_code",
|
|
||||||
"Value": "${preparation_order.activity_code?trim?json_string}"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Key": "originator_code",
|
|
||||||
"Value": "${preparation_order.originator_code?trim?json_string}"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Key": "reference",
|
|
||||||
"Value": "${preparation_order.originator_reference?trim?json_string}"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Key": "order_year",
|
|
||||||
"Value": "${preparation_order.preparation_order_year}"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Key": "order_number",
|
|
||||||
"Value": "${preparation_order.preparation_order_number}"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"RefID": "${preparation_order.originator_reference?trim?json_string}"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
@@ -32,12 +32,6 @@
|
|||||||
"apiReflexPlatformID" : "${apiReflexPlatformID}",
|
"apiReflexPlatformID" : "${apiReflexPlatformID}",
|
||||||
"datas" :
|
"datas" :
|
||||||
<#include "RFXtoRP_HsrReceiptList_ReceiptExpected.ftl">
|
<#include "RFXtoRP_HsrReceiptList_ReceiptExpected.ftl">
|
||||||
},
|
|
||||||
{
|
|
||||||
<#assign apiReflexPlatformID = ApiReflexPlatformID.ExecutionflowCustomFieldsUpdated>
|
|
||||||
"apiReflexPlatformID" : "${apiReflexPlatformID}",
|
|
||||||
"datas" :
|
|
||||||
<#include "RFXtoRP_HsrReceiptList_CustomFieldsUpdated.ftl">
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
<#else>
|
<#else>
|
||||||
|
|||||||
@@ -1,44 +0,0 @@
|
|||||||
<#include "HfRpConfig.ftl">
|
|
||||||
<#include "ReflexUtils.ftl">
|
|
||||||
<#include "ActorPrefix.ftl">
|
|
||||||
[
|
|
||||||
{
|
|
||||||
"Header": {
|
|
||||||
"ProjectID": "${projectRP}"
|
|
||||||
},
|
|
||||||
"Payload" :{},
|
|
||||||
"ID":{
|
|
||||||
"CustomFields": [
|
|
||||||
{
|
|
||||||
"Key": "depot_code",
|
|
||||||
"Value": "${receipt.physical_depot_code?trim?json_string}"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Key": "activity_code",
|
|
||||||
"Value": "${receipt.activity_code?trim?json_string}"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Key": "originator_code",
|
|
||||||
"Value": "${receipt.originator_code?trim?json_string}"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Key": "reference",
|
|
||||||
"Value": "${receipt.receipt_reference?trim?json_string}"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Key": "order_year",
|
|
||||||
"Value": "${receipt.receipt_year}"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Key": "order_number",
|
|
||||||
"Value": "${receipt.receipt_number}"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
<#if receipt.receipt_reference?? && receipt.receipt_reference!="">
|
|
||||||
"RefID": "${receipt.receipt_reference?trim?json_string}"
|
|
||||||
<#else>
|
|
||||||
"RefID": "${receipt.physical_depot_code?trim?json_string}${receipt.activity_code?trim?json_string}${receipt.originator_code?trim?json_string}${receipt.receipt_year}${receipt.receipt_number}"
|
|
||||||
</#if>
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
Reference in New Issue
Block a user