in the following blog post I would like to describe an issue, that we faced once in a project and for that we now have a good solution.
Scenario / Problem description:
When defining/adjusting the org-model you will maybe have one or more Org.-Units with the Legal Definition “Company” (see screenshot below).
You might not know that there is a customer created in the background. This can get a problem regarding mandatory-checks on the customer:
If you have a Validation-OnSave.absl-script for the customer-BO your validation will succeed for customers saved via QC / integration, if your mandatory-fields are filled. But the customer, that get’s created during the org.-model-set-up won’t have the mandatory-fields set. ==> You will receive an error during the creation of your Org.Unit (company)
This was pretty annoying, but now there is a solution for it!
We have a new indicator available on the Customer-BO called “ActsAsOrganisationalCentreIndicator”. If you need to have some mandatory logic on the customer-BO you now can exclude the above described customers from your check in your Validation-OnSave.absl of your Customer XBO.
Maybe this can help you once. 🙂