Previous Topic

Book Contents

Book Index

Next Topic

PlanItems from Contract

This simple example mapping could be used to create Plan Items from Contract Payment Schedules.

Help Image

Property

Value

Meaning

Type of mapping

Create

New plan item is created from each source Payschedule

Source BOType

Payschedule

Payment schedule is used as a source object

Target BOType

Planpaysched

New Plan Item is result of process

Source condition

! (isEmpty(contractitem.contractitemId))

Only Payschedules linked to Contract Item are taken into account

Commit on count

1000

Commit will be performed after 1000 processed payschedules.

Because type of mapping is Create, there are no Bind Attributes.

Attributes:

Target Attribute

Properties

Meaning

Budget1

Relation costcenter.costcenterNo == budget1.costcenter.costcenterNo

Budget account to be assigned to Planpaysched is found by name of Cost Center assigned to the Payschedule.

Requiredquantity

contractitem.requiredquantity

Plain attribute requiredquantity is calculated as Payschedule.contractiitem.requiredquantity

Netunitprice

Netprice

Plain attribute netunitprice is calculated as netprice

Plan.name

Default value specified by condition plan.name like 'Contracted2'

Mandatory relation plan is constantly filled by condition.

See Also

Examples

Costcenters from CCM_ObjMap