You've already forked reflex-wms-connector
modifs
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<#include "ReflexUtils.ftl">
|
||||
<#include "HfRpConfig.ftl">
|
||||
<#include "ActorPrefix.ftl">
|
||||
[
|
||||
<#list reflexStockPicturesInterface.detailled_stock_list as stock>
|
||||
{
|
||||
@@ -7,18 +8,10 @@
|
||||
"ProjectID": "${projectRP}"
|
||||
},
|
||||
"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>
|
||||
"ActorID": "${stock.physical_depot_code}",
|
||||
<#else>
|
||||
"ActorID": "${depot}${stock.physical_depot_code}",
|
||||
</#if>
|
||||
|
||||
<#assign generation_date = RfxDateTimetoUTC(stock.generation_date,time_zone_offset_rfx) />
|
||||
@@ -27,20 +20,11 @@
|
||||
"DateTime": "${generation_date}",
|
||||
"AuthorTimeZone": "${time_zone_rfx}"
|
||||
},
|
||||
<#if text_language_rfx="fr">
|
||||
<#if uniqueness?? && uniqueness!="" >
|
||||
"ID": "${stock.physical_depot_code}-${idSnapshot}",
|
||||
<#else>
|
||||
"ID": "DEP${stock.physical_depot_code}-${idSnapshot}",
|
||||
"ID": "${depot}${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>
|
||||
|
||||
"Quantity":
|
||||
{
|
||||
"Value" : "${stock.quantity_in_base_lvs!"0"}",
|
||||
|
||||
Reference in New Issue
Block a user