Skip to Content
Author's profile photo Tom Lennart Krupp

1502: Org.Centre as Company – Customer-Mandatory-Check-Issue – Workaround

Hi community,

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).

18-03-2015 15-45-15.png

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!

Solution:

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.

Example-Coding:

18-03-2015 15-54-50.png

Maybe this can help you once. 🙂

Best regards

Tom

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.