Skip to content
Pulkit Singhal edited this page Apr 1, 2015 · 1 revision
  • Q: For the generate-stock-order command, if I switch a product's supplier, am I still getting a history for that product? Or only the history for product with that supplier?
    • A: Yes the older history for that product should still end up being aggregated and used but only if the report is being run for the new supplier that you switched to. Long answer:
      • For the sake of knowing quantity-on-hand, all the products are downloaded and filtered to keep only the ones that belong to the store/outlet of interest AND belong to the supplier of interest.
      • It is that filtered product list that is used to pick data out of the "sales history" by productId.
      • So if the new supplier is whom the command is being run for, then the older history for that product should still end up being aggregated and used.
Clone this wiki locally