+----------------------+----------------------------------------------------------------------------------------------+ | Code | 33507-9 | +----------------------+----------------------------------------------------------------------------------------------+ | Entity | @Crm.Sales.SalesOrders | +----------------------+----------------------------------------------------------------------------------------------+ | Name | SetDistributionChannel | +----------------------+----------------------------------------------------------------------------------------------+ | Attribute | DistributionChannel | +----------------------+----------------------------------------------------------------------------------------------+ | Layer | Front-End | +----------------------+----------------------------------------------------------------------------------------------+ | Events | AttributeChanged(ShipToCustomer, Customer, DistributionChannel) | +----------------------+----------------------------------------------------------------------------------------------+ | Priority | Early | +----------------------+----------------------------------------------------------------------------------------------+ | Modify | YES | +----------------------+----------------------------------------------------------------------------------------------+ | Applicable | ALL // no condition needed | | Legislations | | +----------------------+----------------------------------------------------------------------------------------------+ | Action | ShipToCustomer.DefaultDistributionChannel.IfNullThen(Customer.DefaultDistributionChannel). | | | IfNullThen(DistributionChannel) | +----------------------+----------------------------------------------------------------------------------------------+ | Description | | +----------------------+----------------------------------------------------------------------------------------------+ | Message | | +----------------------+----------------------------------------------------------------------------------------------+ | Version | | +----------------------+----------------------------------------------------------------------------------------------+ | Revocable | YES | +----------------------+----------------------------------------------------------------------------------------------+
* This is auto generated code. Don't change it.