Orders to be downloaded
Tables - orders, oitems, customers
If customer doesn't exist then new record created, if does exist then is updated.
New order and oitems created.
Download should be on the following criteria and available separately. Also needed would be the ability to limit the last order number downloaded, so that if a customer was currently paying and they hadn’t completed yet, their order wasn’t marked as failed.
• If a payment has been confirmed - when these are downloaded the oprocessed value would be changed to True
• If no payment is confirmed - when these are downloaded the oprocessed value would be changed to True and the ocardtype value changed to Fail
After orders are processed the system will determine what products will need to be hidden. This will generate a query which needs to be sent to MSSQL which will hide products and/or product variants by making changes in the products table.
When an order has been dispatched the tracking number is usually emailed to the customer via the VP tracking we need to determine if we can do this via the access database and for it to be uploaded to MSSQL.
There are various tracking messages we send, depending on how an order is sent, if it is an exchange, to follow etc.
The ostatus of the order needs to be amended on shipment.
After delivery from suppliers some items need to be displayed again. As with when products are hidden after order processing a query would be created which would change the hide field for products that can now be shown again.