Compare commits

...

7 Commits

Author SHA1 Message Date
3f525a1039 Release 2.0.22+4 2026-05-12 14:53:02 +02:00
8f06187ba7 Merge branch 'release2.0-Fix4-v13' into 'release/2.0'
release2.0-Fix4-v13 into release/2.0

See merge request r-d-technique/tiers/reflex-wms-connector!280
2026-05-12 12:49:09 +00:00
3cb71fb6a1 Fix4 v13 2026-05-12 11:27:10 +02:00
4f8f43d127 Fix4 v13 2026-05-12 11:25:32 +02:00
033ff99037 Release 2.0.22+3 2026-04-28 10:19:01 +02:00
9165592815 Merge branch 'release-2.0-SCPN1-10682' into 'release/2.0'
release-2.0-SCPN1-10682

See merge request r-d-technique/tiers/reflex-wms-connector!274
2026-04-28 08:13:38 +00:00
ed7726de60 SCPN1-10682
(cherry picked from commit daf7ce34ea912d64ee43eb75801546e977e673e4)
2026-04-28 09:53:28 +02:00
34 changed files with 129 additions and 60 deletions

View File

@@ -37,7 +37,11 @@
<#if uniqueness> <#if uniqueness>
<#local depot = actor> <#local depot = actor>
<#else> <#else>
<#if actor?length gt 4>
<#local depot = actor[4..]> <#local depot = actor[4..]>
<#else>
<#local depot = actor>
</#if>
</#if> </#if>
<#return (depot)> <#return (depot)>
</#function> </#function>
@@ -78,7 +82,11 @@
<#if uniqueness> <#if uniqueness>
<#local supplier = actor> <#local supplier = actor>
<#else> <#else>
<#if actor?length gt 4>
<#local supplier = actor[4..]> <#local supplier = actor[4..]>
<#else>
<#local supplier = actor>
</#if>
</#if> </#if>
<#return (supplier)> <#return (supplier)>
</#function> </#function>
@@ -117,7 +125,11 @@
<#if uniqueness> <#if uniqueness>
<#local carrier = actor> <#local carrier = actor>
<#else> <#else>
<#if actor?length gt 4>
<#local carrier = actor[4..]> <#local carrier = actor[4..]>
<#else>
<#local carrier = actor>
</#if>
</#if> </#if>
<#return (carrier)> <#return (carrier)>
</#function> </#function>
@@ -156,7 +168,11 @@
<#if uniqueness> <#if uniqueness>
<#local consignee = actor> <#local consignee = actor>
<#else> <#else>
<#if actor?length gt 4>
<#local consignee = actor[4..]> <#local consignee = actor[4..]>
<#else>
<#local consignee = actor>
</#if>
</#if> </#if>
<#return (consignee)> <#return (consignee)>
</#function> </#function>

View File

@@ -2,10 +2,10 @@
<#-- --------------------------------------------------------------------------------------- --> <#-- --------------------------------------------------------------------------------------- -->
<#-- DeleteEF est un paramètre qui permet de déterminer si lexécution logistique doit être supprimée lors de la création dune commande.--> <#-- DeleteEF est un paramètre qui permet de déterminer si lexécution logistique doit être supprimée lors de la création dune commande.-->
<#-- Attention : si vous choisissez de la supprimer, toutes les métadonnées associées à cette exécution logistique seront également supprimées. --> <#-- Attention : si vous choisissez de la supprimer, toutes les métadonnées associées à cette exécution logistique seront également supprimées. -->
<#-- Si DeleteEF_False = true, nous ne supprimons pas l'exécution logistique, Si DeleteEF_False = false, nous supprimons l'exécution logistique.--> <#-- Si DeleteEF_Creation = true, nous ne supprimons pas l'exécution logistique, Si DeleteEF_Creation = false, nous supprimons l'exécution logistique.-->
<#-- --------------------------------------------------------------------------------------- --> <#-- --------------------------------------------------------------------------------------- -->
<#-- DeleteEF is a parameter used to determine whether the logistics execution should be deleted when creating an order.--> <#-- DeleteEF is a parameter used to determine whether the logistics execution should be deleted when creating an order.-->
<#-- Warning: if deletion is selected, all metadata related to the logistics execution will also be removed. --> <#-- Warning: if deletion is selected, all metadata related to the logistics execution will also be removed. -->
<#-- If DeleteEF_False = true, we do not delete the logistics execution. If DeleteEF_False = false, we delete the logistics execution. --> <#-- If DeleteEF_Creation = true, we do not delete the logistics execution. If DeleteEF_Creation = false, we delete the logistics execution. -->
<#-- --------------------------------------------------------------------------------------- --> <#-- --------------------------------------------------------------------------------------- -->
<#assign DeleteEF_False = true> <#assign DeleteEF_Creation = true>

View File

@@ -1,5 +1,5 @@
<#-- **** input parameters ***** --> <#-- **** input parameters ***** -->
<#-- input : message HARDIS WMS --> <#-- input : message HARDIS WMS for stock snapshotted -->
<#-- project : projectId in HARDIS SC NETWORK --> <#-- project : projectId in HARDIS SC NETWORK -->
<#-- organisation : organisationtId in HARDIS SC NETWORK --> <#-- organisation : organisationtId in HARDIS SC NETWORK -->
<#-- sum_elt : nb element in snapshot (optional parameter) --> <#-- sum_elt : nb element in snapshot (optional parameter) -->

View File

@@ -1,3 +1,4 @@
<#-- input : message HARDIS WMS for expiry group -->
<#-- *********************************************** Parameter global ******************** --> <#-- *********************************************** Parameter global ******************** -->
<#assign cloudEventMsg = JsonUtil.jsonToMap(input)> <#assign cloudEventMsg = JsonUtil.jsonToMap(input)>
<#assign projectRP = project> <#assign projectRP = project>

View File

@@ -1,3 +1,4 @@
<#-- input : message HARDIS WMS for grades -->
<#-- *********************************************** Parameter global ******************** --> <#-- *********************************************** Parameter global ******************** -->
<#assign cloudEventMsg = JsonUtil.jsonToMap(input)> <#assign cloudEventMsg = JsonUtil.jsonToMap(input)>
<#assign projectRP = project> <#assign projectRP = project>
@@ -9,7 +10,7 @@
<#case "C"> <#case "C">
<#case "U"> <#case "U">
<#case "D"> <#case "D">
<#stop "no generic FTL file available yet for Grades"> <#stop >
<#break> <#break>

View File

@@ -1,3 +1,4 @@
<#-- input : message HARDIS WMS for logistics variants types -->
<#-- *********************************************** Parameter global ******************** --> <#-- *********************************************** Parameter global ******************** -->
<#assign cloudEventMsg = JsonUtil.jsonToMap(input)> <#assign cloudEventMsg = JsonUtil.jsonToMap(input)>
<#assign projectRP = project> <#assign projectRP = project>
@@ -10,7 +11,7 @@
<#case "U"> <#case "U">
<#case "D"> <#case "D">
<#stop "no generic FTL file available yet for LV types"> <#stop >
<#break> <#break>

View File

@@ -1,3 +1,4 @@
<#-- input : message HARDIS WMS for owners -->
<#-- *********************************************** Parameter global ******************** --> <#-- *********************************************** Parameter global ******************** -->
<#assign cloudEventMsg = JsonUtil.jsonToMap(input)> <#assign cloudEventMsg = JsonUtil.jsonToMap(input)>
<#assign projectRP = project> <#assign projectRP = project>
@@ -9,7 +10,7 @@
<#case "C"> <#case "C">
<#case "U"> <#case "U">
<#case "D"> <#case "D">
<#stop "no generic FTL file available yet for Owners"> <#stop >
<#break> <#break>

49
RFXtoRP_HliAntRecLr.ftl Normal file
View File

@@ -0,0 +1,49 @@
<#-- **** input parameters ***** -->
<#-- input : message HARDIS WMS -->
<#-- project : projectId in HARDIS SC NETWORK -->
<#-- organisation : organisationtId in HARDIS SC NETWORK -->
<#assign cloudEventMsg = JsonUtil.jsonToMap(input)>
<#assign projectRP = project>
<#assign organisationRP = organisation>
<#assign aDateTime = .now>
<#switch cloudEventMsg.action>
<#case "C">
<#-- *********************************************** Action = CREATE ******************** -->
<#assign dataRfx = JsonUtil.decodeBase64(cloudEventMsg.data) />
<#assign ancReceiptLine = JsonUtil.jsonToMap(dataRfx)>
[
{
<#stop "create anticipated receipt line">
}
]
<#break>
<#case "U">
<#-- *********************************************** Action = UPDATE ******************** -->
<#assign dataRfx = JsonUtil.decodeBase64(cloudEventMsg.data) />
<#assign ancReceiptLine = JsonUtil.jsonToMap(dataRfx)>
[
{
<#stop "update anticipated receipt line">
}
]
<#break>
<#case "D">
<#-- *********************************************** Action = DELETE ******************** -->
<#assign dataRfx = JsonUtil.decodeBase64(cloudEventMsg.data) />
<#assign ancReceiptLine = JsonUtil.jsonToMap(dataRfx)>
[
{
<#stop "delete anticipated receipt line">
}
]
<#break>
<#default>
<#stop >
</#switch>

View File

@@ -1,5 +1,5 @@
<#-- **** input parameters ***** --> <#-- **** input parameters ***** -->
<#-- input : message HARDIS WMS --> <#-- input : message HARDIS WMS for lines of preparation order shipped-->
<#-- project : projectId in HARDIS SC NETWORK --> <#-- project : projectId in HARDIS SC NETWORK -->
<#-- organisation : organisationtId in HARDIS SC NETWORK --> <#-- organisation : organisationtId in HARDIS SC NETWORK -->
<#include "ReflexUtils.ftl"> <#include "ReflexUtils.ftl">

View File

@@ -1,5 +1,5 @@
<#-- **** input parameters ***** --> <#-- **** input parameters ***** -->
<#-- input : message HARDIS WMS --> <#-- input : message HARDIS WMS for carrier actor -->
<#-- project : projectId in HARDIS SC NETWORK --> <#-- project : projectId in HARDIS SC NETWORK -->
<#-- organisation : organisationtId in HARDIS SC NETWORK --> <#-- organisation : organisationtId in HARDIS SC NETWORK -->
<#include "ReflexUtils.ftl"> <#include "ReflexUtils.ftl">

View File

@@ -1,5 +1,5 @@
<#-- **** input parameters ***** --> <#-- **** input parameters ***** -->
<#-- input : message HARDIS WMS --> <#-- input : message HARDIS WMS for consignee actor -->
<#-- project : projectId in HARDIS SC NETWORK --> <#-- project : projectId in HARDIS SC NETWORK -->
<#-- organisation : organisationtId in HARDIS SC NETWORK --> <#-- organisation : organisationtId in HARDIS SC NETWORK -->
<#include "ReflexUtils.ftl"> <#include "ReflexUtils.ftl">

View File

@@ -16,7 +16,7 @@
<#assign dataRfx = JsonUtil.decodeBase64(cloudEventMsg.data) /> <#assign dataRfx = JsonUtil.decodeBase64(cloudEventMsg.data) />
<#assign desPatch = JsonUtil.jsonToMap(dataRfx)> <#assign desPatch = JsonUtil.jsonToMap(dataRfx)>
<#stop "no generic FTL file available yet for desPatch"> <#stop >
<#break> <#break>
<#case "D"> <#case "D">
@@ -24,7 +24,7 @@
<#assign dataRfx = JsonUtil.decodeBase64(cloudEventMsg.data) /> <#assign dataRfx = JsonUtil.decodeBase64(cloudEventMsg.data) />
<#assign desPatch = JsonUtil.jsonToMap(dataRfx)> <#assign desPatch = JsonUtil.jsonToMap(dataRfx)>
<#stop "no generic FTL file available yet for desPatch"> <#stop >
<#break> <#break>
<#default> <#default>
<#stop > <#stop >

View File

@@ -16,7 +16,7 @@
<#assign dataRfx = JsonUtil.decodeBase64(cloudEventMsg.data) /> <#assign dataRfx = JsonUtil.decodeBase64(cloudEventMsg.data) />
<#assign despNt = JsonUtil.jsonToMap(dataRfx)> <#assign despNt = JsonUtil.jsonToMap(dataRfx)>
<#stop "no generic FTL file available yet for despNt"> <#stop >
<#break> <#break>
<#case "D"> <#case "D">
@@ -24,7 +24,7 @@
<#assign dataRfx = JsonUtil.decodeBase64(cloudEventMsg.data) /> <#assign dataRfx = JsonUtil.decodeBase64(cloudEventMsg.data) />
<#assign despNt = JsonUtil.jsonToMap(dataRfx)> <#assign despNt = JsonUtil.jsonToMap(dataRfx)>
<#stop "no generic FTL file available yet for despNt"> <#stop >
<#break> <#break>
<#default> <#default>
<#stop > <#stop >

View File

@@ -1,5 +1,5 @@
<#-- **** input parameters ***** --> <#-- **** input parameters ***** -->
<#-- input : message HARDIS WMS --> <#-- input : message HARDIS WMS for dispute/claim-->
<#-- project : projectId in HARDIS SC NETWORK --> <#-- project : projectId in HARDIS SC NETWORK -->
<#-- organisation : organisationtId in HARDIS SC NETWORK --> <#-- organisation : organisationtId in HARDIS SC NETWORK -->

View File

@@ -1,3 +1,8 @@
<#-- **** input parameters ***** -->
<#-- input : message HARDIS WMS for moves-->
<#-- project : projectId in HARDIS SC NETWORK -->
<#-- organisation : organisationtId in HARDIS SC NETWORK -->
<#assign cloudEventMsg = JsonUtil.jsonToMap(input)> <#assign cloudEventMsg = JsonUtil.jsonToMap(input)>
<#assign projectRP = project> <#assign projectRP = project>
<#assign organisationRP = organisation> <#assign organisationRP = organisation>

View File

@@ -60,7 +60,7 @@
</#if> </#if>
"ExternalInfo" : "${reflexMvtStockInterface.stock_move_reference?json_string}", "ExternalInfo" : "${reflexMvtStockInterface.stock_move_reference?json_string}",
<#if reflexMvtStockInterface.ipg_move_operation_year_number!= 0> <#if reflexMvtStockInterface.ipg_move_operation_year_number!= 0>
"OperationReference": "${reflexMvtStockInterface.ipg_move_operation_year_number} - ${reflexMvtStockInterface.ipg_move_operation_number}", "OperationReference": "${reflexMvtStockInterface.physical_depot_code}${reflexMvtStockInterface.activity_code}-${reflexMvtStockInterface.ipg_move_operation_year_number}-${reflexMvtStockInterface.ipg_move_operation_number}",
</#if> </#if>
"Quantity": "Quantity":

View File

@@ -1,5 +1,5 @@
<#-- **** input parameters ***** --> <#-- **** input parameters ***** -->
<#-- input : message HARDIS WMS --> <#-- input : message HARDIS WMS for items -->
<#-- project : projectId in HARDIS SC NETWORK --> <#-- project : projectId in HARDIS SC NETWORK -->
<#-- organisation : organisationtId in HARDIS SC NETWORK --> <#-- organisation : organisationtId in HARDIS SC NETWORK -->

View File

@@ -1,7 +1,7 @@
<#-- **** input parameters ***** --> <#-- **** input parameters ***** -->
<#-- input : message RFX --> <#-- input : message HARDIS WMS for logistic variants -->
<#-- project : projectId in ReflexPlatform --> <#-- project : projectId in HARDIS SC NETWORK -->
<#-- organisation : organisationtId in ReflexPlatform --> <#-- organisation : organisationtId in HARDIS SC NETWORK -->
<#assign cloudEventMsg = JsonUtil.jsonToMap(input)> <#assign cloudEventMsg = JsonUtil.jsonToMap(input)>
<#assign projectRP = project> <#assign projectRP = project>

View File

@@ -1,7 +1,8 @@
<#-- **** input parameters ***** --> <#-- **** input parameters ***** -->
<#-- input : message RFX --> <#-- input : message HARDIS WMS for carrier appointment status -->
<#-- project : projectId in ReflexPlatform --> <#-- project : projectId in HARDIS SC NETWORK -->
<#-- organisation : organisationtId in ReflexPlatform --> <#-- organisation : organisationtId in HARDIS SC NETWORK -->
<#include "ActorPrefix.ftl"> <#include "ActorPrefix.ftl">
<#include "HfRpConfig.ftl"> <#include "HfRpConfig.ftl">
<#include "ReflexUtils.ftl"> <#include "ReflexUtils.ftl">

View File

@@ -1,5 +1,6 @@
[ [
<#assign ref_datetime = RfxDateTimetoUTCWithTimezone(carrier_apt_status.status.creation_datetime,time_zone_rfx) /> <#assign ref_datetime = RfxDateTimetoUTCWithTimezone(carrier_apt_status.status.creation_datetime,time_zone_rfx) />
<#assign ref_datetime2 = AddSecondsToDatetime(ref_datetime?datetime.iso, 1)?iso_utc />
{ {
"Header": { "Header": {
"ProjectID": "${projectRP}" "ProjectID": "${projectRP}"
@@ -19,7 +20,7 @@
</#if> </#if>
</#if> </#if>
"RefDate": { "RefDate": {
"DateTime": "${ref_datetime}", "DateTime": "${ref_datetime2}",
"AuthorTimeZone": "${time_zone_rfx}" "AuthorTimeZone": "${time_zone_rfx}"
} }
}, },

View File

@@ -1,5 +1,5 @@
<#-- **** input parameters ***** --> <#-- **** input parameters ***** -->
<#-- input : message HARDIS WMS --> <#-- input : message HARDIS WMS for preparation status -->
<#-- project : projectId in HARDIS SC NETWORK --> <#-- project : projectId in HARDIS SC NETWORK -->
<#-- organisation : organisationtId in HARDIS SC NETWORK --> <#-- organisation : organisationtId in HARDIS SC NETWORK -->

View File

@@ -1,7 +1,7 @@
<#-- **** input parameters ***** --> <#-- **** input parameters ***** -->
<#-- input : message RFX --> <#-- input : message HARDIS WMS for supplier actor -->
<#-- project : projectId in ReflexPlatform --> <#-- project : projectId in HARDIS SC NETWORK -->
<#-- organisation : organisationtId in ReflexPlatform --> <#-- organisation : organisationtId in HARDIS SC NETWORK -->
<#include "ReflexUtils.ftl"> <#include "ReflexUtils.ftl">
<#include "HfRpConfig.ftl"> <#include "HfRpConfig.ftl">
<#include "ActorPrefix.ftl"> <#include "ActorPrefix.ftl">

View File

@@ -1,7 +1,7 @@
<#-- **** input parameters ***** --> <#-- **** input parameters ***** -->
<#-- input : message HARDIS-WMS --> <#-- input : message HARDIS WMS for carrier appointment -->
<#-- project : projectId in ReflexPlatform --> <#-- project : projectId in HARDIS SC NETWORK -->
<#-- organisation : organisationtId in ReflexPlatform --> <#-- organisation : organisationtId in HARDIS SC NETWORK -->
<#include "ActorPrefix.ftl"> <#include "ActorPrefix.ftl">
<#include "HfRpConfig.ftl"> <#include "HfRpConfig.ftl">
<#include "ReflexUtils.ftl"> <#include "ReflexUtils.ftl">

View File

@@ -1,6 +1,6 @@
[ [
<#assign ref_datetime = RfxDateTimetoUTCWithTimezone(carrier_apt.metadata.creation_datetime,time_zone_rfx) /> <#assign ref_datetime = RfxDateTimetoUTCWithTimezone(carrier_apt.metadata.last_update_datetime,time_zone_rfx) />
<#assign ref_datetime2 = AddSecondsToDatetime(ref_datetime?datetime.iso, 60)?iso_utc /> <#assign ref_datetime2 = AddSecondsToDatetime(ref_datetime?datetime.iso, 1)?iso_utc />
{ {
"Header": { "Header": {
"ProjectID": "${projectRP}" "ProjectID": "${projectRP}"

View File

@@ -1,5 +1,5 @@
<#-- **** input parameters ***** --> <#-- **** input parameters ***** -->
<#-- input : message HARDIS WMS --> <#-- input : message HARDIS WMS for depot actor -->
<#-- project : projectId in HARDIS SC NETWORK --> <#-- project : projectId in HARDIS SC NETWORK -->
<#-- organisation : organisationtId in HARDIS SC NETWORK --> <#-- organisation : organisationtId in HARDIS SC NETWORK -->

View File

@@ -17,22 +17,14 @@
<#-- *********************************************** Action = CREATE or UPDATE ******************** --> <#-- *********************************************** Action = CREATE or UPDATE ******************** -->
<#assign dataRfx = JsonUtil.decodeBase64(cloudEventMsg.data) /> <#assign dataRfx = JsonUtil.decodeBase64(cloudEventMsg.data) />
<#assign depot = JsonUtil.jsonToMap(dataRfx)> <#assign depot = JsonUtil.jsonToMap(dataRfx)>
[ <#stop >
{
}
]
<#break> <#break>
<#case "D"> <#case "D">
<#-- *********************************************** Action = DELETE *************************** --> <#-- *********************************************** Action = DELETE *************************** -->
<#assign dataRfx = JsonUtil.decodeBase64(cloudEventMsg.data) /> <#assign dataRfx = JsonUtil.decodeBase64(cloudEventMsg.data) />
<#assign depot = JsonUtil.jsonToMap(dataRfx)> <#assign depot = JsonUtil.jsonToMap(dataRfx)>
[ <#stop >
{
}
]
<#break> <#break>
<#default> <#default>

View File

@@ -16,7 +16,7 @@
<#assign dataRfx = JsonUtil.decodeBase64(cloudEventMsg.data) /> <#assign dataRfx = JsonUtil.decodeBase64(cloudEventMsg.data) />
<#assign packBranch = JsonUtil.jsonToMap(dataRfx)> <#assign packBranch = JsonUtil.jsonToMap(dataRfx)>
<#stop "no generic FTL file available yet for Pack Branch"> <#stop >
<#break> <#break>
<#case "D"> <#case "D">
@@ -24,7 +24,7 @@
<#assign dataRfx = JsonUtil.decodeBase64(cloudEventMsg.data) /> <#assign dataRfx = JsonUtil.decodeBase64(cloudEventMsg.data) />
<#assign packBranch = JsonUtil.jsonToMap(dataRfx)> <#assign packBranch = JsonUtil.jsonToMap(dataRfx)>
<#stop "no generic FTL file available yet for Pack Branch"> <#stop >
<#break> <#break>
<#default> <#default>
<#stop > <#stop >

View File

@@ -16,7 +16,7 @@
<#assign dataRfx = JsonUtil.decodeBase64(cloudEventMsg.data) /> <#assign dataRfx = JsonUtil.decodeBase64(cloudEventMsg.data) />
<#assign packOrder = JsonUtil.jsonToMap(dataRfx)> <#assign packOrder = JsonUtil.jsonToMap(dataRfx)>
<#stop "no generic FTL file available yet for Pack Order"> <#stop >
<#break> <#break>
<#case "D"> <#case "D">
@@ -24,7 +24,7 @@
<#assign dataRfx = JsonUtil.decodeBase64(cloudEventMsg.data) /> <#assign dataRfx = JsonUtil.decodeBase64(cloudEventMsg.data) />
<#assign packOrder = JsonUtil.jsonToMap(dataRfx)> <#assign packOrder = JsonUtil.jsonToMap(dataRfx)>
<#stop "no generic FTL file available yet for Pack Order"> <#stop >
<#break> <#break>
<#default> <#default>
<#stop > <#stop >

View File

@@ -1,5 +1,5 @@
<#-- **** input parameters ***** --> <#-- **** input parameters ***** -->
<#-- input : message HARDIS WMS --> <#-- input : message HARDIS WMS for preparation order shipped-->
<#-- project : projectId in HARDIS SC NETWORK --> <#-- project : projectId in HARDIS SC NETWORK -->
<#-- organisation : organisationtId in HARDIS SC NETWORK --> <#-- organisation : organisationtId in HARDIS SC NETWORK -->
<#include "ReflexUtils.ftl"> <#include "ReflexUtils.ftl">

View File

@@ -1,5 +1,5 @@
<#-- **** input parameters ***** --> <#-- **** input parameters ***** -->
<#-- input : message HARDIS WMS --> <#-- input : message HARDIS WMS for preparation order -->
<#-- project : projectId in HARDIS SC NETWORK --> <#-- project : projectId in HARDIS SC NETWORK -->
<#-- organisation : organisationtId in HARDIS SC NETWORK --> <#-- organisation : organisationtId in HARDIS SC NETWORK -->

View File

@@ -1,5 +1,5 @@
<#-- **** input parameters ***** --> <#-- **** input parameters ***** -->
<#-- input : message HARDIS WMS --> <#-- input : message HARDIS WMS for receipt -->
<#-- project : projectId in HARDIS SC NETWORK --> <#-- project : projectId in HARDIS SC NETWORK -->
<#-- organisation : organisationtId in HARDIS SC NETWORK --> <#-- organisation : organisationtId in HARDIS SC NETWORK -->

View File

@@ -23,20 +23,21 @@
}, },
"TechMessage": { "TechMessage": {
"Code": "${restResponsetMsg.status!"no Code"}", "Code": "${restResponsetMsg.status!"no Code"}",
"Label": ${strJsonBody} "Label": ${strJsonBody?truncate(32000,'...')}
}, },
"UserMessage": { "UserMessage": {
"Code": "${restResponsetMsg.status!"no Code"}", "Code": "${restResponsetMsg.status!"no Code"}",
"Label": ${strJsonBody}, "Label": ${strJsonBody?truncate(32000,'...')},
"Params": [] "Params": []
}, },
"DetailElements": [], "DetailElements": [],
"CorrelationID": "${id.correlationid!"no Correlationid"}", "CorrelationID": "${id.correlationid!"no Correlationid"}",
"ContextPayload": ${strJsonBody}, "ContextPayload": ${strJsonBody?truncate(32000,'...')},
"Type": "${event}", "Type": "${event}",
"Task": "${id.apiRestReflexID!"no Task"}", "Task": "${id.apiRestReflexID!"no Task"}",
"OriginalID": "${id.refid!"no OriginalID"?trim?json_string}", "OriginalID": "${id.refid!"no OriginalID"?trim?json_string}",
"StackTrace": "" "StackTrace": ""
} }
} }
] ]

View File

@@ -62,22 +62,22 @@
<#assign restResponseBody = JsonUtil.decodeBase64(restResponsetMsg.body) /> <#assign restResponseBody = JsonUtil.decodeBase64(restResponsetMsg.body) />
<#assign preparationOrderPostResponse = JsonUtil.jsonToMap(restResponseBody)> <#assign preparationOrderPostResponse = JsonUtil.jsonToMap(restResponseBody)>
<#if preparationOrderPostResponse.status?? && (preparationOrderPostResponse.status == "SUCCESS" || preparationOrderPostResponse.status == "WARN") > <#if preparationOrderPostResponse.status?? && (preparationOrderPostResponse.status == "SUCCESS" || preparationOrderPostResponse.status == "WARN") >
<#if DeleteEF_False> <#if DeleteEF_Creation>
[ [
{ {
<#assign apiReflexPlatformID = ApiReflexPlatformID.ExecutionflowShipFromAcked> <#assign apiReflexPlatformID = ApiReflexPlatformID.ExecutionflowDeleted>
"apiReflexPlatformID" : "${apiReflexPlatformID}", "apiReflexPlatformID" : "${apiReflexPlatformID}",
"datas" : "datas" :
<#include "RFXtoRP_PrepOrder_ShipFromAcked.ftl"> <#include "RFXtoRP_ExecutionflowDeleted.ftl">
} }
] ]
<#else> <#else>
[ [
{ {
<#assign apiReflexPlatformID = ApiReflexPlatformID.ExecutionflowDeleted> <#assign apiReflexPlatformID = ApiReflexPlatformID.ExecutionflowShipFromAcked>
"apiReflexPlatformID" : "${apiReflexPlatformID}", "apiReflexPlatformID" : "${apiReflexPlatformID}",
"datas" : "datas" :
<#include "RFXtoRP_ExecutionflowDeleted.ftl"> <#include "RFXtoRP_PrepOrder_ShipFromAcked.ftl">
} }
] ]
</#if> </#if>

View File

@@ -1 +1 @@
2.0.22+2 2.0.22+4