Uploaded image for project: 'In-Commerce'
  1. In-Commerce
  2. MINC-115

Store physical quantity in stock in Products.QtyInStock field

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: New
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Data Management
    • Labels:
      None

      Description

      Plan:

      1. store physical quantity in stock in QtyInStock field
      2. create migration SQL that will add up value from QtyReserved to QtyInStock field
      3. introduce QtyAvailable virtual/calculated field using QtyInStock - QtyReserved formula
      4. in places, where QtyInStock is used use QtyAvailable
      5. find places where QtyInStock field is updated and make it so, that it don't

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                alex Alex
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: