When adding a sales order, the system performs a number of verifications before saving it. It checks whether the order is ready for releases of order, credit and inventory, up to the generation of outbound document.
When the parameter MV_CNPEDVE is enabled (set to .T.), you can add an order and associate it with a contract, making all measurement process automatic, through sales order data. However, you must have a sales contract registered without authority control, and this contract must be effective. For that purpose,select the field Customer and press F9. Follow procedures described for the field.
You can check the order status through option Caption, available in the routine window.
...
Procedures
Adding a sales order:
Note: A Discount Value can be defined for products through the Discount Rules routine. The value defined is applied to the Sales Order, and it is viewed in the order footer. |
...
See Also
...