Index: AX/Uitgaand/PM/VrijgegProduct/impl/VrijgegProductDixfConverter.cls.xml =================================================================== diff -u -r47212 -r47232 --- AX/Uitgaand/PM/VrijgegProduct/impl/VrijgegProductDixfConverter.cls.xml (.../VrijgegProductDixfConverter.cls.xml) (revision 47212) +++ AX/Uitgaand/PM/VrijgegProduct/impl/VrijgegProductDixfConverter.cls.xml (.../VrijgegProductDixfConverter.cls.xml) (revision 47232) @@ -227,6 +227,9 @@ Set ..AxProduct.ADULogsteuer = $$$If(Product.Basis.ScanType = "L","1","0") Set ..AxProduct.ADUCountableOrDivisible = ..BepaalADUCountableOrDivisible(Product) Set ..AxProduct.ADUPriceCodexGroupId = ..Utils.ConvertADUPriceCodexGroupId(Product.Basis.ProductNr) + Set ..AxProduct.InventItemSalesDeliveryDateControlType = $$$If(..DefaultOrderType="Aankooporder","ATP + uitgiftemarge","CTP") + Set ..InventItemSalesDeliveryDateControlType = ..AxProduct.InventItemSalesDeliveryDateControlType + Set ..AxProduct.InventItemSalesSetupOverride = $$$If(..InventItemSalesDeliveryDateControlType="ATP + uitgiftemarge","Ja","Nee") ]]> @@ -256,10 +259,7 @@ Set ..AxProduct.PmfProductType = ..BepaalPmfProductTypeVH(Product) Set ..AxProduct.ReqGroupId = ..Utils.ConvertReqGroupId(##class(AXimpl.InterneFirmaInitialen).VanHoeckeNv(),Product) Set ..AxProduct.InventItemPurchSetupCalendarDays = ..BepaalInventItemPurchSetupCalendarDaysVH(Product) - Set ..AxProduct.InventItemSalesDeliveryDateControlType = ..BepaalInventItemSalesDeliveryDateControlTypeVH(Product) - Set ..InventItemSalesDeliveryDateControlType = ..AxProduct.InventItemSalesDeliveryDateControlType - Set ..AxProduct.InventItemSalesSetupATPTimeFence = ..BepaalInventItemSalesSetupATPTimeFenceVH(Product) - Set ..AxProduct.InventItemSalesSetupOverride = ..BepaalInventItemSalesSetupOverride(Product) // Heeft ..InventItemSalesDeliveryDateControlType nodig + Set ..AxProduct.InventItemSalesSetupATPTimeFence = ..BepaalInventItemSalesSetupATPTimeFenceVH(Product) // Heeft ..InventItemSalesDeliveryDateControlType nodig! Set ..AxProduct.PdsVendorCheckItem = ..BepaalPdsVendorCheckItemVH(Product) ]]> @@ -290,10 +290,7 @@ Set ..AxProduct.PmfProductType = ..BepaalPmfProductTypeHLX(Product) Set ..AxProduct.ReqGroupId = ..Utils.ConvertReqGroupId(##class(AXimpl.InterneFirmaInitialen).HaluxNv(),Product) Set ..AxProduct.InventItemPurchSetupCalendarDays = "1" - Set ..AxProduct.InventItemSalesDeliveryDateControlType = ..BepaalInventItemSalesDeliveryDateControlTypeHLX(Product) - Set ..InventItemSalesDeliveryDateControlType = ..AxProduct.InventItemSalesDeliveryDateControlType - Set ..AxProduct.InventItemSalesSetupATPTimeFence = ..BepaalInventItemSalesSetupATPTimeFenceHLX(Product) - Set ..AxProduct.InventItemSalesSetupOverride = ..BepaalInventItemSalesSetupOverride(Product) // Heeft ..InventItemSalesDeliveryDateControlType nodig + Set ..AxProduct.InventItemSalesSetupATPTimeFence = ..BepaalInventItemSalesSetupATPTimeFenceHLX(Product) // Heeft ..InventItemSalesDeliveryDateControlType nodig! Set ..AxProduct.PdsVendorCheckItem = ..BepaalPdsVendorCheckItemHLX(Product) ]]> @@ -658,40 +655,6 @@ ]]> - -Product:AX.Uitgaand.PM.Product.impl.Product -1 -%String - - - - -Product:AX.Uitgaand.PM.Product.impl.Product -1 -%String - - - Product:AX.Uitgaand.PM.Product.impl.Product 1 @@ -700,7 +663,7 @@ #dim InventItemSalesSetupATPTimeFenceVH As %String If (..InventItemSalesDeliveryDateControlType = "ATP + uitgiftemarge"){ - Set InventItemSalesSetupATPTimeFenceVH = ..InventItemPurchSetupLeadTimeVH + 2 + Set InventItemSalesSetupATPTimeFenceVH = ..InventItemPurchSetupLeadTimeVH - 1 } Else { Set InventItemSalesSetupATPTimeFenceVH = "" @@ -717,7 +680,7 @@ #dim InventItemSalesSetupATPTimeFenceHLX As %String If (..InventItemSalesDeliveryDateControlType = "ATP + uitgiftemarge"){ - Set InventItemSalesSetupATPTimeFenceHLX = ..InventItemPurchSetupLeadTimeHLX + 2 + Set InventItemSalesSetupATPTimeFenceHLX = ..InventItemPurchSetupLeadTimeHLX - 1 } Else { Set InventItemSalesSetupATPTimeFenceHLX = "" @@ -726,24 +689,6 @@ ]]> - -Product:AX.Uitgaand.PM.Product.impl.Product -1 -%String - - - Product:AX.Uitgaand.PM.Product.impl.Product 1 Index: vhUnitTest/AX/Uitgaand/PM/VrijgegProduct/impl/VrijgegProductDixfConverter/Test.cls.xml =================================================================== diff -u -r47212 -r47232 --- vhUnitTest/AX/Uitgaand/PM/VrijgegProduct/impl/VrijgegProductDixfConverter/Test.cls.xml (.../Test.cls.xml) (revision 47212) +++ vhUnitTest/AX/Uitgaand/PM/VrijgegProduct/impl/VrijgegProductDixfConverter/Test.cls.xml (.../Test.cls.xml) (revision 47232) @@ -1051,7 +1051,7 @@ ]]> - + + + + +