Index: AXdixf/Product/VoorraadInstellingen.cls.xml =================================================================== diff -u --- AXdixf/Product/VoorraadInstellingen.cls.xml (revision 0) +++ AXdixf/Product/VoorraadInstellingen.cls.xml (revision 41527) @@ -0,0 +1,201 @@ + + + +Prod.Product +TECH.DataTransferObject + + +%String +1 + + + +%Decimal +1 + + + +%Decimal + + + +%Decimal +1 + + + +%Decimal + + + +%Decimal + + + +%Decimal + + + +%Decimal +1 + + + +%Decimal + + + +%Decimal + + + +%Decimal +1 + + + +%Decimal +1 + + + +%String +1 + + + +PRNr:%String +%Status + + + + + +d ##class(AXdixf.Product.VoorraadInstellingen).test(3551) +1 +PRNr + + + + +..PalletAantal)&&(..PalletAantal>0) + { + Set ..BestelVeelvoud=..PalletAantal + Set ..BestelMinimum=..BerekendBestelQty + Set ..Calc=2 + } + Else + { + Set ..BestelMinimum=..BerekendBestelQty + Set ..Calc=3 + } + } + Else ; niet stock + { + Set ..VeiligheidsVoorraad=0 + Set ..Calc="N" + + } +]]> + + + + + + + +1 + + + + +Getal:%Decimal,MinBeduidendeCijfers:%Integer,AfrondenBeduidendeCijfers +MinBeduidendeCijfers) AfrondenBeduidendeCijfers=MinBeduidendeCijfers + Set Getal=+$J(Getal,0,0) + Set BeduidendeCijfers=$L(Getal) + If BeduidendeCijfers>MinBeduidendeCijfers Do + . Set Getal=..Afronding(Getal, BeduidendeCijfers-AfrondenBeduidendeCijfers) + Quit Getal +]]> + + + +Getal:%Decimal,Nauwkeurigheid:%Integer + + + + + + + + + + + + + +