You are here: Business Rules > Attached Rules > CopyToWithholdingFields

CopyToWithholdingFields

Description

CopyToWithholdingFields loads the withholding fields from the database and updates them based on the values specified in the business rule. The <From> element identifies the math variable or field where a value is being obtained. The <To> element identifies the field that is being updated.

Only one set of withholdings can be updated by a rule.

CopyToWithholdingFields Element/Attribute Table
Element/Tag Definition Attribute Element/Attribute Value and Description
<CopyToWithholdingFields> Required opening and closing tag.

 

RELATEDGUID


 

 

 

 

TYPECODE

 

 Required;

String;

Holds the related GUID of the withholding record. Ex: PolicyGUID or PlanGUID.

 

Required;

Code value (AsCodeWithholdingType);

Type code of the withholding record.

<Fields>

Required element;
Opening tag of fields configuration.

   

<Field>

Repeatable element;
The opening and closing tag that encompasses <From> and <To>.

   

<From>

This element is used to specify the math variable or withholding field where the data should be copied from.

 

Required element value;
MathVariable/WithholdingField

Name of MathVariable or field from the transaction.

<To>

Required element;
This element is used to specify the fields in the Withholding screen where the data will be copied to.

 

Required element value;
Field

Name of the field in Withholding screen .

XML Example

<CopyToWithholdingFields RELATEDGUID="Policy:PolicyGUID" TYPECODE="03">
     <Fields>
          <Field DISPLAY="Federal Amount" TYPE="Money">
               <From>FederalAmountUSD</From>
               <To>FederalAmount</To>
          </Field>
     </Fields>
</CopyToWithholdingFields>

 

Copyright © 2009, 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices