You've already forked reflex-wms-connector
modifs uniqueness
This commit is contained in:
@@ -1,27 +1,53 @@
|
||||
<#include "ReflexUtils.ftl">
|
||||
<#include "HfRpConfig.ftl">
|
||||
|
||||
[
|
||||
<#list reflexStockPicturesInterface.detailled_stock_list as stock>
|
||||
{
|
||||
"Header": {
|
||||
"ProjectID": "${projectRP}"
|
||||
"ProjectID": "${projectRP}"
|
||||
},
|
||||
"ID": {
|
||||
"RefID": "${stock.physical_depot_code}"
|
||||
},
|
||||
"Payload": {
|
||||
<#if text_language_rfx="fr">
|
||||
<#if uniqueness?? && uniqueness!="" >
|
||||
"ActorID": "${stock.physical_depot_code}"
|
||||
<#else>
|
||||
"ActorID": "DEP${stock.physical_depot_code}"
|
||||
</#if>
|
||||
<#else>
|
||||
<#if uniqueness?? && uniqueness!="" >
|
||||
"ActorID": "${stock.physical_depot_code}"
|
||||
<#else>
|
||||
"ActorID": "DEP${stock.physical_depot_code}"
|
||||
</#if>
|
||||
</#if>
|
||||
},
|
||||
"Payload": {
|
||||
<#assign generation_date = RfxDateTimetoUTC(stock.generation_date,time_zone_offset_rfx) />
|
||||
"Snapshot": {
|
||||
"EndDateTime": {
|
||||
"DateTime": "${generation_date}",
|
||||
"AuthorTimeZone": "${time_zone_rfx}"
|
||||
},
|
||||
"DateTime": "${generation_date}",
|
||||
"AuthorTimeZone": "${time_zone_rfx}"
|
||||
},
|
||||
<#if text_language_rfx="fr">
|
||||
<#if uniqueness?? && uniqueness!="" >
|
||||
"ID": "${stock.physical_depot_code}-${idSnapshot}",
|
||||
"MessageNb": ${sum_elt}
|
||||
<#else>
|
||||
"ID": "DEP${stock.physical_depot_code}-${idSnapshot}",
|
||||
</#if>
|
||||
<#else>
|
||||
<#if uniqueness?? && uniqueness!="" >
|
||||
"ID": "${stock.physical_depot_code}-${idSnapshot}",
|
||||
<#else>
|
||||
"ID": "DEP${stock.physical_depot_code}-${idSnapshot}",
|
||||
</#if>
|
||||
</#if>
|
||||
"MessageNb": ${sum_elt}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
<#break>
|
||||
</#list>
|
||||
</#list>
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user