Account Managers must flag accounts that are to be moved or have been moved to distribution, the others that have not been moved need to be flagged as to be moved to eCommerce or have been moved to eCommerce.
To achieve this business needs we used two Picklist fields
- Move to Distribution : To be moved to Distribution , Already moved to Distribution or Not Applicable
- Move to eCommerce : To be moved to eCommerce, Already moved to eCommerce , Not Applicable
At the creation of the account, the fields are not required. the information is required as soon as the SAP creation is asked.
A validation rule control that the values of the both fields are correct :
| use case | Move to Distribution | Move to eCommerce |
|---|
| Direct account or Composite Material Account | Not Applicable | Not applicable |
| Account to move to Distribution | To be moved to Distribution | None |
| Account already moved to Distribution | Already moved to Distribution | None |
| Account to move to eCommerce | None | To be moved to eCommerce |
| Account already moved to eCommerce | None | Already moved to eCommerce |
other combinations are not allowed and a message "You need to indicate if your account must be managed within Distribution or eCommerce" is displayed.
The validation rules is applied if the (Account record type = Account creation record type and Create_SAP_Account__c = True) OR (Account record type = Sap Account record type)
(see IPB-49, SCME-3129 , SCME-3142)