1. Juni 2015 16:21
IF glSKU.GET("Transfer-from Code","Item No.","Variant Code") THEN BEGIN
glUnitCost := glSKU."Unit Cost";
glInventory := glSKU.Inventory;
END ELSE BEGIN
glUnitCost := 0;
glInventory := 0;
END;
IF glSKU.GET("Transfer-to Code","Item No.","Variant Code") THEN BEGIN
glUnitCostTransferToCode := glSKU."Unit Cost";
glInventoryTransferToCode := glSKU.Inventory;
END ELSE BEGIN
glUnitCostTransferToCode := 0;
glInventoryTransferToCode := 0;
END;
1. Juni 2015 16:29
1. Juni 2015 16:37
1. Juni 2015 16:53
1. Juni 2015 17:01
IF glSKU.GET("Transfer-from Code","Item No.","Variant Code") THEN BEGIN
glUnitCost := glSKU."Unit Cost";
// NEU HINZUGEKOMMEN
glSKU.CALCFIELDS(Inventory);
glInventory := glSKU.Inventory;
END ELSE BEGIN
glUnitCost := 0;
glInventory := 0;
END;
IF glSKU2.GET("Transfer-to Code","Item No.","Variant Code") THEN BEGIN
glUnitCostTransferToCode := glSKU2."Unit Cost";
// NEU HINZUGEKOMMEN
glSKU2.CALCFIELDS(Inventory);
glInventoryTransferToCode := glSKU2.Inventory;
END ELSE BEGIN
glUnitCostTransferToCode := 0;
glInventoryTransferToCode := 0;
END;