EDI Customer Setup - Document type Validation profiles - Customer purchase order change
Users can access the form by navigating to EDI > Setup > Document types.
Validation profiles are groups of business validation rules that can be applied to a trading partner. They provide the ability to set variable tolerances on various different aspects of the documents business process. Once a validation profile is created it can be configured by adding validation rules to it and defining the error tolerance of the rule.
Once setup for each document type, the validation profile can be assigned to each incoming document on the Trading partner setup in EDI > Setup > Trading partners.
Note: The validation profiles FastTab is only displayed from Document types that have valid validation options
Validation instance | Validation rule | Description |
---|---|---|
Sales Order | Delivery Date | The delivery date should not be a historical date. Note: Delivery date control must be enabled |
Sales Order Line | Delivery Date | The delivery date should not be a historical date. Note: Delivery date control must be enabled |
Sales Order Line | Minimum/Maximum quantity | The sales line quantity should be devisable by the multiple specified on the Default/Site order settings table. |
Sales Order Line | Sales Price | The unit price should be checked using the standard D365 pricing rules. It must first convert the price to the standard method of input for that customer (CustTable.InclTax) , if the prices are slightly different it should check the tolerance before giving an error/warning. It should also check the field on the customer table Use customer price before updating the sales line. Example: Item X trade agreement price 10.25 Item Y trade agreement price 8.88 Customer has a Maximum negative price variance and Maximum positive price variance of 0.05 assigned on the Customer purchase order setting profile. Customer does not have their trade agreements entered including tax. Customer sends their EDI orders including tax. The setting use customer pricing is given Item X EDI file price (before converting) 11.26 (after conversion) 10.24 Item Y EDI file price (before converting) 9.70 (after conversion) 8.82 Document’s Error tolerance validation is set to Warning A warning is only given for Item Y because it is outside of the tolerance. The warning message should show the price before and after conversion plus the price AX finds. |
Sales Order Line | Sales Unit | It should first check that this unit of measurement actually exists, a second check should be the measurement on the inventory table module for sales |
The Validation profile can be assigned on the Incoming documents FastTab to document type Customer purchase order change for the Customer Trading partner at EDI > Setup > Trading partners.