QAD 2017 Enterprise Edition > User Guides > Sales > Available to Promise > Using ATP Processing Features > Determining ATP with Imported Purchase Orders
  
Determining ATP with Imported Purchase Orders
When you use EDI eCommerce to import your customer’s electronic data interchange (EDI) purchase order with Document Import (35.1), the system automatically creates a sales order based on purchase order and master data.
See QAD EDI eCommerce User Guide.
When ATP Enforcement is Yes in Sales Order Control, the sales order creation process uses the following settings to determine how the order line is created:
When the customer’s record in Trading Partner Parameter Maintenance (35.13.10) has Load SO As Confirmed set to No, ATP processing does not takes place. The sales order is created as unconfirmed, and the system checks for ATP during confirmation.
When that field is Yes, the system creates the sales order and confirms lines based on the ATP enforcement level for the item:
None: No ATP processing takes place. The order line is confirmed.
Warning: The order line is confirmed regardless of whether adequate ATP is found. The system displays a warning message on the output report.
Error: The order line is not confirmed. The system displays an error message on the output report.