Trying to write basic mathematical formula for Inventory

I need a sum so that the display shows the Remaining Stock

Fields are currently numeric for "Number" and "Supplied"

eg:  Number = 50, Supplied = 3, so Remaining Stock = 47

I had:  Remaining Stock = Number - Supplied



6 replies

    • Nick
    • 4 yrs ago
    • Reported - view


    the normal way to count Inventory Items is:


    Remaining Stock = UnitsInStock + sum(PurchaseInvoice.Supplied) - sum(SalesInvoice.Sold) 


    Please give us more details to help you out.



    • Beswick_Life_Celebration
    • 4 yrs ago
    • Reported - view

    That's too complicated.  I ended up just using a field with Number-Supplied!

    • Birger_H
    • 4 yrs ago
    • Reported - view

    it has to be:

    Remaining Stock := Number - Supplied


    • Robert_N
    • 3 yrs ago
    • Reported - view

    What I have is I'm tracking starting inventory, added inventory, transfered inventory, sold inventory, and end of day inventory. My problem is that i want to automatically sort items whether or not they are in the store. I'm currently using this:

    if 'Starting Qty' = 0 then "No" else "Yes" end

    I need to find a way to have it say Yes when the Add field has a number in it. Can anyone help me with this?

    • TIM Systems
    • Luis_Alarcon
    • 3 yrs ago
    • Reported - view

    How can I keep track of inventory in a manufacturing process or a restaurant?

    • Customer Service Ninox
    • Maria_pasini
    • 3 yrs ago
    • Reported - view

    Dear Luis,
    You are welcome to try out our Inventory Template on Ninox https://ninox.com/en/templates/inventory
    Hopefully that will be usefull to you!

Content aside

  • 3 yrs agoLast active
  • 6Replies
  • 2418Views