Prise en compte de l'API LVRemoved
This commit is contained in:
parent
8cdcafd70e
commit
0f6dcfb497
@ -18,38 +18,27 @@
|
|||||||
<#assign lv = JsonUtil.jsonToMap(dataRfx)>
|
<#assign lv = JsonUtil.jsonToMap(dataRfx)>
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
<#assign apiReflexPlatformID = ApiReflexPlatformID.LVUpdated>
|
<#assign apiReflexPlatformID = ApiReflexPlatformID.ItemLogisticVariantUpdated>
|
||||||
"apiReflexPlatformID" : "${apiReflexPlatformID}",
|
"apiReflexPlatformID" : "${apiReflexPlatformID}",
|
||||||
"datas" :
|
"datas" :
|
||||||
<#include "RFXtoRP_HsaItmLv_LVUpdated.ftl">
|
<#include "RFXtoRP_HsaItmLv_LogisticVariantUpdated.ftl">
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
<#break>
|
<#break>
|
||||||
|
|
||||||
<#case "D">
|
<#case "D">
|
||||||
<#-- *********************************************** Action = DELETE ******************** -->
|
<#-- *********************************************** Action = DELETE ******************** -->
|
||||||
<#stop "LV deletion not supported" >
|
|
||||||
|
|
||||||
<#-- supression LV a décommenter quand API ajouté au connecteur
|
|
||||||
|
|
||||||
|
|
||||||
<#assign dataRfx = JsonUtil.decodeBase64(cloudEventMsg.data) />
|
<#assign dataRfx = JsonUtil.decodeBase64(cloudEventMsg.data) />
|
||||||
<#assign item = JsonUtil.jsonToMap(dataRfx)>
|
<#assign item = JsonUtil.jsonToMap(dataRfx)>
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
<#assign apiReflexPlatformID = ApiReflexPlatformID.LVDeleted>
|
<#assign apiReflexPlatformID = ApiReflexPlatformID.ItemLogisticVariantRemoved>
|
||||||
"apiReflexPlatformID" : "${apiReflexPlatformID}",
|
"apiReflexPlatformID" : "${apiReflexPlatformID}",
|
||||||
"datas" :
|
"datas" :
|
||||||
<#include "RFXtoRP_HsaItmLv_LVRemoved.ftl">
|
<#include "RFXtoRP_HsaItmLv_LogisticVariantRemoved.ftl">
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
<#break>
|
||||||
|
|
||||||
-->
|
|
||||||
|
|
||||||
<#break>
|
|
||||||
|
|
||||||
|
|
||||||
<#default>
|
<#default>
|
||||||
<#stop "event not supported">
|
<#stop "event not supported">
|
||||||
</#switch>
|
</#switch>
|
||||||
|
|||||||
@ -24,7 +24,7 @@
|
|||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
<#-- LV Metadata inclusion -->
|
<#-- LV Metadata inclusion -->
|
||||||
<#include "RFXtoRP_HsaItmLv_LVUpdated_Metadata.ftl">
|
<#include "RFXtoRP_HsaItmLv_LogisticVariantUpdated_Metadata.ftl">
|
||||||
|
|
||||||
"IsBaseLogisticVariant": ${lv.base_lv},
|
"IsBaseLogisticVariant": ${lv.base_lv},
|
||||||
|
|
||||||
@ -1,4 +1,4 @@
|
|||||||
<#-- use protobuf of class HsaItmLv to find Reflex Wms fields names -->
|
<#-- use protobuf of class HsaItmLv to find Reflex Wms fields names -->
|
||||||
|
|
||||||
|
|
||||||
"MetaData": [ ],
|
"MetaData": [ ],
|
||||||
Loading…
x
Reference in New Issue
Block a user