FMDuck Posted June 12, 2008 Posted June 12, 2008 I hate to say it but I think I asked this one before but can't find my post or where I used it I have an inventory solution where I need to round up from selling units to an increment of buying units. For example: Paint Cans sellingUnit is by the can (1 each) buyingUnit is by the case (1 case) = 12 each buyingQuantity is by the pallet (105 cases) = 1260 each So: when I need 1 each, I need to purchase 105 cases when I need 1261 each, I need to purchase 210 cases, etc. Thanks in advance for any help.
comment Posted June 12, 2008 Posted June 12, 2008 Sounds familiar - did you perhaps mean this one: http://www.fmforums.com/forum/showtopic.php?tid/191810/
FMDuck Posted June 14, 2008 Author Posted June 14, 2008 Thanks Comment - that was it. (It looks like I used my wifes login ? for the original post ?) For the record, the needs had changed since then. Here's my resulting calc: Let( [ basisA = Case( INVSTOCK::cQtyIsSufficient4Purchase ; ( INVSTOCK::MinimumStock + INVSTOCK::cQtyToPurchase4Customer ) / INVSTOCK::ConversionFactor ) ; basisB = Ceiling ( basisA / INVSTOCK::MinimumBuy ) ] ; basisB * MinimumBuy )
Recommended Posts
This topic is 6066 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now