modif sur les rdz
This commit is contained in:
parent
0113829f9b
commit
9c5741cc7f
3
RFXtoRP_HsrCarrierApt_CarrierInformation.ftl
Normal file
3
RFXtoRP_HsrCarrierApt_CarrierInformation.ftl
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
"CarrierInformation": [
|
||||||
|
|
||||||
|
]
|
||||||
5
RFXtoRP_HsrCarrierApt_MetadataAppointment.ftl
Normal file
5
RFXtoRP_HsrCarrierApt_MetadataAppointment.ftl
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
|
||||||
|
"MetaData": [
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
5
RFXtoRP_HsrCarrierApt_Quantities.ftl
Normal file
5
RFXtoRP_HsrCarrierApt_Quantities.ftl
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
"Quantities": [
|
||||||
|
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
6
RFXtoRP_HsrCarrierApt_SegmentationSelections.ftl
Normal file
6
RFXtoRP_HsrCarrierApt_SegmentationSelections.ftl
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
|
||||||
|
|
||||||
|
"SegmentationSelections": [
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
@ -66,12 +66,9 @@
|
|||||||
"Value": "${carrier_apt.planned_carrier?json_string}"
|
"Value": "${carrier_apt.planned_carrier?json_string}"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"SegmentationSelections":[ <#-- intégrer les SK par la suite -->
|
<#include "RFXtoRP_HsrCarrierApt_SegmentationSelections.ftl">,
|
||||||
{ "SegmentationID":"Securise",
|
<#include "RFXtoRP_HsrCarrierApt_CarrierInformation.ftl">,
|
||||||
"SegmentationValueID":"yes"},
|
<#include "RFXtoRP_HsrCarrierApt_MetadataAppointment.ftl">,
|
||||||
{ "SegmentationID":"Secteur",
|
|
||||||
"SegmentationValueID":"frais"}
|
|
||||||
],
|
|
||||||
<#if carrier_apt.physical_receipt_list?? && (carrier_apt.physical_receipt_list?filter(l ->l??)?size != 0)>
|
<#if carrier_apt.physical_receipt_list?? && (carrier_apt.physical_receipt_list?filter(l ->l??)?size != 0)>
|
||||||
"Commissions": [
|
"Commissions": [
|
||||||
<#list carrier_apt.physical_receipt_list?filter(l ->l??) as physical_receipt>
|
<#list carrier_apt.physical_receipt_list?filter(l ->l??) as physical_receipt>
|
||||||
@ -83,11 +80,7 @@
|
|||||||
"OrderID": "R${carrier_apt.physical_depot?json_string}${physical_receipt.receipt_activity?json_string}${physical_receipt.originator_code?json_string}${physical_receipt.receipt_year}${physical_receipt.receipt_number}",
|
"OrderID": "R${carrier_apt.physical_depot?json_string}${physical_receipt.receipt_activity?json_string}${physical_receipt.originator_code?json_string}${physical_receipt.receipt_year}${physical_receipt.receipt_number}",
|
||||||
</#if>
|
</#if>
|
||||||
"ProjectID": "${projectRP}",
|
"ProjectID": "${projectRP}",
|
||||||
"Quantities": [
|
<#include "RFXtoRP_HsrCarrierApt_Quantities.ftl">
|
||||||
{
|
|
||||||
"UnitID": "PAL", <#-- à changer -->
|
|
||||||
"Value": 1 <#-- à changer -->
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
}<#sep>,</#sep>
|
}<#sep>,</#sep>
|
||||||
</#list>
|
</#list>
|
||||||
@ -97,12 +90,7 @@
|
|||||||
{
|
{
|
||||||
"ActorID": "${RFXtoRPprefixDepot(carrier_apt.physical_depot?json_string)}",
|
"ActorID": "${RFXtoRPprefixDepot(carrier_apt.physical_depot?json_string)}",
|
||||||
"ProjectID": "${projectRP}",
|
"ProjectID": "${projectRP}",
|
||||||
"Quantities": [
|
<#include "RFXtoRP_HsrCarrierApt_Quantities.ftl">
|
||||||
{
|
|
||||||
"UnitID": "PAL", <#-- à changer -->
|
|
||||||
"Value": 1 <#-- à changer -->
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Reason": "no commission", <#-- à changer -->
|
"Reason": "no commission", <#-- à changer -->
|
||||||
|
|||||||
@ -51,12 +51,7 @@
|
|||||||
"ActorID": "${RFXtoRPprefixDepot(carrier_apt.physical_depot?json_string)}",
|
"ActorID": "${RFXtoRPprefixDepot(carrier_apt.physical_depot?json_string)}",
|
||||||
"OrderID": "${physical_receipt.physical_receipt_reference?json_string}",
|
"OrderID": "${physical_receipt.physical_receipt_reference?json_string}",
|
||||||
"ProjectID": "${projectRP}",
|
"ProjectID": "${projectRP}",
|
||||||
"Quantities": [
|
<#include "RFXtoRP_HsrCarrierApt_Quantities.ftl">
|
||||||
{
|
|
||||||
"UnitID": "PAL", <#-- à changer -->
|
|
||||||
"Value": 1 <#-- à changer -->
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}<#sep>,</#sep>
|
}<#sep>,</#sep>
|
||||||
</#list>
|
</#list>
|
||||||
],
|
],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user