Technical task for automating the deduction of product stock when creating a deferred receipt
The task concerns the proper setup of an Excel table. There is a tab with products and their stock and a tab with customer orders for these product groups. The following task needs to be implemented:
⦁ In the table with customers, it is necessary to implement a column where, when creating a receipt, the manager can select a product, and upon selecting this product, it will be deducted in the tab or table with stock.
⦁ If all stock of the product is deducted and if the stock is equal to zero, it is necessary that when selecting this product, an error message is displayed stating that the product cannot be selected.
⦁ Additionally, it is necessary that a shipping document from Nova Poshta can be attached to the selected product. At the moment of selecting the product and the shipping document, the product will be automatically deducted, and if the parcel is not picked up, the product will be returned to stock in the warehouse.
⦁ It is desirable to automate all processes related to deduction and selection of the shipping document from Nova Poshta as much as possible. For example, so that the shipping document can be pulled up by the customer's phone number or last name.