Compare commits
42 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7b1f594de3 | |||
| af0dd3fc66 | |||
| a8c85b40b4 | |||
| 88550b45ac | |||
| e0f46af99e | |||
| b040ae5672 | |||
| 5dd16bf4b5 | |||
| d7e56e6ecb | |||
| 89b7ce149b | |||
| e673f7c134 | |||
| 8898467d7c | |||
| cd9db2ddb0 | |||
| 7844fdd015 | |||
| 8d806117fa | |||
| 84d0f73281 | |||
| 290b232f39 | |||
| 689c9e870b | |||
| b78d04bfba | |||
| 62688a15c4 | |||
| db3e72699e | |||
| eaeed34a73 | |||
| fcddee4196 | |||
| d92fa3e2df | |||
| 7db9eae7eb | |||
| c16b522308 | |||
| 7246a2a117 | |||
| a9aac3269e | |||
| ec844cbe49 | |||
| 39c8280fa4 | |||
| 7cbc5111e9 | |||
| 0d3b459386 | |||
| 71fdf435bd | |||
| 7f55b4f86a | |||
| ca5ba7c103 | |||
| 7e054d70d2 | |||
| 75ab1602d4 | |||
| 831e6f098b | |||
| 19de302683 | |||
| 6d4e2d5949 | |||
| 4d0382970f | |||
| 218cf62dae | |||
| 6ed0f8e9da |
@ -24,9 +24,14 @@
|
|||||||
<#include "RFXtoRP_HsaItm_ItemCreated_ItemMetadata.ftl">
|
<#include "RFXtoRP_HsaItm_ItemCreated_ItemMetadata.ftl">
|
||||||
|
|
||||||
<#-- Item Photo URI could be added here -->
|
<#-- Item Photo URI could be added here -->
|
||||||
<#if item.url?? && item.url!="">
|
<#if item.saved_picture_path?? && item.saved_picture_path!="" && item.saved_picture_path?starts_with("http") == true>
|
||||||
|
,
|
||||||
|
"PhotoURI": "${item.saved_picture_path?json_string}"
|
||||||
|
<#else>
|
||||||
|
<#if item.url?? && item.url!="" && item.url?starts_with("http") == true>
|
||||||
,
|
,
|
||||||
"PhotoURI": "${item.url?json_string}"
|
"PhotoURI": "${item.url?json_string}"
|
||||||
|
</#if>
|
||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
<#-- Loop for the Logistical Variants - LV -->
|
<#-- Loop for the Logistical Variants - LV -->
|
||||||
|
|||||||
@ -33,7 +33,7 @@
|
|||||||
"DetailElements": [],
|
"DetailElements": [],
|
||||||
"CorrelationID": "${id.correlationid!"no Correlationid"}",
|
"CorrelationID": "${id.correlationid!"no Correlationid"}",
|
||||||
"ContextPayload": ${strJsonBody},
|
"ContextPayload": ${strJsonBody},
|
||||||
"Type": "RP_EXECUTIONFLOW_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": ""
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@ -11,7 +11,7 @@
|
|||||||
<#assign organisationRP = organisation>
|
<#assign organisationRP = organisation>
|
||||||
|
|
||||||
<#switch eventRP.event>
|
<#switch eventRP.event>
|
||||||
<#-- *********************************************** Action = CREATE or UPDATE ******************** -->
|
<#-- *********************************************** Action = CREATE ******************** -->
|
||||||
<#case "Created">
|
<#case "Created">
|
||||||
<#assign appointment = eventRP.data />
|
<#assign appointment = eventRP.data />
|
||||||
[
|
[
|
||||||
@ -24,10 +24,12 @@
|
|||||||
]
|
]
|
||||||
<#break>
|
<#break>
|
||||||
<#-- *********************************************** Action = CommissionsUpdated ******************** -->
|
<#-- *********************************************** Action = CommissionsUpdated ******************** -->
|
||||||
<#case "CommissionsUpdated">
|
<#case "Updated">
|
||||||
|
<#assign AddComma = false />
|
||||||
<#assign appointment = eventRP.data />
|
<#assign appointment = eventRP.data />
|
||||||
[ <#if appointment.AppointmentType == "APPOINTMENT_TYPE_UNLOADING">
|
[
|
||||||
<#if eventRP.addedCommissions?? && eventRP.addedCommissions!="">
|
<#if eventRP.commissionsUpdated>
|
||||||
|
<#if appointment.AppointmentType == "APPOINTMENT_TYPE_UNLOADING" && eventRP.addedCommissions?? && eventRP.addedCommissions != "">
|
||||||
<#if eventRP.appointmentCustomFields?has_content>
|
<#if eventRP.appointmentCustomFields?has_content>
|
||||||
{
|
{
|
||||||
<#assign apiRestReflexID = ApiRestReflexID.appointment_post_physical_receipt_associations_by_number>
|
<#assign apiRestReflexID = ApiRestReflexID.appointment_post_physical_receipt_associations_by_number>
|
||||||
@ -43,9 +45,10 @@
|
|||||||
<#include "RPtoRFX_CarrierAppointmentPhysicalReceiptAssociationByRef.ftl">
|
<#include "RPtoRFX_CarrierAppointmentPhysicalReceiptAssociationByRef.ftl">
|
||||||
}
|
}
|
||||||
</#if>
|
</#if>
|
||||||
|
<#assign AddComma = true />
|
||||||
</#if>
|
</#if>
|
||||||
<#if eventRP.removedCommissions?? && eventRP.removedCommissions!="">
|
<#if appointment.AppointmentType == "APPOINTMENT_TYPE_UNLOADING" && eventRP.removedCommissions?? && eventRP.removedCommissions!="">
|
||||||
<#if eventRP.addedCommissions?? && eventRP.addedCommissions!="">
|
<#if AddComma == true>
|
||||||
,
|
,
|
||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
@ -64,32 +67,14 @@
|
|||||||
<#include "RPtoRFX_CarrierAppointmentPhysicalReceiptDissociationByRef.ftl">
|
<#include "RPtoRFX_CarrierAppointmentPhysicalReceiptDissociationByRef.ftl">
|
||||||
}
|
}
|
||||||
</#if>
|
</#if>
|
||||||
|
<#assign AddComma = true />
|
||||||
</#if>
|
</#if>
|
||||||
<#else>
|
|
||||||
<#if eventRP.appointmentCustomFields?has_content>
|
|
||||||
{
|
|
||||||
<#assign apiRestReflexID = ApiRestReflexID.appointment_put_update_by_number>
|
|
||||||
"apiRestReflexID" : "${apiRestReflexID}",
|
|
||||||
"datas" :
|
|
||||||
<#include "RPtoRFX_CarrierAppointmentReasonUpdatedByNumber.ftl">
|
|
||||||
}
|
|
||||||
<#else>
|
|
||||||
{
|
|
||||||
<#assign apiRestReflexID = ApiRestReflexID.appointment_put_update_by_ref>
|
|
||||||
"apiRestReflexID" : "${apiRestReflexID}",
|
|
||||||
"datas" :
|
|
||||||
<#include "RPtoRFX_CarrierAppointmentReasonUpdatedByRef.ftl">
|
|
||||||
}
|
|
||||||
</#if>
|
</#if>
|
||||||
|
<#-- *********************************************** Action = reasonUpdated or slotUpdated ******************** -->
|
||||||
|
<#if eventRP.reasonUpdated || eventRP.slotUpdated || eventRP.carrierInformationUpdated>
|
||||||
|
<#if AddComma == true>
|
||||||
|
,
|
||||||
</#if>
|
</#if>
|
||||||
]
|
|
||||||
<#break>
|
|
||||||
<#-- *********************************************** Action = SlotUpdated or CarrierInformationUpdated or ReasonUpdated******************** -->
|
|
||||||
<#case "SlotUpdated">
|
|
||||||
<#case "CarrierInformationUpdated">
|
|
||||||
<#case "ReasonUpdated">
|
|
||||||
<#assign appointment = eventRP.data />
|
|
||||||
[
|
|
||||||
<#if eventRP.appointmentCustomFields?has_content>
|
<#if eventRP.appointmentCustomFields?has_content>
|
||||||
{
|
{
|
||||||
<#assign apiRestReflexID = ApiRestReflexID.appointment_put_update_by_number>
|
<#assign apiRestReflexID = ApiRestReflexID.appointment_put_update_by_number>
|
||||||
@ -105,6 +90,8 @@
|
|||||||
<#include "RPtoRFX_CarrierAppointmentSlotOrCarrierInformationUpdatedByRef.ftl">
|
<#include "RPtoRFX_CarrierAppointmentSlotOrCarrierInformationUpdatedByRef.ftl">
|
||||||
}
|
}
|
||||||
</#if>
|
</#if>
|
||||||
|
<#assign AddComma = true />
|
||||||
|
</#if>
|
||||||
]
|
]
|
||||||
<#break>
|
<#break>
|
||||||
<#-- *********************************************** Action = Canceled ******************** -->
|
<#-- *********************************************** Action = Canceled ******************** -->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user