This topic describes the attributes in the Orders entity that can be modified to change the behavior of the Order Entry system:
Attributes not listed here but which appear in the Orders entity are either not functional (but included for backwards compatibility purposes) or reserved for future use. |
ValidateShipToLocation: This attribute determines if Aptify checks the Ship To country against the Restricted Country list during order save validation to prevent shipping an order to a country on that list. If this attribute doesn't exist, is blank or is 0, no validation of the Ship To Location will occur. If the attribute exists and has a value of 1, true, yes or on, the system runs the spIsARestrictedCountry procedure for the Ship To Location. If the ShipToCountry matches a Restricted Country, the order save validation will fail. See About the Restricted Countries Form for more information about this attribute.
Method SetVisibilityForPurchaseOrderControls of OrderLayout: Procedure to enable Purchase order type of payment info fields like PO #, Terms, DueDate etc if AllowPOChanges is true on Orders Entity. this method is overridable and developer can change this method as per requirement. We have specific methods to enable/disable order controls for all types of order. For example, if a developer wants to enable Purchase Order Control for Shipped orders then they need to call SetVisibilityForPurchaseOrderControls method on SetVisibleControlsForShippedOrder. Function ValidateOrderCriteria of PaymentInfoObject: If a developer wants to bypass Payment information save validation for saved records then they can override this method and add custom logic. If this returns True along with existing criteria then validation will be bypassed. |