R30026 Store - Add Default Responsible Party

Code R30026
Entity Logistics.Inventory.Stores Entity
Name AddDefaultResponsibleParty
Attribute ResponsibleParty
Layer Back-End
Events Commit
Priority Normal
Modify YES
Applicable Legislations ALL // no condition needed
Action if (ResponsibleParty != NULL) && (Child.ResponsibleParties [ResponsibleParty = currentStore.ResponsibleParty].Count() == 0)

, create new StoreResponsibleParty {Store = currentStore, ResponsibleParty = currentStore.ResponsibleParty}
Description The current rule creates a new record in Store_ResponsibleParties table, when the value of the field 'Responsible Party' in the in the Store's definition is added/changed and such record is not yet created.
Message -
Version Introduced: 2019.1

Updated: -
Revocable NO

* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.