Calculating the cost of inventory kits: Difference between revisions

From DataFlex Wiki
Jump to navigationJump to search
m
(New page: Below is the logic which can be used to calculate the cost of an inventory item (kit) which is made up of other inventory items. The cost of these kits will change when the parts used to m...)
 
Line 71: Line 71:
     1 tsp Ingredient G
     1 tsp Ingredient G


== Summary ==
So, by calling the GetPartCost of the main menu item, it will automatically traverse all kits to get to the root items and return their cost.
So, by calling the GetPartCost of the main menu item, it will automatically traverse all kits to get to the root items and return their cost.


Line 95: Line 96:
   GetPartCost Steak Fries
   GetPartCost Steak Fries
   GetPartCost Pickle Wedge
   GetPartCost Pickle Wedge
[[Category: Visual Dataflex]]
32

edits

Navigation menu