B1 Validation System

Previous  Next |  Direct link to this topic

The B1 Validation System allows you to create new functionality for the SAP Business One using the B1 Validation Configuration to determine when the functionality should happen and the Universal Functions to say what kind of functionality should happen.

elearning.gif

Online E-Learning is also available for this module. Click here to watch it | Online Help Center

NB: THE B1 VALIDATION SYSTEM IS INTENDED FOR SUPER-USERS CONSULTANTS AND DEVELOPERS AND IT REQUIRES IN-DEPT. KNOWLEDGE IN THE STRUCTURE OF SAP BUSINESS ONE.

Knowledge in the following areas is recommended:

-         SAP Business One Form Types and System Information option

-         SAP Business One Formatted Searches

-         SAP Business One Item Types

-         SQL

-         Simple development-knowledge

-         An understanding of events

-         B1 Validation Configuration

 

Online: Tips and trick on working with B1 Validation System and how to avoid issues

Right-click configuration™

To quickly get going go to the window you wish to add a trigger to, right-click the object you will interact with and choose Add B1 Validation configuration. All depending of the option you will presented with different triggers and option to manipulate existing configurations.

image091Sample 1: Validate entered data when leaving the field

image092

image093Sample 2: React to choosing a value in a combo box

image095

Sample 3: React to buttons being clicked (Before or after SAP execute the button functionality)

image096

 

Choosing an option will send you to the B1 Validation Configuration (You can also manually go there via Administration > Add-ons > B1 Usability Package > Module Configuration > B1 Validation configuration.)

In order to use your Universal Function, you need to set the trigger (already defined for you via the right-click configuration) and a condition for it.

image097

The configuration window can be divided into 4 parts.

Part

Description

Header data + Active and Import/Export

Field

Description

Number

This is the auto generated number of the configuration

Name

This is your name for the configuration for reference

Sort

The sort-field is used to determine which validation configurations should be used first in case two or more configurations have the same trigger. The configuration with the lowest sort-value will be the configuration that will be executed first.

Users

(Empty = All)

Here you have the option to make the Configuration user-specific. All you need to do is to enter the wanted users (their user codes) separated by “;” (Depending on the user-setting:

        Include users = All users entered will use the configuration

        Exclude users = All users entered will not use the configuration

 

If you do not enter anything, all users will use the configuration

 

Samples:

3.       Entered: manager;user1;user2 (Include users option)

o   The 3 users with user code “manager”, “user1” and “user2“ will use the configuration.

4.       Entered: user3 (Exclude users option)

o   All users except user with user code “user3” will use the configuration.

Active

This checkbox determines if the current configuration is active. If unchecked, the add-on will not use it.

Import

This allows you to import configurations (Either one at the time or as a batch). See more info in under “Configuring the Add-on > Shared functionality > Import“

Export

This allows you to export configurations to XML (Either one at the time or as a batch). See more info in under “Configuring the Add-on > Shared functionality > Export“

Trigger

This is the trigger part of the configuration, which defines what user-interaction should happen to trigger the configuration. See  details Here.

Condition

This is the condition part of the configuration, where you via one of three conditions methods can decide what conditions should be for the window of the trigger before executing the Universal Function. See  details Here.

Comments

A simple comments field with a description about the configuration