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 apiReflexPlatformID = ApiReflexPlatformID.LVUpdated>
|
||||
<#assign apiReflexPlatformID = ApiReflexPlatformID.ItemLogisticVariantUpdated>
|
||||
"apiReflexPlatformID" : "${apiReflexPlatformID}",
|
||||
"datas" :
|
||||
<#include "RFXtoRP_HsaItmLv_LVUpdated.ftl">
|
||||
<#include "RFXtoRP_HsaItmLv_LogisticVariantUpdated.ftl">
|
||||
}
|
||||
]
|
||||
<#break>
|
||||
|
||||
<#case "D">
|
||||
<#-- *********************************************** Action = DELETE ******************** -->
|
||||
<#stop "LV deletion not supported" >
|
||||
|
||||
<#-- supression LV a décommenter quand API ajouté au connecteur
|
||||
|
||||
|
||||
<#assign dataRfx = JsonUtil.decodeBase64(cloudEventMsg.data) />
|
||||
<#assign item = JsonUtil.jsonToMap(dataRfx)>
|
||||
[
|
||||
{
|
||||
<#assign apiReflexPlatformID = ApiReflexPlatformID.LVDeleted>
|
||||
<#assign apiReflexPlatformID = ApiReflexPlatformID.ItemLogisticVariantRemoved>
|
||||
"apiReflexPlatformID" : "${apiReflexPlatformID}",
|
||||
"datas" :
|
||||
<#include "RFXtoRP_HsaItmLv_LVRemoved.ftl">
|
||||
<#include "RFXtoRP_HsaItmLv_LogisticVariantRemoved.ftl">
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
-->
|
||||
|
||||
<#break>
|
||||
|
||||
|
||||
<#break>
|
||||
<#default>
|
||||
<#stop "event not supported">
|
||||
</#switch>
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
</#if>
|
||||
|
||||
<#-- LV Metadata inclusion -->
|
||||
<#include "RFXtoRP_HsaItmLv_LVUpdated_Metadata.ftl">
|
||||
<#include "RFXtoRP_HsaItmLv_LogisticVariantUpdated_Metadata.ftl">
|
||||
|
||||
"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": [ ],
|
||||
Loading…
x
Reference in New Issue
Block a user