RP to RFX prep order post

This commit is contained in:
2023-10-18 09:40:02 +02:00
parent 9e1c0fcaae
commit d067be597b
5 changed files with 104 additions and 71 deletions

View File

@@ -7,10 +7,19 @@
<#assign projectRP = project>
<#assign organisationRP = organisation>
<#switch eventRP.event>
<#case "Created">
<#-- *********************************************** Action = CREATE or UPDATE ******************** -->
<#assign executionflow = eventRP.data />
<#-- ******* Header MetaData to maps ******** -->
<#if executionflow.MetaData??>
<#assign Header_MetaData_Map = JsonUtil.sequenceToMap(executionflow.MetaData, "Key", "Value") />
</#if>
[
<#if eventRP.partnerAppRole == "ShipFrom" && executionflow.ShipFrom.ActorID != "" && executionflow.ShipFrom.Actor.IsShipFromConnected?? && executionflow.ShipFrom.Actor.IsShipFromConnected>
{