Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 6066 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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.

Posted

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



)

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.