DeliveryRequirements
The DeliveryRequirements business rule is attached to a Policy level transaction/activity. This rule defines fulfillment criteria for Activity level Requirements create by the GeneratePendingRequirements rule that is also attached to the same transaction/activity. The fulfillment criteria are the Requirement's date values. When the criteria are satisfied, the Requirement is considered complete and the Activity to which it is attached can complete without Requirement interruption.
Generated Activity level Requirements prevent an Activity from ending in an Active status until they are fulfilled by the definition of the DeliveryRequirements attached business rule. GeneratePendingRequirements and DeliveryRequirements business rules must be attached to the same transaction/activity to behave is a coordinated pattern that prevents Activity processing upon Requirement generation and completes Activity processing upon fulfillment of all Requirements.
The DeliveryRequirements rule should be configured in the TransactionBusinessRulePacket business rule.
| Element | Attributes | Parent Element | Description | Element / Attribute Values |
|---|---|---|---|---|
| <DeliveryRequirements> | This is the root element for the rule. | |||
| PROCESSONCOMPLETE | <DeliveryRequirements> |
Optional: This attribute defines when the Activity's EffectiveDate is altered from its user entered date value. The attribute, NEWACTIVITYDATE, is optional for either value of this attribute. |
|
|
| NEWACTIVITYDATE | <DeliveryRequirements> |
Optional: This attribute provides the Activity with a new EffectiveDate value once all requirements are complete. The attribute's date value cannot be earlier than the user's entered Activity EffectiveDate. When this attribute is configured, PROCESSONCOMPLETE attribute must have a value of "Yes" and NEWACTIVITYDATE value overrides any date determined by the PROCESSONCOMPLETE attribute. |
|
|
| <RequiredDates> | <DeliveryRequirements> |
Required: This element's structure defines all of the date fields from the Requirement that are required to determine Requirement fulfillment that allows the associated Activity to process to Active status. |
||
| TYPE | <RequiredDates> |
Required: This attribute defines the relationship that multiple dates have to one another. Either all dates define fulfillment or any one of the dates define fulfillment. |
|
|
| <Required> | <RequiredDates> |
Required, Repeatable: This element identifies an individual Requirement date to be tested for Activity Requirement fulfillment. This element is repeated to define fulfillment with multiple dates. The TYPE attribute defines the relationship between multiple dates. |
|
XML Schema
<DeliveryRequirements PROCESSONCOMPLETE="[No | Yes]" NEWACTIVITYDATE="[variable | activity field]">
<RequiredDates TYPE="[AND | OR]">
<RequiredDate>[RequiredDate | DueDate | ReceivedDate | WaivedDate | OpenDate | CloseDate]</RequiredDate>
<RequiredDate>...</RequiredDate>
</RequiredDates>
</DeliveryRequirements>
XML Example
<DeliveryRequirements PROCESSONCOMPLETE="Yes">
<RequiredDates TYPE="AND">
<RequiredDate>OpenDate</RequiredDate>
<RequiredDate>CloseDate</RequiredDate>
</RequiredDates>
</DeliveryRequirements>