Included since WorkWithPlus 14.
Release Note:Global Event Blocks
Global Events And Subs node has the following properties:
Name of Event/Sub Block
If the code is included only once per object, or if it is included for each attribute.
We have two options:
- Once
- Once per matching attribute
Include or not include the Events & Subs node in the instance if it is not present
We have two options:
Illustrative image, it does not necessarily have to be in Default List, it is for all objects where Event Blocks or Subs can be added.
Here we indicate the type of block that will be created or updated, if it is Event or Sub.
We have two options:
Indicates the name of the Event or Sub, if the name matches an existing one, it will add the block inside, if not, it will create it.
We have two options by default:
Include when att matches(visible when property 'Include = Once per matching attribute'):
True or False if needs match with a nullable attribute.
True or False if needs match with a Foreign Key attribute.
True or False if needs match with a Primary Key attribute.
True or False if needs match with a Inferred attribute.
True or False if needs match with a Formula attribute.
True or False if needs match with a First Level attribute.
True or False if needs match with a Visible attribute.
Regular expression that needs be fulfilled.
Code that will be included in the objects.
The following tags can be included:
- Only in objects based on transactions
- <TRN_NAME>
- <TRN_ DESCRIPTION>
- <ATT_NAME >
- <ATT_ DESCRIPTION>
- <PK_LIST>
- <NULLVALUE_PK_LIST>
- <PK_VAR_LIST>
- Only in transaction objects
- <FIRST_EDITABLE_ATTRIBUTE>
- <FIRST_EDITABLE_ATTRIBUTE_NOT_PK>
Position within the Event or Sub.
We have two options:
Set the default value for the properties below.
There are two possible values:
If 'Transaction templates' has <default> as value, it will take the value set in 'Default for Transaction and Web Panel templates'.
Available values:
- <Default>
- True
- False
Applies to the following properties:
|