Business rule expression property
Creating a business rule
XSM User's Guide
You can define several types of business rules in an XML model:
Type
Description
Constraint
Additional check constraint
on a value
Definition
Properties of an element in
the XML model
Fact
Certainty, existence in the
XML model
Formula
Calculation used in the XML
model
Requirement
Functional specification in the
XML model
Validation
Constraint on a value in the
XML model
The Expression page of a business property sheet allows you to complete a
rule by adding a technical expression.
There are two types of expression for a business rule:
Server that can be generated to a database
Client that is used mainly for documentation purposes
Expressions are mainly used in a CDM or a PDM.
You can create a business rule in different ways:
From the Browser tree view
From the List of Business Rules
Chapter 2 Building an XML model
Example
The start date should be
inferior to the end date of a
project
A customer is a person
identified by a name and an
address
A client may place one or
more orders
The total order is the sum of
all the order line costs
The model is designed so that
total losses do not exceed
10% of total sales
The sum of all orders for a
client must not be greater than
the client's allowance
133
Need help?
Do you have a question about the PowerDesigner XML and is the answer not in the manual?
Questions and answers