Enclose check constraints in CDATA
authorIván Perdomo <ivan.perdomo@openbravo.com>
Wed, 19 Dec 2007 10:11:41 +0000
changeset 258 a4855f55d8a1
parent 257 2a14f1a7bbd2
child 259 674b0cb6f6f7
Enclose check constraints in CDATA
database/model/tables/AD_ATTACHMENT.xml
database/model/tables/AD_ATTRIBUTE.xml
database/model/tables/AD_CALLOUT.xml
database/model/tables/AD_CLIENT.xml
database/model/tables/AD_CLIENTINFO.xml
database/model/tables/AD_COLOR.xml
database/model/tables/AD_COLUMN.xml
database/model/tables/AD_DESKTOP.xml
database/model/tables/AD_DESKTOPWORKBENCH.xml
database/model/tables/AD_DESKTOP_TRL.xml
database/model/tables/AD_DEVELOPER.xml
database/model/tables/AD_ELEMENT.xml
database/model/tables/AD_ELEMENT_TRL.xml
database/model/tables/AD_ERROR.xml
database/model/tables/AD_FIELD.xml
database/model/tables/AD_FIELDGROUP.xml
database/model/tables/AD_FIELDGROUP_TRL.xml
database/model/tables/AD_FIELD_TRL.xml
database/model/tables/AD_FIND.xml
database/model/tables/AD_FORM.xml
database/model/tables/AD_FORM_ACCESS.xml
database/model/tables/AD_FORM_TRL.xml
database/model/tables/AD_IMAGE.xml
database/model/tables/AD_IMPFORMAT.xml
database/model/tables/AD_IMPFORMAT_ROW.xml
database/model/tables/AD_LANGUAGE.xml
database/model/tables/AD_MENU.xml
database/model/tables/AD_MENU_TRL.xml
database/model/tables/AD_MESSAGE.xml
database/model/tables/AD_MESSAGE_TRL.xml
database/model/tables/AD_MODEL_OBJECT.xml
database/model/tables/AD_MODEL_OBJECT_MAPPING.xml
database/model/tables/AD_NOTE.xml
database/model/tables/AD_ORG.xml
database/model/tables/AD_ORGINFO.xml
database/model/tables/AD_PINSTANCE.xml
database/model/tables/AD_PREFERENCE.xml
database/model/tables/AD_PRINTCOLOR.xml
database/model/tables/AD_PRINTFONT.xml
database/model/tables/AD_PRINTFORM.xml
database/model/tables/AD_PRINTFORMAT.xml
database/model/tables/AD_PRINTFORMATITEM.xml
database/model/tables/AD_PRINTFORMATITEM_TRL.xml
database/model/tables/AD_PRINTGRAPH.xml
database/model/tables/AD_PRINTPAPER.xml
database/model/tables/AD_PRINTTABLEFORMAT.xml
database/model/tables/AD_PROCESS.xml
database/model/tables/AD_PROCESS_ACCESS.xml
database/model/tables/AD_PROCESS_PARA.xml
database/model/tables/AD_PROCESS_PARA_TRL.xml
database/model/tables/AD_PROCESS_SCHEDULING.xml
database/model/tables/AD_PROCESS_TRL.xml
database/model/tables/AD_REFERENCE.xml
database/model/tables/AD_REFERENCE_TRL.xml
database/model/tables/AD_REF_LIST.xml
database/model/tables/AD_REF_LIST_TRL.xml
database/model/tables/AD_REF_SEARCH.xml
database/model/tables/AD_REF_SEARCH_COLUMN.xml
database/model/tables/AD_REF_TABLE.xml
database/model/tables/AD_REPLICATION.xml
database/model/tables/AD_REPLICATIONSTRATEGY.xml
database/model/tables/AD_REPLICATIONTABLE.xml
database/model/tables/AD_REPLICATION_LOG.xml
database/model/tables/AD_REPLICATION_RUN.xml
database/model/tables/AD_REPORTVIEW.xml
database/model/tables/AD_REPORTVIEW_COL.xml
database/model/tables/AD_ROLE.xml
database/model/tables/AD_ROLE_ORGACCESS.xml
database/model/tables/AD_SEQUENCE.xml
database/model/tables/AD_SEQUENCE_AUDIT.xml
database/model/tables/AD_SEQUENCE_NO.xml
database/model/tables/AD_SYSTEM.xml
database/model/tables/AD_TAB.xml
database/model/tables/AD_TABLE.xml
database/model/tables/AD_TAB_TRL.xml
database/model/tables/AD_TASK.xml
database/model/tables/AD_TASKINSTANCE.xml
database/model/tables/AD_TASK_ACCESS.xml
database/model/tables/AD_TASK_TRL.xml
database/model/tables/AD_TEXTINTERFACES.xml
database/model/tables/AD_TEXTINTERFACES_TRL.xml
database/model/tables/AD_TREE.xml
database/model/tables/AD_TREEBAR.xml
database/model/tables/AD_TREENODE.xml
database/model/tables/AD_TREENODEBP.xml
database/model/tables/AD_TREENODEMM.xml
database/model/tables/AD_TREENODEPR.xml
database/model/tables/AD_USER.xml
database/model/tables/AD_USERDEF_FIELD.xml
database/model/tables/AD_USERDEF_TAB.xml
database/model/tables/AD_USERDEF_WIN.xml
database/model/tables/AD_USER_ROLES.xml
database/model/tables/AD_VAL_RULE.xml
database/model/tables/AD_WF_INSTANCE.xml
database/model/tables/AD_WF_NODE.xml
database/model/tables/AD_WF_NODENEXT.xml
database/model/tables/AD_WF_NODE_TRL.xml
database/model/tables/AD_WINDOW.xml
database/model/tables/AD_WINDOW_ACCESS.xml
database/model/tables/AD_WINDOW_TRL.xml
database/model/tables/AD_WORKBENCH.xml
database/model/tables/AD_WORKBENCHWINDOW.xml
database/model/tables/AD_WORKBENCH_TRL.xml
database/model/tables/AD_WORKFLOW.xml
database/model/tables/AD_WORKFLOW_ACCESS.xml
database/model/tables/AD_WORKFLOW_TRL.xml
database/model/tables/AT_COMMAND.xml
database/model/tables/AT_COMMAND_TRL.xml
database/model/tables/AT_LINE.xml
database/model/tables/AT_ROLLOGIN.xml
database/model/tables/AT_TEST.xml
database/model/tables/AT_TESTDOCUMENT.xml
database/model/tables/AT_TESTDOCUMENTLINE.xml
database/model/tables/A_AMORTIZATION.xml
database/model/tables/A_AMORTIZATIONLINE.xml
database/model/tables/A_ASSET.xml
database/model/tables/A_ASSET_ACCT.xml
database/model/tables/A_ASSET_ADDITION.xml
database/model/tables/A_ASSET_CHANGE.xml
database/model/tables/A_ASSET_CHANGE_AMT.xml
database/model/tables/A_ASSET_DELIVERY.xml
database/model/tables/A_ASSET_GROUP.xml
database/model/tables/A_ASSET_GROUP_ACCT.xml
database/model/tables/A_ASSET_RETIREMENT.xml
database/model/tables/A_ASSET_USE.xml
database/model/tables/A_DEPRECIATION.xml
database/model/tables/C_ACCTSCHEMA.xml
database/model/tables/C_ACCTSCHEMA_DEFAULT.xml
database/model/tables/C_ACCTSCHEMA_ELEMENT.xml
database/model/tables/C_ACCTSCHEMA_GL.xml
database/model/tables/C_ACCTSCHEMA_TABLE.xml
database/model/tables/C_ACTIVITY.xml
database/model/tables/C_APPROVAL.xml
database/model/tables/C_BANK.xml
database/model/tables/C_BANKACCOUNT.xml
database/model/tables/C_BANKACCOUNTDOC.xml
database/model/tables/C_BANKACCOUNT_ACCT.xml
database/model/tables/C_BANKSTATEMENT.xml
database/model/tables/C_BANKSTATEMENTLINE.xml
database/model/tables/C_BPARTNER.xml
database/model/tables/C_BPARTNER_LOCATION.xml
database/model/tables/C_BP_BANKACCOUNT.xml
database/model/tables/C_BP_CUSTOMER_ACCT.xml
database/model/tables/C_BP_EDI.xml
database/model/tables/C_BP_EMPLOYEE_ACCT.xml
database/model/tables/C_BP_GROUP.xml
database/model/tables/C_BP_GROUP_ACCT.xml
database/model/tables/C_BP_VENDOR_ACCT.xml
database/model/tables/C_BP_WITHHOLDING.xml
database/model/tables/C_BUDGET.xml
database/model/tables/C_BUDGETLINE.xml
database/model/tables/C_CALENDAR.xml
database/model/tables/C_CAMPAIGN.xml
database/model/tables/C_CASH.xml
database/model/tables/C_CASHBOOK.xml
database/model/tables/C_CASHBOOK_ACCT.xml
database/model/tables/C_CASHLINE.xml
database/model/tables/C_CHANNEL.xml
database/model/tables/C_CHARGE.xml
database/model/tables/C_CHARGE_ACCT.xml
database/model/tables/C_CITY.xml
database/model/tables/C_COMMISSION.xml
database/model/tables/C_COMMISSIONAMT.xml
database/model/tables/C_COMMISSIONDETAIL.xml
database/model/tables/C_COMMISSIONLINE.xml
database/model/tables/C_COMMISSIONRUN.xml
database/model/tables/C_CONVERSION_RATE.xml
database/model/tables/C_COUNTRY.xml
database/model/tables/C_COUNTRY_TRL.xml
database/model/tables/C_CURRENCY.xml
database/model/tables/C_CURRENCY_TRL.xml
database/model/tables/C_CYCLE.xml
database/model/tables/C_CYCLESTEP.xml
database/model/tables/C_DEBT_PAYMENT.xml
database/model/tables/C_DEBT_PAYMENT_BALANCING.xml
database/model/tables/C_DEBT_PAYMENT_BAL_REPLACE.xml
database/model/tables/C_DOCTYPE.xml
database/model/tables/C_DOCTYPE_TRL.xml
database/model/tables/C_DUNNING.xml
database/model/tables/C_DUNNINGLEVEL.xml
database/model/tables/C_DUNNINGLEVEL_TRL.xml
database/model/tables/C_DUNNINGRUN.xml
database/model/tables/C_DUNNINGRUNENTRY.xml
database/model/tables/C_ELEMENT.xml
database/model/tables/C_ELEMENTVALUE.xml
database/model/tables/C_ELEMENTVALUE_OPERAND.xml
database/model/tables/C_ELEMENTVALUE_TRL.xml
database/model/tables/C_EXTERNALPOS_CATEGORY.xml
database/model/tables/C_GLITEM.xml
database/model/tables/C_GLITEM_ACCT.xml
database/model/tables/C_GREETING.xml
database/model/tables/C_GREETING_TRL.xml
database/model/tables/C_INCOTERMS.xml
database/model/tables/C_INTERORG_ACCT.xml
database/model/tables/C_INVOICE.xml
database/model/tables/C_INVOICELINE.xml
database/model/tables/C_INVOICEPAYSCHEDULE.xml
database/model/tables/C_INVOICESCHEDULE.xml
database/model/tables/C_INVOICETAX.xml
database/model/tables/C_LOCATION.xml
database/model/tables/C_NATION.xml
database/model/tables/C_NONBUSINESSDAY.xml
database/model/tables/C_ORDER.xml
database/model/tables/C_ORDERLINE.xml
database/model/tables/C_ORDERTAX.xml
database/model/tables/C_PAYMENTTERM.xml
database/model/tables/C_PAYMENTTERMLINE.xml
database/model/tables/C_PAYMENTTERM_TRL.xml
database/model/tables/C_PAYSCHEDULE.xml
database/model/tables/C_PERIOD.xml
database/model/tables/C_PERIODCONTROL.xml
database/model/tables/C_PROJECT.xml
database/model/tables/C_PROJECTISSUE.xml
database/model/tables/C_PROJECTLINE.xml
database/model/tables/C_PROJECTPROPOSAL.xml
database/model/tables/C_PROJECTPROPOSALLINE.xml
database/model/tables/C_PROJECTPROPOSALTASK.xml
database/model/tables/C_PROJECT_ACCT.xml
database/model/tables/C_PROJECT_VENDOR.xml
database/model/tables/C_PROMISSORYFORMAT.xml
database/model/tables/C_REGION.xml
database/model/tables/C_REMITTANCE.xml
database/model/tables/C_REMITTANCE_TYPE.xml
database/model/tables/C_REVENUERECOGNITION.xml
database/model/tables/C_REVENUERECOGNITION_PLAN.xml
database/model/tables/C_REVENUERECOGNITION_RUN.xml
database/model/tables/C_SALARY_CATEGORY.xml
database/model/tables/C_SALESREGION.xml
database/model/tables/C_SERVICELEVEL.xml
database/model/tables/C_SERVICELEVELLINE.xml
database/model/tables/C_SETTLEMENT.xml
database/model/tables/C_TAX.xml
database/model/tables/C_TAXCATEGORY.xml
database/model/tables/C_TAXCATEGORY_TRL.xml
database/model/tables/C_TAX_ACCT.xml
database/model/tables/C_TAX_REPORT.xml
database/model/tables/C_TAX_TRL.xml
database/model/tables/C_UOM.xml
database/model/tables/C_UOM_CONVERSION.xml
database/model/tables/C_UOM_TRL.xml
database/model/tables/C_VALIDCOMBINATION.xml
database/model/tables/C_WITHHOLDING.xml
database/model/tables/C_WITHHOLDING_ACCT.xml
database/model/tables/C_YEAR.xml
database/model/tables/FACT_ACCT.xml
database/model/tables/GL_BUDGET.xml
database/model/tables/GL_CATEGORY.xml
database/model/tables/GL_JOURNAL.xml
database/model/tables/GL_JOURNALBATCH.xml
database/model/tables/GL_JOURNALLINE.xml
database/model/tables/I_BANKSTATEMENT.xml
database/model/tables/I_BPARTNER.xml
database/model/tables/I_BUDGETLINE.xml
database/model/tables/I_ELEMENTVALUE.xml
database/model/tables/I_GLJOURNAL.xml
database/model/tables/I_INVOICE.xml
database/model/tables/I_ORDER.xml
database/model/tables/I_PRODUCT.xml
database/model/tables/I_REPORTLINE.xml
database/model/tables/K_CATEGORY.xml
database/model/tables/K_CATEGORYVALUE.xml
database/model/tables/K_COMMENT.xml
database/model/tables/K_ENTRY.xml
database/model/tables/K_ENTRYCATEGORY.xml
database/model/tables/K_ENTRYRELATED.xml
database/model/tables/K_SOURCE.xml
database/model/tables/K_SYNONYM.xml
database/model/tables/K_TOPIC.xml
database/model/tables/K_TYPE.xml
database/model/tables/MA_CALCSTD.xml
database/model/tables/MA_CCP.xml
database/model/tables/MA_CCP_GROUP.xml
database/model/tables/MA_CCP_SHIFT.xml
database/model/tables/MA_CONSUMEPRODUCT.xml
database/model/tables/MA_CONSUMERM.xml
database/model/tables/MA_COSTCENTER.xml
database/model/tables/MA_COSTCENTER_EMPLOYEE.xml
database/model/tables/MA_COSTCENTER_IC.xml
database/model/tables/MA_COSTCENTER_MACHINE.xml
database/model/tables/MA_COSTCENTER_VERSION.xml
database/model/tables/MA_DEFAULTPLAN.xml
database/model/tables/MA_GLOBALUSE.xml
database/model/tables/MA_INCIDENCE.xml
database/model/tables/MA_INDIRECT_COST.xml
database/model/tables/MA_INDIRECT_COST_VALUE.xml
database/model/tables/MA_MACHINE.xml
database/model/tables/MA_MACHINESTATION.xml
database/model/tables/MA_MACHINE_COST.xml
database/model/tables/MA_MACHINE_TYPE.xml
database/model/tables/MA_MAINTENANCE.xml
database/model/tables/MA_MAINT_OPERATION.xml
database/model/tables/MA_MAINT_PART.xml
database/model/tables/MA_MAINT_PERIODICITY.xml
database/model/tables/MA_MAINT_SCHEDULED.xml
database/model/tables/MA_MAINT_WORKER.xml
database/model/tables/MA_MEASURE_GROUP.xml
database/model/tables/MA_MEASURE_SHIFT.xml
database/model/tables/MA_MEASURE_TIME.xml
database/model/tables/MA_MEASURE_VALUES.xml
database/model/tables/MA_PC_CASE.xml
database/model/tables/MA_PC_TEST.xml
database/model/tables/MA_PC_VALUE.xml
database/model/tables/MA_PERIODIC_CONTROL.xml
database/model/tables/MA_PL_EMPLOYEE.xml
database/model/tables/MA_PL_IC.xml
database/model/tables/MA_PL_INVOICELINE.xml
database/model/tables/MA_PL_MACHINE.xml
database/model/tables/MA_PROCESS.xml
database/model/tables/MA_PROCESSPLAN.xml
database/model/tables/MA_PROCESSPLAN_VERSION.xml
database/model/tables/MA_PRODUCTTYPE.xml
database/model/tables/MA_SECTION.xml
database/model/tables/MA_SEQUENCE.xml
database/model/tables/MA_SEQUENCEPRODUCT.xml
database/model/tables/MA_SEQUENCEPRODUCT_COST.xml
database/model/tables/MA_SEQUENCE_EMPLOYEE.xml
database/model/tables/MA_SEQUENCE_IC.xml
database/model/tables/MA_SEQUENCE_MACHINE.xml
database/model/tables/MA_TOOLSET.xml
database/model/tables/MA_TOOLSETPROCESS.xml
database/model/tables/MA_TOOLSETUSED.xml
database/model/tables/MA_TOOLSET_TYPE.xml
database/model/tables/MA_WEEMPLOYEE.xml
database/model/tables/MA_WEINCIDENCE.xml
database/model/tables/MA_WETECHNICALSUPPORT.xml
database/model/tables/MA_WORKREQUIREMENT.xml
database/model/tables/MA_WORKSTATION.xml
database/model/tables/MA_WRPHASE.xml
database/model/tables/MA_WRPHASEPRODUCT.xml
database/model/tables/MRP_PLANNER.xml
database/model/tables/MRP_PLANNINGMETHOD.xml
database/model/tables/MRP_PLANNINGMETHODLINE.xml
database/model/tables/MRP_RUN_PRODUCTION.xml
database/model/tables/MRP_RUN_PRODUCTIONLINE.xml
database/model/tables/MRP_RUN_PURCHASE.xml
database/model/tables/MRP_RUN_PURCHASELINE.xml
database/model/tables/MRP_SALESFORECAST.xml
database/model/tables/MRP_SALESFORECASTLINE.xml
database/model/tables/M_ATTRIBUTE.xml
database/model/tables/M_ATTRIBUTEINSTANCE.xml
database/model/tables/M_ATTRIBUTESEARCH.xml
database/model/tables/M_ATTRIBUTESET.xml
database/model/tables/M_ATTRIBUTESETINSTANCE.xml
database/model/tables/M_ATTRIBUTEUSE.xml
database/model/tables/M_ATTRIBUTEVALUE.xml
database/model/tables/M_DISCOUNTSCHEMA.xml
database/model/tables/M_DISCOUNTSCHEMABREAK.xml
database/model/tables/M_DISCOUNTSCHEMALINE.xml
database/model/tables/M_EDI.xml
database/model/tables/M_EDI_INFO.xml
database/model/tables/M_INOUT.xml
database/model/tables/M_INOUTLINE.xml
database/model/tables/M_INOUTLINE_TYPE.xml
database/model/tables/M_INTERNAL_CONSUMPTION.xml
database/model/tables/M_INTERNAL_CONSUMPTIONLINE.xml
database/model/tables/M_INVENTORY.xml
database/model/tables/M_INVENTORYLINE.xml
database/model/tables/M_LOCATOR.xml
database/model/tables/M_LOCATOR_RENTING.xml
database/model/tables/M_LOCATOR_TYPE.xml
database/model/tables/M_LOT.xml
database/model/tables/M_LOTCTL.xml
database/model/tables/M_MATCHINV.xml
database/model/tables/M_MATCHPO.xml
database/model/tables/M_MOVEMENT.xml
database/model/tables/M_MOVEMENTLINE.xml
database/model/tables/M_OFFER.xml
database/model/tables/M_OFFER_BPARTNER.xml
database/model/tables/M_OFFER_BP_GROUP.xml
database/model/tables/M_OFFER_PRODUCT.xml
database/model/tables/M_OFFER_PROD_CAT.xml
database/model/tables/M_PERPETUALINV.xml
database/model/tables/M_PRICELIST.xml
database/model/tables/M_PRICELIST_VERSION.xml
database/model/tables/M_PRODUCT.xml
database/model/tables/M_PRODUCTION.xml
database/model/tables/M_PRODUCTIONLINE.xml
database/model/tables/M_PRODUCTIONPLAN.xml
database/model/tables/M_PRODUCTPRICE.xml
database/model/tables/M_PRODUCT_ACCT.xml
database/model/tables/M_PRODUCT_BOM.xml
database/model/tables/M_PRODUCT_CATEGORY.xml
database/model/tables/M_PRODUCT_CATEGORY_ACCT.xml
database/model/tables/M_PRODUCT_COSTING.xml
database/model/tables/M_PRODUCT_ORG.xml
database/model/tables/M_PRODUCT_PO.xml
database/model/tables/M_PRODUCT_TEMPLATE.xml
database/model/tables/M_PRODUCT_TRL.xml
database/model/tables/M_PRODUCT_UOM.xml
database/model/tables/M_RAPPEL.xml
database/model/tables/M_RAPPEL_BPARTNER.xml
database/model/tables/M_RAPPEL_INVOICE.xml
database/model/tables/M_RAPPEL_PRODUCTCATEGORY.xml
database/model/tables/M_RAPPEL_SCALE.xml
database/model/tables/M_REPLENISH.xml
database/model/tables/M_REQUISITION.xml
database/model/tables/M_REQUISITIONLINE.xml
database/model/tables/M_SERNOCTL.xml
database/model/tables/M_SHIPPER.xml
database/model/tables/M_STORAGE_DETAIL.xml
database/model/tables/M_STORAGE_PENDING.xml
database/model/tables/M_SUBSTITUTE.xml
database/model/tables/M_TRANSACTION.xml
database/model/tables/M_WAREHOUSE.xml
database/model/tables/M_WAREHOUSE_ACCT.xml
database/model/tables/M_WAREHOUSE_SHIPPER.xml
database/model/tables/M_WH_PERIOD.xml
database/model/tables/M_WH_SCHEDULE.xml
database/model/tables/M_WH_SCHEDULE_PRODUCT.xml
database/model/tables/PA_ACHIEVEMENT.xml
database/model/tables/PA_COLOR.xml
database/model/tables/PA_GOAL.xml
database/model/tables/PA_MEASURE.xml
database/model/tables/PA_MEASURECALC.xml
database/model/tables/PA_REPORT.xml
database/model/tables/PA_REPORTCOLUMN.xml
database/model/tables/PA_REPORTCOLUMNSET.xml
database/model/tables/PA_REPORTLINE.xml
database/model/tables/PA_REPORTLINESET.xml
database/model/tables/PA_REPORTSOURCE.xml
database/model/tables/R_CONTACTINTEREST.xml
database/model/tables/R_INTERESTAREA.xml
database/model/tables/R_MAILTEXT.xml
database/model/tables/R_REQUEST.xml
database/model/tables/R_REQUESTACTION.xml
database/model/tables/R_REQUESTPROCESSOR.xml
database/model/tables/R_REQUESTPROCESSOR_ROUTE.xml
database/model/tables/R_REQUESTTYPE.xml
database/model/tables/S_EXPENSETYPE.xml
database/model/tables/S_RESOURCE.xml
database/model/tables/S_RESOURCEASSIGNMENT.xml
database/model/tables/S_RESOURCETYPE.xml
database/model/tables/S_RESOURCEUNAVAILABLE.xml
database/model/tables/S_TIMEEXPENSE.xml
database/model/tables/S_TIMEEXPENSELINE.xml
database/model/tables/S_TRAINING.xml
database/model/tables/S_TRAINING_CLASS.xml
database/model/tables/TEST.xml
database/model/tables/TIRE_STORAGE.xml
database/model/tables/W_BASKET.xml
database/model/tables/W_BASKETLINE.xml
database/model/tables/W_CLICK.xml
database/model/tables/W_CLICKCOUNT.xml
database/model/tables/W_COUNTER.xml
database/model/tables/W_COUNTERCOUNT.xml
--- a/database/model/tables/AD_ATTACHMENT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_ATTACHMENT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -31,6 +31,6 @@
         <index-column name="AD_TABLE_ID"/>
         <index-column name="RECORD_ID"/>
       </index>
-      <check name="AD_ATTACHMENT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_ATTACHMENT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_ATTRIBUTE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_ATTRIBUTE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -50,13 +50,13 @@
       <foreign-key foreignTable="AD_VAL_RULE" name="ADVALRULE_ADATTRIBUTE" onDelete="setnull">
         <reference local="AD_VAL_RULE_ID" foreign="AD_VAL_RULE_ID"/>
       </foreign-key>
-      <check name="ADATTRIBUTE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADATTRIBUTE_ISENCRYPTED_CHECK" condition="ISENCRYPTED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADATTRIBUTE_ISFIELDONLY_CHECK" condition="ISFIELDONLY IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADATTRIBUTE_ISHEADING_CHECK" condition="ISHEADING IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADATTRIBUTE_ISMANDATORY_CHECK" condition="ISMANDATORY IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADATTRIBUTE_ISREADONLY_CHECK" condition="ISREADONLY IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADATTRIBUTE_ISSAMELINE_CHECK" condition="ISSAMELINE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADATTRIBUTE_ISUPDATEABLE_CHECK" condition="ISUPDATEABLE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADATTRIBUTE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADATTRIBUTE_ISENCRYPTED_CHECK"><![CDATA[ISENCRYPTED IN ('Y', 'N')]]></check>
+      <check name="ADATTRIBUTE_ISFIELDONLY_CHECK"><![CDATA[ISFIELDONLY IN ('Y', 'N')]]></check>
+      <check name="ADATTRIBUTE_ISHEADING_CHECK"><![CDATA[ISHEADING IN ('Y', 'N')]]></check>
+      <check name="ADATTRIBUTE_ISMANDATORY_CHECK"><![CDATA[ISMANDATORY IN ('Y', 'N')]]></check>
+      <check name="ADATTRIBUTE_ISREADONLY_CHECK"><![CDATA[ISREADONLY IN ('Y', 'N')]]></check>
+      <check name="ADATTRIBUTE_ISSAMELINE_CHECK"><![CDATA[ISSAMELINE IN ('Y', 'N')]]></check>
+      <check name="ADATTRIBUTE_ISUPDATEABLE_CHECK"><![CDATA[ISUPDATEABLE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_CALLOUT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_CALLOUT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -17,6 +17,6 @@
       <foreign-key foreignTable="AD_ORG" name="ADCALLOUT_FK_ORG">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="AD_CALLOUT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_CALLOUT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_CLIENT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_CLIENT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -41,6 +41,6 @@
       <unique name="AD_CLIENT_NAME">
         <unique-column name="NAME"/>
       </unique>
-      <check name="AD_CLIENT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_CLIENT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_CLIENTINFO.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_CLIENTINFO.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -93,12 +93,12 @@
       <foreign-key foreignTable="PA_GOAL" name="PAGOAL_AD_CLIENTINFO">
         <reference local="PA_GOAL_ID" foreign="PA_GOAL_ID"/>
       </foreign-key>
-      <check name="ADCLIENTINFO_ACCT2ACTIVE_CHECK" condition="ACCT2_ACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADCLIENTINFO_ACCT3ACTIVE_CHECK" condition="ACCT3_ACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADCLIENTINFO_ANEGATSTOCK_CHECK" condition="ALLOWNEGATIVESTOCK IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADCLIENTINFO_INOUTORG_CHECK" condition="CHECKINOUTORG IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADCLIENTINFO_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADCLIENTINFO_ISDISLNAMT_CHECK" condition="ISDISCOUNTLINEAMT IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADCLIENTINFO_ORDERORG_CHECK" condition="CHECKORDERORG IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADCLIENTINFO_ACCT2ACTIVE_CHECK"><![CDATA[ACCT2_ACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADCLIENTINFO_ACCT3ACTIVE_CHECK"><![CDATA[ACCT3_ACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADCLIENTINFO_ANEGATSTOCK_CHECK"><![CDATA[ALLOWNEGATIVESTOCK IN ('Y', 'N')]]></check>
+      <check name="ADCLIENTINFO_INOUTORG_CHECK"><![CDATA[CHECKINOUTORG IN ('Y', 'N')]]></check>
+      <check name="ADCLIENTINFO_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADCLIENTINFO_ISDISLNAMT_CHECK"><![CDATA[ISDISCOUNTLINEAMT IN ('Y', 'N')]]></check>
+      <check name="ADCLIENTINFO_ORDERORG_CHECK"><![CDATA[CHECKORDERORG IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_COLOR.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_COLOR.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -35,6 +35,6 @@
       <foreign-key foreignTable="AD_ORG" name="ADORG_ADCOLOR">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="AD_COLOR_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_COLOR_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_COLUMN.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_COLUMN.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -77,16 +77,16 @@
         <unique-column name="AD_TABLE_ID"/>
         <unique-column name="COLUMNNAME"/>
       </unique>
-      <check name="ADCOLUMN_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADCOLUMN_ISDESENCRYPT_CHECK" condition="ISDESENCRYPTABLE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADCOLUMN_ISENCRYPTED_CHECK" condition="ISENCRYPTED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADCOLUMN_ISIDENTIFIER_CHECK" condition="ISIDENTIFIER IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADCOLUMN_ISKEY_CHECK" condition="ISKEY IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADCOLUMN_ISMANDATORY_CHECK" condition="ISMANDATORY IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADCOLUMN_ISPARENT_CHECK" condition="ISPARENT IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADCOLUMN_ISSELCOL_CHECK" condition="ISSELECTIONCOLUMN IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADCOLUMN_ISSYNCDBASE_CHECK" condition="ISSYNCDATABASE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADCOLUMN_ISTRANSLATED_CHECK" condition="ISTRANSLATED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADCOLUMN_ISUPDATEABLE_CHECK" condition="ISUPDATEABLE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADCOLUMN_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADCOLUMN_ISDESENCRYPT_CHECK"><![CDATA[ISDESENCRYPTABLE IN ('Y', 'N')]]></check>
+      <check name="ADCOLUMN_ISENCRYPTED_CHECK"><![CDATA[ISENCRYPTED IN ('Y', 'N')]]></check>
+      <check name="ADCOLUMN_ISIDENTIFIER_CHECK"><![CDATA[ISIDENTIFIER IN ('Y', 'N')]]></check>
+      <check name="ADCOLUMN_ISKEY_CHECK"><![CDATA[ISKEY IN ('Y', 'N')]]></check>
+      <check name="ADCOLUMN_ISMANDATORY_CHECK"><![CDATA[ISMANDATORY IN ('Y', 'N')]]></check>
+      <check name="ADCOLUMN_ISPARENT_CHECK"><![CDATA[ISPARENT IN ('Y', 'N')]]></check>
+      <check name="ADCOLUMN_ISSELCOL_CHECK"><![CDATA[ISSELECTIONCOLUMN IN ('Y', 'N')]]></check>
+      <check name="ADCOLUMN_ISSYNCDBASE_CHECK"><![CDATA[ISSYNCDATABASE IN ('Y', 'N')]]></check>
+      <check name="ADCOLUMN_ISTRANSLATED_CHECK"><![CDATA[ISTRANSLATED IN ('Y', 'N')]]></check>
+      <check name="ADCOLUMN_ISUPDATEABLE_CHECK"><![CDATA[ISUPDATEABLE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_DESKTOP.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_DESKTOP.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -26,6 +26,6 @@
       <foreign-key foreignTable="AD_ORG" name="ADORG_ADDESKTOP">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="AD_DESKTOP_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_DESKTOP_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_DESKTOPWORKBENCH.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_DESKTOPWORKBENCH.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -24,6 +24,6 @@
       <foreign-key foreignTable="AD_WORKBENCH" name="ADWORKBENCH_ADDESKTOPWB">
         <reference local="AD_WORKBENCH_ID" foreign="AD_WORKBENCH_ID"/>
       </foreign-key>
-      <check name="AD_DESKTOPWORKB_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_DESKTOPWORKB_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_DESKTOP_TRL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_DESKTOP_TRL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -26,7 +26,7 @@
       <foreign-key foreignTable="AD_ORG" name="ADORG_ADDESKTOPTRL">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="ADDESKTOPTRL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADDESKTOPTRL_IS_ANSLATED_CHECK" condition="ISTRANSLATED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADDESKTOPTRL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADDESKTOPTRL_IS_ANSLATED_CHECK"><![CDATA[ISTRANSLATED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_DEVELOPER.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_DEVELOPER.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -27,6 +27,6 @@
         <index-column name="AD_CLIENT_ID"/>
         <index-column name="NAME"/>
       </index>
-      <check name="AD_DEVELOPER_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_DEVELOPER_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_ELEMENT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_ELEMENT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -35,6 +35,6 @@
       <index name="AD_ELEMENT_NAME" unique="false">
         <index-column name="NAME"/>
       </index>
-      <check name="AD_ELEMENT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_ELEMENT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_ELEMENT_TRL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_ELEMENT_TRL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -31,7 +31,7 @@
       <foreign-key foreignTable="AD_LANGUAGE" name="AD_LANGUAGE_AD_ELEMENT_TRL">
         <reference local="AD_LANGUAGE" foreign="AD_LANGUAGE"/>
       </foreign-key>
-      <check name="ADELEMENTTRL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADELEMENTTRL_IS_ANSLATED_CHECK" condition="ISTRANSLATED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADELEMENTTRL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADELEMENTTRL_IS_ANSLATED_CHECK"><![CDATA[ISTRANSLATED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_ERROR.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_ERROR.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -21,6 +21,6 @@
       <foreign-key foreignTable="AD_ORG" name="ADORG_ADERROR">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="AD_ERROR_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_ERROR_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_FIELD.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_FIELD.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -49,13 +49,13 @@
       <index name="AD_FIELD_TAB" unique="false">
         <index-column name="AD_TAB_ID"/>
       </index>
-      <check name="ADFIELD_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADFIELD_ISCENMAINT_CHECK" condition="ISCENTRALLYMAINTAINED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADFIELD_ISDISPLAYED_CHECK" condition="ISDISPLAYED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADFIELD_ISENCRYPTED_CHECK" condition="ISENCRYPTED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADFIELD_ISFIELDONLY_CHECK" condition="ISFIELDONLY IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADFIELD_ISHEADING_CHECK" condition="ISHEADING IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADFIELD_ISREADONLY_CHECK" condition="ISREADONLY IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADFIELD_ISSAMELINE_CHECK" condition="ISSAMELINE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADFIELD_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADFIELD_ISCENMAINT_CHECK"><![CDATA[ISCENTRALLYMAINTAINED IN ('Y', 'N')]]></check>
+      <check name="ADFIELD_ISDISPLAYED_CHECK"><![CDATA[ISDISPLAYED IN ('Y', 'N')]]></check>
+      <check name="ADFIELD_ISENCRYPTED_CHECK"><![CDATA[ISENCRYPTED IN ('Y', 'N')]]></check>
+      <check name="ADFIELD_ISFIELDONLY_CHECK"><![CDATA[ISFIELDONLY IN ('Y', 'N')]]></check>
+      <check name="ADFIELD_ISHEADING_CHECK"><![CDATA[ISHEADING IN ('Y', 'N')]]></check>
+      <check name="ADFIELD_ISREADONLY_CHECK"><![CDATA[ISREADONLY IN ('Y', 'N')]]></check>
+      <check name="ADFIELD_ISSAMELINE_CHECK"><![CDATA[ISSAMELINE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_FIELDGROUP.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_FIELDGROUP.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -16,6 +16,6 @@
       <foreign-key foreignTable="AD_ORG" name="ADORG_ADFIELDGROUP">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="AD_FIELDGROUP_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_FIELDGROUP_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_FIELDGROUP_TRL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_FIELDGROUP_TRL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -24,7 +24,7 @@
       <foreign-key foreignTable="AD_ORG" name="ADORG_ADFIELDGROUPTRL">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="ADFIELDGRTRL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADFIELDGRTRL_IS_ANSLATED_CHECK" condition="ISTRANSLATED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADFIELDGRTRL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADFIELDGRTRL_IS_ANSLATED_CHECK"><![CDATA[ISTRANSLATED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_FIELD_TRL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_FIELD_TRL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -26,7 +26,7 @@
       <foreign-key foreignTable="AD_LANGUAGE" name="AD_LANGUAGE_FIELDTRL">
         <reference local="AD_LANGUAGE" foreign="AD_LANGUAGE"/>
       </foreign-key>
-      <check name="ADFIELDTRL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADFIELDTRL_ISTRANSLATED_CHECK" condition="ISTRANSLATED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADFIELDTRL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADFIELDTRL_ISTRANSLATED_CHECK"><![CDATA[ISTRANSLATED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_FIND.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_FIND.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -24,6 +24,6 @@
       <foreign-key foreignTable="AD_ORG" name="ADORG_ADFIND">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="AD_FIND_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_FIND_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_FORM.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_FORM.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -21,6 +21,6 @@
       <foreign-key foreignTable="AD_ORG" name="ADORG_ADFORM">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="AD_FORM_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_FORM_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_FORM_ACCESS.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_FORM_ACCESS.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -27,7 +27,7 @@
         <index-column name="AD_ROLE_ID"/>
         <index-column name="AD_FORM_ID"/>
       </index>
-      <check name="ADFORMAC_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADFORMAC_ISREADWRITE_CHECK" condition="ISREADWRITE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADFORMAC_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADFORMAC_ISREADWRITE_CHECK"><![CDATA[ISREADWRITE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_FORM_TRL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_FORM_TRL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -26,7 +26,7 @@
       <foreign-key foreignTable="AD_ORG" name="ADORG_ADFORMTRL">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="ADFORMTRL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADFORMTRL_ISTRANSLATED_CHECK" condition="ISTRANSLATED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADFORMTRL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADFORMTRL_ISTRANSLATED_CHECK"><![CDATA[ISTRANSLATED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_IMAGE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_IMAGE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -18,6 +18,6 @@
       <foreign-key foreignTable="AD_ORG" name="ADORG_ADIMAGE">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="AD_IMAGE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_IMAGE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_IMPFORMAT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_IMPFORMAT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -27,6 +27,6 @@
         <unique-column name="AD_CLIENT_ID"/>
         <unique-column name="NAME"/>
       </unique>
-      <check name="AD_IMPFORMAT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_IMPFORMAT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_IMPFORMAT_ROW.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_IMPFORMAT_ROW.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -34,7 +34,7 @@
       <foreign-key foreignTable="AD_ORG" name="ADORG_ADIMPFORMATROW">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="ADIMPFORMATROW_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADIMPFORMROW_DIV100_CHECK" condition="DIVIDEBY100 IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADIMPFORMATROW_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADIMPFORMROW_DIV100_CHECK"><![CDATA[DIVIDEBY100 IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_LANGUAGE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_LANGUAGE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -24,8 +24,8 @@
       <foreign-key foreignTable="AD_ORG" name="LANGUAGEORG">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="ADLANGUAGE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADLANGUAGE_ISBASELANG_CHECK" condition="ISBASELANGUAGE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADLANGUAGE_ISSYSANG_CHECK" condition="ISSYSTEMLANGUAGE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADLANGUAGE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADLANGUAGE_ISBASELANG_CHECK"><![CDATA[ISBASELANGUAGE IN ('Y', 'N')]]></check>
+      <check name="ADLANGUAGE_ISSYSANG_CHECK"><![CDATA[ISSYSTEMLANGUAGE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_MENU.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_MENU.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -47,8 +47,8 @@
       <foreign-key foreignTable="AD_ORG" name="AD_MENU_ORG">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="ADMENU_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADMENU_ISREADONLY_CHECK" condition="ISREADONLY IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADMENU_ISSOTRX_CHECK" condition="ISSOTRX IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADMENU_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADMENU_ISREADONLY_CHECK"><![CDATA[ISREADONLY IN ('Y', 'N')]]></check>
+      <check name="ADMENU_ISSOTRX_CHECK"><![CDATA[ISSOTRX IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_MENU_TRL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_MENU_TRL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -25,7 +25,7 @@
       <foreign-key foreignTable="AD_MENU" name="AD_MENUTRL" onDelete="cascade">
         <reference local="AD_MENU_ID" foreign="AD_MENU_ID"/>
       </foreign-key>
-      <check name="ADMENUTRL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADMENUTRL_ISTRANSLATED_CHECK" condition="ISTRANSLATED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADMENUTRL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADMENUTRL_ISTRANSLATED_CHECK"><![CDATA[ISTRANSLATED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_MESSAGE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_MESSAGE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -23,6 +23,6 @@
       <unique name="MESSAGE_UN_VALUE">
         <unique-column name="VALUE"/>
       </unique>
-      <check name="AD_MESSAGE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_MESSAGE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_MESSAGE_TRL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_MESSAGE_TRL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -25,7 +25,7 @@
       <foreign-key foreignTable="AD_MESSAGE" name="AD_MESSAGETRL" onDelete="cascade">
         <reference local="AD_MESSAGE_ID" foreign="AD_MESSAGE_ID"/>
       </foreign-key>
-      <check name="ADMESSAGE_TRL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADMESSAGE_TRL_ISTRANSD_CHECK" condition="ISTRANSLATED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADMESSAGE_TRL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADMESSAGE_TRL_ISTRANSD_CHECK"><![CDATA[ISTRANSLATED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_MODEL_OBJECT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_MODEL_OBJECT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -53,7 +53,7 @@
       <unique name="AD_MODEL_OBJECT_CLASSNAME">
         <unique-column name="CLASSNAME"/>
       </unique>
-      <check name="ADMODELOBJECT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADMODELOBJECT_ISDEFAULT_CHECK" condition="ISDEFAULT IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADMODELOBJECT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADMODELOBJECT_ISDEFAULT_CHECK"><![CDATA[ISDEFAULT IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_MODEL_OBJECT_MAPPING.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_MODEL_OBJECT_MAPPING.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -21,7 +21,7 @@
       <foreign-key foreignTable="AD_ORG" name="MODELOBJMAP_FK_ORG">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="ADMODELOBJECTMA_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADMODELOBJECTMA_NG_ISDEF_CHECK" condition="ISDEFAULT IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADMODELOBJECTMA_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADMODELOBJECTMA_NG_ISDEF_CHECK"><![CDATA[ISDEFAULT IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_NOTE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_NOTE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -31,7 +31,7 @@
       <foreign-key foreignTable="AD_USER" name="ADUSER_ADNOTE">
         <reference local="AD_USER_ID" foreign="AD_USER_ID"/>
       </foreign-key>
-      <check name="ADNOTE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADNOTE_PROCESSED_CHECK" condition="PROCESSED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADNOTE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADNOTE_PROCESSED_CHECK"><![CDATA[PROCESSED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_ORG.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_ORG.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -20,6 +20,6 @@
         <unique-column name="AD_CLIENT_ID"/>
         <unique-column name="VALUE"/>
       </unique>
-      <check name="AD_ORG_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_ORG_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_ORGINFO.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_ORGINFO.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -30,6 +30,6 @@
       <foreign-key foreignTable="PA_GOAL" name="PAGOAL_AD_ORGINFO">
         <reference local="PA_GOAL_ID" foreign="PA_GOAL_ID"/>
       </foreign-key>
-      <check name="AD_ORGINFO_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_ORGINFO_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_PINSTANCE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_PINSTANCE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -31,6 +31,6 @@
         <index-column name="AD_PROCESS_ID"/>
         <index-column name="RECORD_ID"/>
       </index>
-      <check name="AD_PINSTANCE_ISACTIVE_CHECK" condition="ISPROCESSING IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_PINSTANCE_ISACTIVE_CHECK"><![CDATA[ISPROCESSING IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_PREFERENCE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_PREFERENCE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -32,6 +32,6 @@
         <unique-column name="AD_USER_ID"/>
         <unique-column name="ATTRIBUTE"/>
       </unique>
-      <check name="AD_PREFERENCE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_PREFERENCE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_PRINTCOLOR.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_PRINTCOLOR.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -22,6 +22,6 @@
         <unique-column name="AD_CLIENT_ID"/>
         <unique-column name="NAME"/>
       </unique>
-      <check name="AD_PRINTCOLOR_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_PRINTCOLOR_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_PRINTFONT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_PRINTFONT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -22,6 +22,6 @@
         <unique-column name="AD_CLIENT_ID"/>
         <unique-column name="NAME"/>
       </unique>
-      <check name="AD_PRINTFONT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_PRINTFONT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_PRINTFORM.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_PRINTFORM.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -61,6 +61,6 @@
         <unique-column name="AD_CLIENT_ID"/>
         <unique-column name="AD_ORG_ID"/>
       </unique>
-      <check name="AD_PRINTFORM_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_PRINTFORM_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_PRINTFORMAT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_PRINTFORMAT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -56,9 +56,9 @@
         <unique-column name="AD_TABLE_ID"/>
         <unique-column name="NAME"/>
       </unique>
-      <check name="ADPRINTFORM_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADPRINTFORM_ISFORM_CHECK" condition="ISFORM IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADPRINTFORM_ISSTFOOTER_CHECK" condition="ISSTANDARDHEADERFOOTER IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADPRINTFORM_ISTABBAS_CHECK" condition="ISTABLEBASED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADPRINTFORM_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADPRINTFORM_ISFORM_CHECK"><![CDATA[ISFORM IN ('Y', 'N')]]></check>
+      <check name="ADPRINTFORM_ISSTFOOTER_CHECK"><![CDATA[ISSTANDARDHEADERFOOTER IN ('Y', 'N')]]></check>
+      <check name="ADPRINTFORM_ISTABBAS_CHECK"><![CDATA[ISTABLEBASED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_PRINTFORMATITEM.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_PRINTFORMATITEM.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -74,14 +74,14 @@
       <index name="AD_PRINTFORMATITEM_FORMAT" unique="false">
         <index-column name="AD_PRINTFORMAT_ID"/>
       </index>
-      <check name="ADPRFORMITEM_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADPRFORMITEM_ISGROUPBY_CHECK" condition="ISGROUPBY IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADPRFORMITEM_ISHEIGHTLN_CHECK" condition="ISHEIGHTONELINE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADPRFORMITEM_ISNEXTLN_CHECK" condition="ISNEXTLINE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADPRFORMITEM_ISORDERBY_CHECK" condition="ISORDERBY IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADPRFORMITEM_ISPAGEBR_CHECK" condition="ISPAGEBREAK IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADPRFORMITEM_ISPRINTED_CHECK" condition="ISPRINTED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADPRFORMITEM_ISRELPOS_CHECK" condition="ISRELATIVEPOSITION IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADPRFORMITEM_ISSUMM_CHECK" condition="ISSUMMARIZED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADPRFORMITEM_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADPRFORMITEM_ISGROUPBY_CHECK"><![CDATA[ISGROUPBY IN ('Y', 'N')]]></check>
+      <check name="ADPRFORMITEM_ISHEIGHTLN_CHECK"><![CDATA[ISHEIGHTONELINE IN ('Y', 'N')]]></check>
+      <check name="ADPRFORMITEM_ISNEXTLN_CHECK"><![CDATA[ISNEXTLINE IN ('Y', 'N')]]></check>
+      <check name="ADPRFORMITEM_ISORDERBY_CHECK"><![CDATA[ISORDERBY IN ('Y', 'N')]]></check>
+      <check name="ADPRFORMITEM_ISPAGEBR_CHECK"><![CDATA[ISPAGEBREAK IN ('Y', 'N')]]></check>
+      <check name="ADPRFORMITEM_ISPRINTED_CHECK"><![CDATA[ISPRINTED IN ('Y', 'N')]]></check>
+      <check name="ADPRFORMITEM_ISRELPOS_CHECK"><![CDATA[ISRELATIVEPOSITION IN ('Y', 'N')]]></check>
+      <check name="ADPRFORMITEM_ISSUMM_CHECK"><![CDATA[ISSUMMARIZED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_PRINTFORMATITEM_TRL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_PRINTFORMATITEM_TRL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -25,7 +25,7 @@
       <foreign-key foreignTable="AD_PRINTFORMATITEM" name="ADPRINTFORMATITEM_TRL" onDelete="cascade">
         <reference local="AD_PRINTFORMATITEM_ID" foreign="AD_PRINTFORMATITEM_ID"/>
       </foreign-key>
-      <check name="ADPRINTFORMTRL_ISACTIVE_CHECK" condition="ISTRANSLATED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADPRINTFORMTRL_ISTRANS_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADPRINTFORMTRL_ISACTIVE_CHECK"><![CDATA[ISTRANSLATED IN ('Y', 'N')]]></check>
+      <check name="ADPRINTFORMTRL_ISTRANS_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_PRINTGRAPH.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_PRINTGRAPH.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -46,6 +46,6 @@
       <foreign-key foreignTable="AD_PRINTFORMAT" name="ADPRINTFORMAT_ADPRINTGRAPH">
         <reference local="AD_PRINTFORMAT_ID" foreign="AD_PRINTFORMAT_ID"/>
       </foreign-key>
-      <check name="AD_PRINTGRAPH_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_PRINTGRAPH_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_PRINTPAPER.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_PRINTPAPER.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -29,7 +29,7 @@
         <unique-column name="AD_CLIENT_ID"/>
         <unique-column name="NAME"/>
       </unique>
-      <check name="ADPRINTPAPER_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADPRINTPAPER_ISLANDSCAPE_CHECK" condition="ISLANDSCAPE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADPRINTPAPER_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADPRINTPAPER_ISLANDSCAPE_CHECK"><![CDATA[ISLANDSCAPE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_PRINTTABLEFORMAT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_PRINTTABLEFORMAT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -53,6 +53,6 @@
       <foreign-key foreignTable="AD_PRINTFONT" name="REFAD_PRINTFONT1620">
         <reference local="FUNCT_PRINTFONT_ID" foreign="AD_PRINTFONT_ID"/>
       </foreign-key>
-      <check name="AD_PRINTTABLEFO_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_PRINTTABLEFO_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_PROCESS.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_PROCESS.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -39,10 +39,10 @@
       <foreign-key foreignTable="AD_REPORTVIEW" name="ADREPORTVIEW_ADPROCESS">
         <reference local="AD_REPORTVIEW_ID" foreign="AD_REPORTVIEW_ID"/>
       </foreign-key>
-      <check name="ADPROCESS_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADPROCESS_ISBACKGROUND_CHECK" condition="ISBACKGROUND IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADPROCESS_ISDIRECTPRINT_CHECK" condition="ISDIRECTPRINT IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADPROCESS_ISREPORT_CHECK" condition="ISREPORT IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADPROCESS_ISUSE_TARTABLE_CHECK" condition="ISUSERSTARTABLE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADPROCESS_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADPROCESS_ISBACKGROUND_CHECK"><![CDATA[ISBACKGROUND IN ('Y', 'N')]]></check>
+      <check name="ADPROCESS_ISDIRECTPRINT_CHECK"><![CDATA[ISDIRECTPRINT IN ('Y', 'N')]]></check>
+      <check name="ADPROCESS_ISREPORT_CHECK"><![CDATA[ISREPORT IN ('Y', 'N')]]></check>
+      <check name="ADPROCESS_ISUSE_TARTABLE_CHECK"><![CDATA[ISUSERSTARTABLE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_PROCESS_ACCESS.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_PROCESS_ACCESS.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -27,7 +27,7 @@
         <index-column name="AD_ROLE_ID"/>
         <index-column name="AD_PROCESS_ID"/>
       </index>
-      <check name="ADPROCACC_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADPROCACC_ISREADWRITE_CHECK" condition="ISREADWRITE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADPROCACC_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADPROCACC_ISREADWRITE_CHECK"><![CDATA[ISREADWRITE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_PROCESS_PARA.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_PROCESS_PARA.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -53,9 +53,9 @@
       <index name="AD_PROCESS_PARA_PROCESS" unique="false">
         <index-column name="AD_PROCESS_ID"/>
       </index>
-      <check name="ADPROCPARA_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADPROCPARA_ISCENTMAINT_CHECK" condition="ISCENTRALLYMAINTAINED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADPROCPARA_ISMANDATORY_CHECK" condition="ISMANDATORY IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADPROCPARA_ISRANGE_CHECK" condition="ISRANGE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADPROCPARA_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADPROCPARA_ISCENTMAINT_CHECK"><![CDATA[ISCENTRALLYMAINTAINED IN ('Y', 'N')]]></check>
+      <check name="ADPROCPARA_ISMANDATORY_CHECK"><![CDATA[ISMANDATORY IN ('Y', 'N')]]></check>
+      <check name="ADPROCPARA_ISRANGE_CHECK"><![CDATA[ISRANGE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_PROCESS_PARA_TRL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_PROCESS_PARA_TRL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -26,7 +26,7 @@
       <foreign-key foreignTable="AD_PROCESS_PARA" name="ADPROCPARA_ADPROCPARATRL" onDelete="cascade">
         <reference local="AD_PROCESS_PARA_ID" foreign="AD_PROCESS_PARA_ID"/>
       </foreign-key>
-      <check name="ADPRPARATRL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADPRPARATRL_ISTRANSLATED_CHECK" condition="ISTRANSLATED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADPRPARATRL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADPRPARATRL_ISTRANSLATED_CHECK"><![CDATA[ISTRANSLATED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_PROCESS_SCHEDULING.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_PROCESS_SCHEDULING.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -24,6 +24,6 @@
       <foreign-key foreignTable="AD_PROCESS" name="PROCESS_FK_PROCESS_SCHEDULING">
         <reference local="AD_PROCESS_ID" foreign="AD_PROCESS_ID"/>
       </foreign-key>
-      <check name="AD_PROCESS_SCHEDULING_ISFT" condition="ISFULLTIME IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_PROCESS_SCHEDULING_ISFT"><![CDATA[ISFULLTIME IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_PROCESS_TRL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_PROCESS_TRL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -26,7 +26,7 @@
       <foreign-key foreignTable="AD_PROCESS" name="AD_PROCESS_AD_PROCESS_TRL" onDelete="cascade">
         <reference local="AD_PROCESS_ID" foreign="AD_PROCESS_ID"/>
       </foreign-key>
-      <check name="ADPROCESSTRL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADPROCESSTRL_IS_ANSLATED_CHECK" condition="ISTRANSLATED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADPROCESSTRL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADPROCESSTRL_IS_ANSLATED_CHECK"><![CDATA[ISTRANSLATED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_REFERENCE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_REFERENCE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -24,6 +24,6 @@
       <unique name="AD_REFERENCE_NAME">
         <unique-column name="NAME"/>
       </unique>
-      <check name="AD_REFERENCE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_REFERENCE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_REFERENCE_TRL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_REFERENCE_TRL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -26,7 +26,7 @@
       <foreign-key foreignTable="AD_REFERENCE" name="AD_REFERENCETRL" onDelete="cascade">
         <reference local="AD_REFERENCE_ID" foreign="AD_REFERENCE_ID"/>
       </foreign-key>
-      <check name="ADREFTRL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADREFTRL_ISTRANSLATED_CHECK" condition="ISTRANSLATED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADREFTRL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADREFTRL_ISTRANSLATED_CHECK"><![CDATA[ISTRANSLATED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_REF_LIST.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_REF_LIST.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -29,6 +29,6 @@
         <unique-column name="AD_REFERENCE_ID"/>
         <unique-column name="VALUE"/>
       </unique>
-      <check name="AD_REF_LIST_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_REF_LIST_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_REF_LIST_TRL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_REF_LIST_TRL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -25,7 +25,7 @@
       <foreign-key foreignTable="AD_REF_LIST" name="AD_REFLISTTRL" onDelete="cascade">
         <reference local="AD_REF_LIST_ID" foreign="AD_REF_LIST_ID"/>
       </foreign-key>
-      <check name="ADREFLISTTRL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADREFLISTTRL_IS_ANSLATED_CHECK" condition="ISTRANSLATED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADREFLISTTRL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADREFLISTTRL_IS_ANSLATED_CHECK"><![CDATA[ISTRANSLATED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_REF_SEARCH.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_REF_SEARCH.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -24,6 +24,6 @@
       <foreign-key foreignTable="AD_TABLE" name="REFSEARCH_FK_TABLE">
         <reference local="AD_TABLE_ID" foreign="AD_TABLE_ID"/>
       </foreign-key>
-      <check name="AD_REF_SEARCH_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_REF_SEARCH_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_REF_SEARCH_COLUMN.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_REF_SEARCH_COLUMN.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -23,6 +23,6 @@
       <foreign-key foreignTable="AD_ORG" name="REFSEARCHCOLUMN_FK_ORG">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="AD_REF_SEARCH_C_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_REF_SEARCH_C_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_REF_TABLE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_REF_TABLE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -34,7 +34,7 @@
       <foreign-key foreignTable="AD_ORG" name="REF_TABLEORG">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="ADREFTABLE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADREFTABLE_ISVALUEDISP_CHECK" condition="ISVALUEDISPLAYED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADREFTABLE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADREFTABLE_ISVALUEDISP_CHECK"><![CDATA[ISVALUEDISPLAYED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_REPLICATION.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_REPLICATION.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -39,6 +39,6 @@
       <foreign-key foreignTable="AD_REPLICATIONSTRATEGY" name="ADREPLICATIONSTRATEGY_ADREP">
         <reference local="AD_REPLICATIONSTRATEGY_ID" foreign="AD_REPLICATIONSTRATEGY_ID"/>
       </foreign-key>
-      <check name="AD_REPLICATION_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_REPLICATION_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_REPLICATIONSTRATEGY.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_REPLICATIONSTRATEGY.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -19,6 +19,6 @@
       <foreign-key foreignTable="AD_ORG" name="ADORG_ADREPLICATIONSTRATEGY">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="AD_REPLICATIONS_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_REPLICATIONS_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_REPLICATIONTABLE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_REPLICATIONTABLE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -25,6 +25,6 @@
       <foreign-key foreignTable="AD_TABLE" name="ADTABLE_ADREPLICATIONTABLE" onDelete="cascade">
         <reference local="AD_TABLE_ID" foreign="AD_TABLE_ID"/>
       </foreign-key>
-      <check name="AD_REPLICATIONT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_REPLICATIONT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_REPLICATION_LOG.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_REPLICATION_LOG.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -25,7 +25,7 @@
       <foreign-key foreignTable="AD_REPLICATIONTABLE" name="ADREPTABLE_ADREPLOG" onDelete="setnull">
         <reference local="AD_REPLICATIONTABLE_ID" foreign="AD_REPLICATIONTABLE_ID"/>
       </foreign-key>
-      <check name="ADREPLOG_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADREPLOG_ISREPLICATED_CHECK" condition="ISREPLICATED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADREPLOG_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADREPLOG_ISREPLICATED_CHECK"><![CDATA[ISREPLICATED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_REPLICATION_RUN.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_REPLICATION_RUN.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -22,7 +22,7 @@
       <foreign-key foreignTable="AD_REPLICATION" name="ADREPLICATION_ADREPRUN" onDelete="cascade">
         <reference local="AD_REPLICATION_ID" foreign="AD_REPLICATION_ID"/>
       </foreign-key>
-      <check name="ADREPRUN_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADREPRUN_ISREPLICATED_CHECK" condition="ISREPLICATED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADREPRUN_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADREPRUN_ISREPLICATED_CHECK"><![CDATA[ISREPLICATED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_REPORTVIEW.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_REPORTVIEW.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -23,6 +23,6 @@
       <foreign-key foreignTable="AD_TABLE" name="ADTABLE_ADREPORTVIEW" onDelete="cascade">
         <reference local="AD_TABLE_ID" foreign="AD_TABLE_ID"/>
       </foreign-key>
-      <check name="AD_REPORTVIEW_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_REPORTVIEW_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_REPORTVIEW_COL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_REPORTVIEW_COL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -25,7 +25,7 @@
       <foreign-key foreignTable="AD_REPORTVIEW" name="ADREPORTVIEW_COL">
         <reference local="AD_REPORTVIEW_ID" foreign="AD_REPORTVIEW_ID"/>
       </foreign-key>
-      <check name="ADREPVIEWCOL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADREPVIEWCOL_ISGROUPFUN_CHECK" condition="ISGROUPFUNCTION IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADREPVIEWCOL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADREPVIEWCOL_ISGROUPFUN_CHECK"><![CDATA[ISGROUPFUNCTION IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_ROLE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_ROLE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -31,6 +31,6 @@
       <foreign-key foreignTable="C_CURRENCY" name="C_CURRENCY_AD_ROLE">
         <reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
       </foreign-key>
-      <check name="AD_ROLE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_ROLE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_ROLE_ORGACCESS.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_ROLE_ORGACCESS.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -18,6 +18,6 @@
       <foreign-key foreignTable="AD_ROLE" name="ADROLE_ADROLEORGACCESS" onDelete="cascade">
         <reference local="AD_ROLE_ID" foreign="AD_ROLE_ID"/>
       </foreign-key>
-      <check name="AD_ROLE_ORGACCE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_ROLE_ORGACCE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_SEQUENCE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_SEQUENCE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -32,10 +32,10 @@
         <unique-column name="AD_CLIENT_ID"/>
         <unique-column name="NAME"/>
       </unique>
-      <check name="ADSEQ_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADSEQ_ISAUDITED_CHECK" condition="ISAUDITED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADSEQ_ISAUTOSEQUENCE_CHECK" condition="ISAUTOSEQUENCE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADSEQ_ISTABLEID_CHECK" condition="ISTABLEID IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADSEQ_STARTNEWYEAR_CHECK" condition="STARTNEWYEAR IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADSEQ_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADSEQ_ISAUDITED_CHECK"><![CDATA[ISAUDITED IN ('Y', 'N')]]></check>
+      <check name="ADSEQ_ISAUTOSEQUENCE_CHECK"><![CDATA[ISAUTOSEQUENCE IN ('Y', 'N')]]></check>
+      <check name="ADSEQ_ISTABLEID_CHECK"><![CDATA[ISTABLEID IN ('Y', 'N')]]></check>
+      <check name="ADSEQ_STARTNEWYEAR_CHECK"><![CDATA[STARTNEWYEAR IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_SEQUENCE_AUDIT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_SEQUENCE_AUDIT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -24,6 +24,6 @@
       <foreign-key foreignTable="AD_ORG" name="SEQUENCE_AUDITORG">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="AD_SEQUENCE_AUD_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_SEQUENCE_AUD_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_SEQUENCE_NO.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_SEQUENCE_NO.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -20,6 +20,6 @@
       <foreign-key foreignTable="AD_ORG" name="SEQUENCE_NOORG">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="AD_SEQUENCE_NO_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_SEQUENCE_NO_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_SYSTEM.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_SYSTEM.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -32,6 +32,6 @@
       <foreign-key foreignTable="AD_ORG" name="ADORG_ADSYSTEM">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="AD_SYSTEM_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_SYSTEM_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_TAB.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_TAB.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -79,11 +79,11 @@
         <unique-column name="AD_WINDOW_ID"/>
         <unique-column name="NAME"/>
       </unique>
-      <check name="ADTAB_HASTREE_CHECK" condition="HASTREE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADTAB_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADTAB_ISINFOTAB_CHECK" condition="ISINFOTAB IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADTAB_ISREADONLY_CHECK" condition="ISREADONLY IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADTAB_ISSINGLEROW_CHECK" condition="ISSINGLEROW IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADTAB_ISTRANSLATIONTAB_CHECK" condition="ISTRANSLATIONTAB IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADTAB_HASTREE_CHECK"><![CDATA[HASTREE IN ('Y', 'N')]]></check>
+      <check name="ADTAB_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADTAB_ISINFOTAB_CHECK"><![CDATA[ISINFOTAB IN ('Y', 'N')]]></check>
+      <check name="ADTAB_ISREADONLY_CHECK"><![CDATA[ISREADONLY IN ('Y', 'N')]]></check>
+      <check name="ADTAB_ISSINGLEROW_CHECK"><![CDATA[ISSINGLEROW IN ('Y', 'N')]]></check>
+      <check name="ADTAB_ISTRANSLATIONTAB_CHECK"><![CDATA[ISTRANSLATIONTAB IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_TABLE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_TABLE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -44,10 +44,10 @@
       <unique name="AD_TABLE_NAME">
         <unique-column name="NAME"/>
       </unique>
-      <check name="ADTABLE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADTABLE_ISDELETEABLE_CHECK" condition="ISDELETEABLE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADTABLE_ISHIGHVOLUME_CHECK" condition="ISHIGHVOLUME IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADTABLE_ISSECUR_YENABLED_CHECK" condition="ISSECURITYENABLED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADTABLE_ISVIEW_CHECK" condition="ISVIEW IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADTABLE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADTABLE_ISDELETEABLE_CHECK"><![CDATA[ISDELETEABLE IN ('Y', 'N')]]></check>
+      <check name="ADTABLE_ISHIGHVOLUME_CHECK"><![CDATA[ISHIGHVOLUME IN ('Y', 'N')]]></check>
+      <check name="ADTABLE_ISSECUR_YENABLED_CHECK"><![CDATA[ISSECURITYENABLED IN ('Y', 'N')]]></check>
+      <check name="ADTABLE_ISVIEW_CHECK"><![CDATA[ISVIEW IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_TAB_TRL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_TAB_TRL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -27,7 +27,7 @@
       <foreign-key foreignTable="AD_TAB" name="AD_TABTRL" onDelete="cascade">
         <reference local="AD_TAB_ID" foreign="AD_TAB_ID"/>
       </foreign-key>
-      <check name="ADTABTRL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADTABTRL_ISTRANSLATED_CHECK" condition="ISTRANSLATED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADTABTRL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADTABTRL_ISTRANSLATED_CHECK"><![CDATA[ISTRANSLATED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_TASK.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_TASK.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -26,6 +26,6 @@
         <unique-column name="AD_CLIENT_ID"/>
         <unique-column name="NAME"/>
       </unique>
-      <check name="AD_TASK_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_TASK_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_TASKINSTANCE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_TASKINSTANCE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -22,6 +22,6 @@
       <index name="AD_TASKINSTANCE_TASK" unique="false">
         <index-column name="AD_TASK_ID"/>
       </index>
-      <check name="AD_TASKINSTANCE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_TASKINSTANCE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_TASK_ACCESS.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_TASK_ACCESS.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -27,7 +27,7 @@
         <index-column name="AD_ROLE_ID"/>
         <index-column name="AD_TASK_ID"/>
       </index>
-      <check name="ADTASKACCESS_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADTASKACCESS_ISREADWRITE_CHECK" condition="ISREADWRITE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADTASKACCESS_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADTASKACCESS_ISREADWRITE_CHECK"><![CDATA[ISREADWRITE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_TASK_TRL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_TASK_TRL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -26,7 +26,7 @@
       <foreign-key foreignTable="AD_TASK" name="AD_TASKTRL" onDelete="cascade">
         <reference local="AD_TASK_ID" foreign="AD_TASK_ID"/>
       </foreign-key>
-      <check name="ADTASKTRL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADTASKTRL_ISTRANSLATED_CHECK" condition="ISTRANSLATED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADTASKTRL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADTASKTRL_ISTRANSLATED_CHECK"><![CDATA[ISTRANSLATED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_TEXTINTERFACES.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_TEXTINTERFACES.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -18,6 +18,6 @@
       <foreign-key foreignTable="AD_ORG" name="ADORG_ADTEXTINTERFACES">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="AD_TEXTINTERFACES_IN_ISACTIVE" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_TEXTINTERFACES_IN_ISACTIVE"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_TEXTINTERFACES_TRL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_TEXTINTERFACES_TRL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -28,7 +28,7 @@
         <index-column name="AD_LANGUAGE"/>
         <index-column name="AD_TEXTINTERFACES_ID"/>
       </index>
-      <check name="ADTEXTTRL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADTEXTTRL_ISTRANSLATED_CHECK" condition="ISTRANSLATED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADTEXTTRL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADTEXTTRL_ISTRANSLATED_CHECK"><![CDATA[ISTRANSLATED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_TREE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_TREE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -23,7 +23,7 @@
         <unique-column name="AD_CLIENT_ID"/>
         <unique-column name="NAME"/>
       </unique>
-      <check name="ADTREE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADTREE_ISALLNODES_CHECK" condition="ISALLNODES IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADTREE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADTREE_ISALLNODES_CHECK"><![CDATA[ISALLNODES IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_TREEBAR.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_TREEBAR.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -23,6 +23,6 @@
       <foreign-key foreignTable="AD_USER" name="ADUSER_ADTREEBAR" onDelete="cascade">
         <reference local="AD_USER_ID" foreign="AD_USER_ID"/>
       </foreign-key>
-      <check name="AD_TREEBAR_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_TREEBAR_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_TREENODE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_TREENODE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -24,6 +24,6 @@
       <index name="AD_TREENODE_PARENTID" unique="false">
         <index-column name="PARENT_ID"/>
       </index>
-      <check name="AD_TREENODE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_TREENODE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_TREENODEBP.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_TREENODEBP.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -24,6 +24,6 @@
       <index name="AD_TREENODEBP_PARENT" unique="false">
         <index-column name="PARENT_ID"/>
       </index>
-      <check name="AD_TREENODEBP_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_TREENODEBP_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_TREENODEMM.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_TREENODEMM.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -24,6 +24,6 @@
       <index name="AD_TREENODEMM_PARENT" unique="false">
         <index-column name="PARENT_ID"/>
       </index>
-      <check name="AD_TREENODEMM_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_TREENODEMM_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_TREENODEPR.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_TREENODEPR.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -24,6 +24,6 @@
       <index name="AD_TREENODEPR_PARENT" unique="false">
         <index-column name="PARENT_ID"/>
       </index>
-      <check name="AD_TREENODEPR_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_TREENODEPR_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_USER.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_USER.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -91,6 +91,6 @@
       <unique name="AD_USER_UN_USERNAME">
         <unique-column name="USERNAME"/>
       </unique>
-      <check name="AD_USER_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_USER_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_USERDEF_FIELD.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_USERDEF_FIELD.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -34,10 +34,10 @@
       <foreign-key foreignTable="AD_USERDEF_TAB" name="ADUSERDEFTAB_ADUSERDEFFIELD">
         <reference local="AD_USERDEF_TAB_ID" foreign="AD_USERDEF_TAB_ID"/>
       </foreign-key>
-      <check name="ADUSERDEFFIELD_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADUSERDEFFIELD_ISDISPLAY_CHECK" condition="ISDISPLAYED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADUSERDEFFIELD_ISUPDATE_CHECK" condition="ISUPDATEABLE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADUSERDEFFIELD_READONLY_CHECK" condition="ISREADONLY IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADUSERDEFFIELD_SAMELINE_CHECK" condition="ISSAMELINE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADUSERDEFFIELD_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADUSERDEFFIELD_ISDISPLAY_CHECK"><![CDATA[ISDISPLAYED IN ('Y', 'N')]]></check>
+      <check name="ADUSERDEFFIELD_ISUPDATE_CHECK"><![CDATA[ISUPDATEABLE IN ('Y', 'N')]]></check>
+      <check name="ADUSERDEFFIELD_READONLY_CHECK"><![CDATA[ISREADONLY IN ('Y', 'N')]]></check>
+      <check name="ADUSERDEFFIELD_SAMELINE_CHECK"><![CDATA[ISSAMELINE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_USERDEF_TAB.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_USERDEF_TAB.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -28,8 +28,8 @@
       <foreign-key foreignTable="AD_USERDEF_WIN" name="ADUSERDEFWIN_ADUSERDEFTAB">
         <reference local="AD_USERDEF_WIN_ID" foreign="AD_USERDEF_WIN_ID"/>
       </foreign-key>
-      <check name="ADUSERDEFTAB_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADUSERDEFTAB_ISREADONLY_CHECK" condition="ISREADONLY IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADUSERDEFTAB_ISSINGLEROW_CHECK" condition="ISSINGLEROW IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADUSERDEFTAB_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADUSERDEFTAB_ISREADONLY_CHECK"><![CDATA[ISREADONLY IN ('Y', 'N')]]></check>
+      <check name="ADUSERDEFTAB_ISSINGLEROW_CHECK"><![CDATA[ISSINGLEROW IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_USERDEF_WIN.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_USERDEF_WIN.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -33,8 +33,8 @@
       <foreign-key foreignTable="AD_WINDOW" name="ADWINDOW_ADUSERDEFWIN">
         <reference local="AD_WINDOW_ID" foreign="AD_WINDOW_ID"/>
       </foreign-key>
-      <check name="ADUSERDEFWIN_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADUSERDEFWIN_ISREADONLY_CHECK" condition="ISREADONLY IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADUSERDEFWIN_IS_DATEABLE_CHECK" condition="ISUSERUPDATEABLE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADUSERDEFWIN_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADUSERDEFWIN_ISREADONLY_CHECK"><![CDATA[ISREADONLY IN ('Y', 'N')]]></check>
+      <check name="ADUSERDEFWIN_IS_DATEABLE_CHECK"><![CDATA[ISUSERUPDATEABLE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_USER_ROLES.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_USER_ROLES.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -22,6 +22,6 @@
       <foreign-key foreignTable="AD_ORG" name="AD_USERROLESORG">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="AD_USER_ROLES_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_USER_ROLES_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_VAL_RULE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_VAL_RULE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -20,6 +20,6 @@
       <foreign-key foreignTable="AD_ORG" name="VAL_RULEORG">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="AD_VAL_RULE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_VAL_RULE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_WF_INSTANCE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_WF_INSTANCE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -26,6 +26,6 @@
       <index name="AD_WF_INSTANCE_WORKFLOW" unique="false">
         <index-column name="AD_WORKFLOW_ID"/>
       </index>
-      <check name="AD_WF_INSTANCE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_WF_INSTANCE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_WF_NODE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_WF_NODE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -50,7 +50,7 @@
       <index name="AD_WF_NODE_WORKFLOW" unique="false">
         <index-column name="AD_WORKFLOW_ID"/>
       </index>
-      <check name="ADWFNODE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADWFNODE_ISCENTMAINT_CHECK" condition="ISCENTRALLYMAINTAINED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADWFNODE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADWFNODE_ISCENTMAINT_CHECK"><![CDATA[ISCENTRALLYMAINTAINED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_WF_NODENEXT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_WF_NODENEXT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -23,6 +23,6 @@
       <foreign-key foreignTable="AD_ORG" name="WF_NODENEXTORG">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="ADWFNODENEXT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADWFNODENEXT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_WF_NODE_TRL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_WF_NODE_TRL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -30,7 +30,7 @@
         <index-column name="AD_WF_NODE_ID"/>
         <index-column name="AD_LANGUAGE"/>
       </index>
-      <check name="ADWFNODETRL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADWFNODETRL_ISTRANSLATED_CHECK" condition="ISTRANSLATED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADWFNODETRL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADWFNODETRL_ISTRANSLATED_CHECK"><![CDATA[ISTRANSLATED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_WINDOW.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_WINDOW.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -35,7 +35,7 @@
         <unique-column name="AD_CLIENT_ID"/>
         <unique-column name="NAME"/>
       </unique>
-      <check name="ADWINDOW_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADWINDOW_ISSOTRX_CHECK" condition="ISSOTRX IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADWINDOW_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADWINDOW_ISSOTRX_CHECK"><![CDATA[ISSOTRX IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_WINDOW_ACCESS.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_WINDOW_ACCESS.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -27,7 +27,7 @@
         <index-column name="AD_ROLE_ID"/>
         <index-column name="AD_WINDOW_ID"/>
       </index>
-      <check name="ADWINDOWACCESS_EADWRITE_CHECK" condition="ISREADWRITE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADWINDOWACCESS_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADWINDOWACCESS_EADWRITE_CHECK"><![CDATA[ISREADWRITE IN ('Y', 'N')]]></check>
+      <check name="ADWINDOWACCESS_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_WINDOW_TRL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_WINDOW_TRL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -26,7 +26,7 @@
       <foreign-key foreignTable="AD_WINDOW" name="AD_WINDOWTRL" onDelete="cascade">
         <reference local="AD_WINDOW_ID" foreign="AD_WINDOW_ID"/>
       </foreign-key>
-      <check name="ADWINDOWTRL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADWINDOWTRL_ISTRANSLATED_CHECK" condition="ISTRANSLATED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADWINDOWTRL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADWINDOWTRL_ISTRANSLATED_CHECK"><![CDATA[ISTRANSLATED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_WORKBENCH.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_WORKBENCH.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -35,6 +35,6 @@
       <foreign-key foreignTable="PA_GOAL" name="PAGOAL_ADWORKBENCH">
         <reference local="PA_GOAL_ID" foreign="PA_GOAL_ID"/>
       </foreign-key>
-      <check name="AD_WORKBENCH_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_WORKBENCH_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_WORKBENCHWINDOW.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_WORKBENCHWINDOW.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -38,7 +38,7 @@
       <foreign-key foreignTable="AD_WORKBENCH" name="ADWORKBENCH_ADWORKBENCHWINDOW">
         <reference local="AD_WORKBENCH_ID" foreign="AD_WORKBENCH_ID"/>
       </foreign-key>
-      <check name="ADWORKBENCHW_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADWORKBENCHW_ISPRIMARY_CHECK" condition="ISPRIMARY IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADWORKBENCHW_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADWORKBENCHW_ISPRIMARY_CHECK"><![CDATA[ISPRIMARY IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_WORKBENCH_TRL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_WORKBENCH_TRL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -26,7 +26,7 @@
       <foreign-key foreignTable="AD_WORKBENCH" name="ADWORKBENCH_ADWORKBENCHTRL">
         <reference local="AD_WORKBENCH_ID" foreign="AD_WORKBENCH_ID"/>
       </foreign-key>
-      <check name="ADWORKBTRL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADWORKBTRL_ISTRANSLATED_CHECK" condition="ISTRANSLATED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADWORKBTRL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADWORKBTRL_ISTRANSLATED_CHECK"><![CDATA[ISTRANSLATED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_WORKFLOW.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_WORKFLOW.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -28,6 +28,6 @@
         <unique-column name="AD_CLIENT_ID"/>
         <unique-column name="NAME"/>
       </unique>
-      <check name="AD_WORKFLOW_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AD_WORKFLOW_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_WORKFLOW_ACCESS.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_WORKFLOW_ACCESS.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -27,7 +27,7 @@
         <index-column name="AD_ROLE_ID"/>
         <index-column name="AD_WORKFLOW_ID"/>
       </index>
-      <check name="ADWORKFLOWAC_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADWORKFLOWAC_ISREADWRITE_CHECK" condition="ISREADWRITE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADWORKFLOWAC_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADWORKFLOWAC_ISREADWRITE_CHECK"><![CDATA[ISREADWRITE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AD_WORKFLOW_TRL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AD_WORKFLOW_TRL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -26,7 +26,7 @@
       <foreign-key foreignTable="AD_WORKFLOW" name="AD_WORKFLOWTRL" onDelete="cascade">
         <reference local="AD_WORKFLOW_ID" foreign="AD_WORKFLOW_ID"/>
       </foreign-key>
-      <check name="ADWORKFLOWTRL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ADWORKFLOWTRL_ISTRANS_CHECK" condition="ISTRANSLATED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ADWORKFLOWTRL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ADWORKFLOWTRL_ISTRANS_CHECK"><![CDATA[ISTRANSLATED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AT_COMMAND.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AT_COMMAND.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -28,12 +28,12 @@
       <foreign-key foreignTable="AD_ORG" name="AD_ORG_ATCOMMAND">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="ATCOMMANDLINEINTERCH_CHECK" condition="LINE_INTERCHANGE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ATCOMMAND_HASPREFIX_CHECK" condition="HAS_PREFIX IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ATCOMMAND_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ATCOMMAND_REMFRAME_CHECK" condition="REMEMBER_FRAME IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ATCOMMAND_REMTAB_CHECK" condition="REMEMBER_TAB IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ATCOMMAND_REMWINDOW_CHECK" condition="REMEMBER_WINDOW IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ATCOMMAND_WRITEABLE_CHECK" condition="CHECK_WRITEABLE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ATCOMMANDLINEINTERCH_CHECK"><![CDATA[LINE_INTERCHANGE IN ('Y', 'N')]]></check>
+      <check name="ATCOMMAND_HASPREFIX_CHECK"><![CDATA[HAS_PREFIX IN ('Y', 'N')]]></check>
+      <check name="ATCOMMAND_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ATCOMMAND_REMFRAME_CHECK"><![CDATA[REMEMBER_FRAME IN ('Y', 'N')]]></check>
+      <check name="ATCOMMAND_REMTAB_CHECK"><![CDATA[REMEMBER_TAB IN ('Y', 'N')]]></check>
+      <check name="ATCOMMAND_REMWINDOW_CHECK"><![CDATA[REMEMBER_WINDOW IN ('Y', 'N')]]></check>
+      <check name="ATCOMMAND_WRITEABLE_CHECK"><![CDATA[CHECK_WRITEABLE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AT_COMMAND_TRL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AT_COMMAND_TRL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -28,7 +28,7 @@
       <foreign-key foreignTable="AT_COMMAND" name="AT_COMMANDTRL">
         <reference local="AT_COMMAND_ID" foreign="AT_COMMAND_ID"/>
       </foreign-key>
-      <check name="ATCOMMANDTRL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ATCOMMANDTRL_IS_ANSLATED_CHECK" condition="ISTRANSLATED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ATCOMMANDTRL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ATCOMMANDTRL_IS_ANSLATED_CHECK"><![CDATA[ISTRANSLATED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AT_LINE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AT_LINE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -36,6 +36,6 @@
       <foreign-key foreignTable="AT_TEST" name="CHILD_TEST_ATLINE">
         <reference local="CHILD_TEST" foreign="AT_TEST_ID"/>
       </foreign-key>
-      <check name="AT_LINE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AT_LINE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AT_ROLLOGIN.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AT_ROLLOGIN.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -20,6 +20,6 @@
       <foreign-key foreignTable="AT_TEST" name="AT_TEST_ATROLLOGIN">
         <reference local="AT_TEST_ID" foreign="AT_TEST_ID"/>
       </foreign-key>
-      <check name="AT_ROLLOGIN_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AT_ROLLOGIN_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AT_TEST.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AT_TEST.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -29,6 +29,6 @@
       <foreign-key foreignTable="AT_ROLLOGIN" name="ATROLLOGIN_ATTEST">
         <reference local="AT_ROLLOGIN_ID" foreign="AT_ROLLOGIN_ID"/>
       </foreign-key>
-      <check name="AT_TEST_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AT_TEST_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AT_TESTDOCUMENT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AT_TESTDOCUMENT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -32,9 +32,9 @@
       <foreign-key foreignTable="AD_ORG" name="AD_ORG_ATTESTDOCUMENT">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="ATTESTDOCUMENT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ATTESTDOCUMENT_LINEINTER_CHECK" condition="LINE_INTERCHANGER IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ATTESTDOCUMENT_ODUCTION_CHECK" condition="INTRODUCTION IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ATTESTDOCUMENT_PREFIX_CHECK" condition="PREFIX IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ATTESTDOCUMENT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="ATTESTDOCUMENT_LINEINTER_CHECK"><![CDATA[LINE_INTERCHANGER IN ('Y', 'N')]]></check>
+      <check name="ATTESTDOCUMENT_ODUCTION_CHECK"><![CDATA[INTRODUCTION IN ('Y', 'N')]]></check>
+      <check name="ATTESTDOCUMENT_PREFIX_CHECK"><![CDATA[PREFIX IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/AT_TESTDOCUMENTLINE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/AT_TESTDOCUMENTLINE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -38,6 +38,6 @@
         <unique-column name="AT_TESTDOCUMENT_ID"/>
         <unique-column name="AT_COMMAND_ID"/>
       </unique>
-      <check name="AT_TESTDOCL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AT_TESTDOCL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/A_AMORTIZATION.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/A_AMORTIZATION.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -43,6 +43,6 @@
       <foreign-key foreignTable="C_PROJECT" name="A_AMORTIZA_PROJECT">
         <reference local="C_PROJECT_ID" foreign="C_PROJECT_ID"/>
       </foreign-key>
-      <check name="A_AMORTIZATION_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="A_AMORTIZATION_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/A_AMORTIZATIONLINE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/A_AMORTIZATIONLINE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -30,6 +30,6 @@
       <foreign-key foreignTable="AD_ORG" name="A_AMORTIZATIONLINE_ORG">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="A_AMORTIZATIONL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="A_AMORTIZATIONL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/A_ASSET.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/A_ASSET.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -93,9 +93,9 @@
       <foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_AASSET">
         <reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
       </foreign-key>
-      <check name="AASSET_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="AASSET_ISDISPOSED_CHECK" condition="ISDISPOSED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="AASSET_ISINPOSESSION_CHECK" condition="ISINPOSESSION IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="AASSET_ISOWNED_CHECK" condition="ISOWNED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AASSET_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="AASSET_ISDISPOSED_CHECK"><![CDATA[ISDISPOSED IN ('Y', 'N')]]></check>
+      <check name="AASSET_ISINPOSESSION_CHECK"><![CDATA[ISINPOSESSION IN ('Y', 'N')]]></check>
+      <check name="AASSET_ISOWNED_CHECK"><![CDATA[ISOWNED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/A_ASSET_ACCT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/A_ASSET_ACCT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -38,6 +38,6 @@
       <foreign-key foreignTable="C_VALIDCOMBINATION" name="CVALIDCOMBINATION_AASSETACCT3">
         <reference local="A_ACCUMDEPRECIATION_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
       </foreign-key>
-      <check name="A_ASSET_ACCT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="A_ASSET_ACCT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/A_ASSET_ADDITION.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/A_ASSET_ADDITION.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -18,6 +18,6 @@
       <foreign-key foreignTable="C_INVOICELINE" name="CINVOICELINE_AASSETADDITION">
         <reference local="C_INVOICELINE_ID" foreign="C_INVOICELINE_ID"/>
       </foreign-key>
-      <check name="A_ASSET_ADDITIO_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="A_ASSET_ADDITIO_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/A_ASSET_CHANGE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/A_ASSET_CHANGE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -31,6 +31,6 @@
       <foreign-key foreignTable="A_ASSET" name="REFA_ASSET1651">
         <reference local="A_ASSET_ID" foreign="A_ASSET_ID"/>
       </foreign-key>
-      <check name="A_ASSET_CHANGE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="A_ASSET_CHANGE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/A_ASSET_CHANGE_AMT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/A_ASSET_CHANGE_AMT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -20,6 +20,6 @@
       <foreign-key foreignTable="C_ACCTSCHEMA" name="CACCTSCHEMA_AASSETCHANGEAMT">
         <reference local="C_ACCTSCHEMA_ID" foreign="C_ACCTSCHEMA_ID"/>
       </foreign-key>
-      <check name="ASSETCHAMT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ASSETCHAMT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/A_ASSET_DELIVERY.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/A_ASSET_DELIVERY.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -39,6 +39,6 @@
       <foreign-key foreignTable="M_INOUTLINE" name="MOUTLINE_AASSETDELIVERY" onDelete="cascade">
         <reference local="M_INOUTLINE_ID" foreign="M_INOUTLINE_ID"/>
       </foreign-key>
-      <check name="A_ASSET_DELIVER_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="A_ASSET_DELIVER_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/A_ASSET_GROUP.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/A_ASSET_GROUP.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -20,7 +20,7 @@
       <foreign-key foreignTable="AD_ORG" name="ADORG_AASSETGROUP">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="AASSETGROUP_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="AASSETGROUP_ISOWNED_CHECK" condition="ISOWNED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="AASSETGROUP_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="AASSETGROUP_ISOWNED_CHECK"><![CDATA[ISOWNED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/A_ASSET_GROUP_ACCT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/A_ASSET_GROUP_ACCT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -39,6 +39,6 @@
       <foreign-key foreignTable="C_VALIDCOMBINATION" name="CVALIDCOMBINATION_AASSETGROUPA">
         <reference local="A_DISPOSAL_GAIN" foreign="C_VALIDCOMBINATION_ID"/>
       </foreign-key>
-      <check name="A_ASSET_GROUP_A_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="A_ASSET_GROUP_A_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/A_ASSET_RETIREMENT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/A_ASSET_RETIREMENT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -25,6 +25,6 @@
       <foreign-key foreignTable="C_INVOICELINE" name="CINVOICELINE_AASSETRETIREMENT">
         <reference local="C_INVOICELINE_ID" foreign="C_INVOICELINE_ID"/>
       </foreign-key>
-      <check name="A_ASSET_RETIREM_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="A_ASSET_RETIREM_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/A_ASSET_USE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/A_ASSET_USE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -16,6 +16,6 @@
       <foreign-key foreignTable="A_ASSET" name="AASSET_AASSETUSE">
         <reference local="A_ASSET_ID" foreign="A_ASSET_ID"/>
       </foreign-key>
-      <check name="A_ASSET_USE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="A_ASSET_USE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/A_DEPRECIATION.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/A_DEPRECIATION.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -19,6 +19,6 @@
       <foreign-key foreignTable="AD_ORG" name="ADORG_ADEPRECIATION">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="A_DEPRECIATION_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="A_DEPRECIATION_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_ACCTSCHEMA.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_ACCTSCHEMA.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -40,12 +40,12 @@
         <unique-column name="AD_CLIENT_ID"/>
         <unique-column name="NAME"/>
       </unique>
-      <check name="CACCTSCHEMA_AUTOPERCONT_CHECK" condition="AUTOPERIODCONTROL IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CACCTSCHEMA_HASALIAS_CHECK" condition="HASALIAS IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CACCTSCHEMA_HASCOMBINAT_CHECK" condition="HASCOMBINATION IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CACCTSCHEMA_ISACCRUAL_CHECK" condition="ISACCRUAL IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CACCTSCHEMA_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CACCTSCHEMA_ISDISCCORTAX_CHECK" condition="ISDISCOUNTCORRECTSTAX IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CACCTSCHEMA_ISTRADPOSTED_CHECK" condition="ISTRADEDISCOUNTPOSTED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="CACCTSCHEMA_AUTOPERCONT_CHECK"><![CDATA[AUTOPERIODCONTROL IN ('Y', 'N')]]></check>
+      <check name="CACCTSCHEMA_HASALIAS_CHECK"><![CDATA[HASALIAS IN ('Y', 'N')]]></check>
+      <check name="CACCTSCHEMA_HASCOMBINAT_CHECK"><![CDATA[HASCOMBINATION IN ('Y', 'N')]]></check>
+      <check name="CACCTSCHEMA_ISACCRUAL_CHECK"><![CDATA[ISACCRUAL IN ('Y', 'N')]]></check>
+      <check name="CACCTSCHEMA_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="CACCTSCHEMA_ISDISCCORTAX_CHECK"><![CDATA[ISDISCOUNTCORRECTSTAX IN ('Y', 'N')]]></check>
+      <check name="CACCTSCHEMA_ISTRADPOSTED_CHECK"><![CDATA[ISTRADEDISCOUNTPOSTED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_ACCTSCHEMA_DEFAULT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_ACCTSCHEMA_DEFAULT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -265,6 +265,6 @@
       <foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_WRITEOFF_CSCHEMADEFAULT">
         <reference local="WRITEOFF_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
       </foreign-key>
-      <check name="C_ACCTSCHEMA_DE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_ACCTSCHEMA_DE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_ACCTSCHEMA_ELEMENT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_ACCTSCHEMA_ELEMENT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -67,8 +67,8 @@
       <index name="C_ACCTSCHEMA_ELEMENT_SCHEMA" unique="false">
         <index-column name="C_ACCTSCHEMA_ID"/>
       </index>
-      <check name="CACCTSCHEL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CACCTSCHEL_ISBALANCED_CHECK" condition="ISBALANCED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CACCTSCHEL_ISMANDATORY_CHECK" condition="ISMANDATORY IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="CACCTSCHEL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="CACCTSCHEL_ISBALANCED_CHECK"><![CDATA[ISBALANCED IN ('Y', 'N')]]></check>
+      <check name="CACCTSCHEL_ISMANDATORY_CHECK"><![CDATA[ISMANDATORY IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_ACCTSCHEMA_GL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_ACCTSCHEMA_GL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -54,9 +54,9 @@
       <foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_SUSPENSEERROR_CSCHEMAGL">
         <reference local="SUSPENSEERROR_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
       </foreign-key>
-      <check name="CACCTSCHEMAGL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CACCTSCHEMAGL_USECURBAL_CHECK" condition="USECURRENCYBALANCING IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CACCTSCHEMAGL_USESUSPENB_CHECK" condition="USESUSPENSEBALANCING IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CACCTSCHEMAGL_U_SPEERROR_CHECK" condition="USESUSPENSEERROR IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="CACCTSCHEMAGL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="CACCTSCHEMAGL_USECURBAL_CHECK"><![CDATA[USECURRENCYBALANCING IN ('Y', 'N')]]></check>
+      <check name="CACCTSCHEMAGL_USESUSPENB_CHECK"><![CDATA[USESUSPENSEBALANCING IN ('Y', 'N')]]></check>
+      <check name="CACCTSCHEMAGL_U_SPEERROR_CHECK"><![CDATA[USESUSPENSEERROR IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_ACCTSCHEMA_TABLE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_ACCTSCHEMA_TABLE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -28,6 +28,6 @@
         <unique-column name="C_ACCTSCHEMA_ID"/>
         <unique-column name="AD_TABLE_ID"/>
       </unique>
-      <check name="C_ACCTSCHEMA_TA_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_ACCTSCHEMA_TA_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_ACTIVITY.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_ACTIVITY.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -24,6 +24,6 @@
         <unique-column name="AD_CLIENT_ID"/>
         <unique-column name="VALUE"/>
       </unique>
-      <check name="C_ACTIVITY_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_ACTIVITY_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_APPROVAL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_APPROVAL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -28,9 +28,9 @@
         <unique-column name="AD_CLIENT_ID"/>
         <unique-column name="NAME"/>
       </unique>
-      <check name="CAPPROVAL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CAPPROVAL_ISAMO_APPROVED_CHECK" condition="ISAMOUNTAPPROVED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CAPPROVAL_ISPRO_APPROVED_CHECK" condition="ISPRODUCTATTRIBUTEAPPROVED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CAPPROVAL_ISWOR_APPROVED_CHECK" condition="ISWORKFLOWAPPROVED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="CAPPROVAL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="CAPPROVAL_ISAMO_APPROVED_CHECK"><![CDATA[ISAMOUNTAPPROVED IN ('Y', 'N')]]></check>
+      <check name="CAPPROVAL_ISPRO_APPROVED_CHECK"><![CDATA[ISPRODUCTATTRIBUTEAPPROVED IN ('Y', 'N')]]></check>
+      <check name="CAPPROVAL_ISWOR_APPROVED_CHECK"><![CDATA[ISWORKFLOWAPPROVED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_BANK.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_BANK.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -31,7 +31,7 @@
       <foreign-key foreignTable="C_LOCATION" name="CLOCATION_CBANK">
         <reference local="C_LOCATION_ID" foreign="C_LOCATION_ID"/>
       </foreign-key>
-      <check name="CBANK_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CBANK_ISOWNBANK_CHECK" condition="ISOWNBANK IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="CBANK_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="CBANK_ISOWNBANK_CHECK"><![CDATA[ISOWNBANK IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_BANKACCOUNT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_BANKACCOUNT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -34,6 +34,6 @@
       <index name="C_BANKACCT_BANK" unique="false">
         <index-column name="C_BANK_ID"/>
       </index>
-      <check name="C_BANKACCOUNT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_BANKACCOUNT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_BANKACCOUNTDOC.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_BANKACCOUNTDOC.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -27,6 +27,6 @@
       <foreign-key foreignTable="C_BANKACCOUNT" name="CBANKACCOUNT_CBADOC" onDelete="cascade">
         <reference local="C_BANKACCOUNT_ID" foreign="C_BANKACCOUNT_ID"/>
       </foreign-key>
-      <check name="C_BANKACCOUNTDO_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_BANKACCOUNTDO_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_BANKACCOUNT_ACCT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_BANKACCOUNT_ACCT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -70,6 +70,6 @@
       <foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BUNIDENTIFIED_CBANKACCOUNT">
         <reference local="B_UNIDENTIFIED_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
       </foreign-key>
-      <check name="C_BANKACCOUNT_A_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_BANKACCOUNT_A_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_BANKSTATEMENT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_BANKSTATEMENT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -33,9 +33,9 @@
       <index name="C_BANKSTMT_UPDATED" unique="false">
         <index-column name="UPDATED"/>
       </index>
-      <check name="C_BANKSTATEMENT_EATEFROM_CHECK" condition="CREATEFROM IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_BANKSTATEMENT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_BANKSTATEMENT_ISMANUAL_CHECK" condition="ISMANUAL IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_BANKSTATEMENT_ROCESSED_CHECK" condition="PROCESSED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_BANKSTATEMENT_EATEFROM_CHECK"><![CDATA[CREATEFROM IN ('Y', 'N')]]></check>
+      <check name="C_BANKSTATEMENT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="C_BANKSTATEMENT_ISMANUAL_CHECK"><![CDATA[ISMANUAL IN ('Y', 'N')]]></check>
+      <check name="C_BANKSTATEMENT_ROCESSED_CHECK"><![CDATA[PROCESSED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_BANKSTATEMENTLINE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_BANKSTATEMENTLINE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -50,7 +50,7 @@
       <index name="C_BANKSTMTLINE_BANKSTMT" unique="false">
         <index-column name="C_BANKSTATEMENT_ID"/>
       </index>
-      <check name="C_BANKSTATLN_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_BANKSTATLN_ISREVERSAL_CHECK" condition="ISREVERSAL IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_BANKSTATLN_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="C_BANKSTATLN_ISREVERSAL_CHECK"><![CDATA[ISREVERSAL IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_BPARTNER.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_BPARTNER.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -154,17 +154,17 @@
         <unique-column name="AD_CLIENT_ID"/>
         <unique-column name="VALUE"/>
       </unique>
-      <check name="CBPARTNER_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CBPARTNER_ISCUSTOMER_CHECK" condition="ISCUSTOMER IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CBPARTNER_ISDIS_TPRINTED_CHECK" condition="ISDISCOUNTPRINTED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CBPARTNER_ISEMPLOYEE_CHECK" condition="ISEMPLOYEE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CBPARTNER_ISONETIME_CHECK" condition="ISONETIME IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CBPARTNER_ISPROSPECT_CHECK" condition="ISPROSPECT IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CBPARTNER_ISSALESREP_CHECK" condition="ISSALESREP IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CBPARTNER_ISSUMMARY_CHECK" condition="ISSUMMARY IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CBPARTNER_ISTAXEXEMPT_CHECK" condition="ISTAXEXEMPT IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CBPARTNER_ISVENDOR_CHECK" condition="ISVENDOR IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CBPARTNER_SHOWPRICE_CHECK" condition="SHOWPRICEINORDER IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="INVOICERULE_CK_CBPARTNER" condition="(INVOICERULE &lt;&gt; &apos;S&apos;) OR (C_INVOICESCHEDULE_ID IS NOT NULL)"/>
+      <check name="CBPARTNER_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="CBPARTNER_ISCUSTOMER_CHECK"><![CDATA[ISCUSTOMER IN ('Y', 'N')]]></check>
+      <check name="CBPARTNER_ISDIS_TPRINTED_CHECK"><![CDATA[ISDISCOUNTPRINTED IN ('Y', 'N')]]></check>
+      <check name="CBPARTNER_ISEMPLOYEE_CHECK"><![CDATA[ISEMPLOYEE IN ('Y', 'N')]]></check>
+      <check name="CBPARTNER_ISONETIME_CHECK"><![CDATA[ISONETIME IN ('Y', 'N')]]></check>
+      <check name="CBPARTNER_ISPROSPECT_CHECK"><![CDATA[ISPROSPECT IN ('Y', 'N')]]></check>
+      <check name="CBPARTNER_ISSALESREP_CHECK"><![CDATA[ISSALESREP IN ('Y', 'N')]]></check>
+      <check name="CBPARTNER_ISSUMMARY_CHECK"><![CDATA[ISSUMMARY IN ('Y', 'N')]]></check>
+      <check name="CBPARTNER_ISTAXEXEMPT_CHECK"><![CDATA[ISTAXEXEMPT IN ('Y', 'N')]]></check>
+      <check name="CBPARTNER_ISVENDOR_CHECK"><![CDATA[ISVENDOR IN ('Y', 'N')]]></check>
+      <check name="CBPARTNER_SHOWPRICE_CHECK"><![CDATA[SHOWPRICEINORDER IN ('Y', 'N')]]></check>
+      <check name="INVOICERULE_CK_CBPARTNER"><![CDATA[(INVOICERULE <> 'S') OR (C_INVOICESCHEDULE_ID IS NOT NULL)]]></check>
     </table>
   </database>
--- a/database/model/tables/C_BPARTNER_LOCATION.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_BPARTNER_LOCATION.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -44,10 +44,10 @@
       <index name="C_BPLOCATION_UPDATED" unique="false">
         <index-column name="UPDATED"/>
       </index>
-      <check name="CBPARTLOC_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CBPARTLOC_ISBILLTO_CHECK" condition="ISBILLTO IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CBPARTLOC_ISPAYFROM_CHECK" condition="ISPAYFROM IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CBPARTLOC_ISREMITTO_CHECK" condition="ISREMITTO IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CBPARTLOC_ISSHIPTO_CHECK" condition="ISSHIPTO IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="CBPARTLOC_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="CBPARTLOC_ISBILLTO_CHECK"><![CDATA[ISBILLTO IN ('Y', 'N')]]></check>
+      <check name="CBPARTLOC_ISPAYFROM_CHECK"><![CDATA[ISPAYFROM IN ('Y', 'N')]]></check>
+      <check name="CBPARTLOC_ISREMITTO_CHECK"><![CDATA[ISREMITTO IN ('Y', 'N')]]></check>
+      <check name="CBPARTLOC_ISSHIPTO_CHECK"><![CDATA[ISSHIPTO IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_BP_BANKACCOUNT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_BP_BANKACCOUNT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -51,7 +51,7 @@
       <index name="C_BPBANKACCT_BPARTNER" unique="false">
         <index-column name="C_BPARTNER_ID"/>
       </index>
-      <check name="CBPBANKACCOUNT_ISACH_CHECK" condition="ISACH IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CBPBANKACCOUNT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="CBPBANKACCOUNT_ISACH_CHECK"><![CDATA[ISACH IN ('Y', 'N')]]></check>
+      <check name="CBPBANKACCOUNT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_BP_CUSTOMER_ACCT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_BP_CUSTOMER_ACCT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -38,6 +38,6 @@
         <unique-column name="STATUS"/>
         <unique-column name="C_ACCTSCHEMA_ID"/>
       </unique>
-      <check name="C_BP_CUSTOMER_A_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_BP_CUSTOMER_A_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_BP_EDI.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_BP_EDI.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -43,12 +43,12 @@
       <foreign-key foreignTable="M_WAREHOUSE" name="MWAREHOUSE_CBPEDI">
         <reference local="M_WAREHOUSE_ID" foreign="M_WAREHOUSE_ID"/>
       </foreign-key>
-      <check name="CBPEDI_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CBPEDI_ISAUDITED_CHECK" condition="ISAUDITED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CBPEDI_ISINFOSENT_CHECK" condition="ISINFOSENT IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CBPEDI_REINQUIRYREPLY_CHECK" condition="RECEIVEINQUIRYREPLY IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CBPEDI_REORDERREPLY_CHECK" condition="RECEIVEORDERREPLY IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CBPEDI_SENDINQUIRY_CHECK" condition="SENDINQUIRY IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CBPEDI_SENDORDER_CHECK" condition="SENDORDER IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="CBPEDI_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="CBPEDI_ISAUDITED_CHECK"><![CDATA[ISAUDITED IN ('Y', 'N')]]></check>
+      <check name="CBPEDI_ISINFOSENT_CHECK"><![CDATA[ISINFOSENT IN ('Y', 'N')]]></check>
+      <check name="CBPEDI_REINQUIRYREPLY_CHECK"><![CDATA[RECEIVEINQUIRYREPLY IN ('Y', 'N')]]></check>
+      <check name="CBPEDI_REORDERREPLY_CHECK"><![CDATA[RECEIVEORDERREPLY IN ('Y', 'N')]]></check>
+      <check name="CBPEDI_SENDINQUIRY_CHECK"><![CDATA[SENDINQUIRY IN ('Y', 'N')]]></check>
+      <check name="CBPEDI_SENDORDER_CHECK"><![CDATA[SENDORDER IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_BP_EMPLOYEE_ACCT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_BP_EMPLOYEE_ACCT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -30,6 +30,6 @@
       <foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_EPREPAYMENT_CBPEMPLOYEE">
         <reference local="E_PREPAYMENT_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
       </foreign-key>
-      <check name="C_BP_EMPLOYEE_A_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_BP_EMPLOYEE_A_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_BP_GROUP.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_BP_GROUP.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -23,6 +23,6 @@
         <unique-column name="AD_CLIENT_ID"/>
         <unique-column name="VALUE"/>
       </unique>
-      <check name="C_BP_GROUP_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_BP_GROUP_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_BP_GROUP_ACCT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_BP_GROUP_ACCT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -89,6 +89,6 @@
       <foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_WRITEOFF_CBPGROUP">
         <reference local="WRITEOFF_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
       </foreign-key>
-      <check name="C_BP_GROUP_ACCT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_BP_GROUP_ACCT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_BP_VENDOR_ACCT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_BP_VENDOR_ACCT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -42,6 +42,6 @@
         <unique-column name="AD_ORG_ID"/>
         <unique-column name="STATUS"/>
       </unique>
-      <check name="C_BP_VENDOR_ACC_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_BP_VENDOR_ACC_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_BP_WITHHOLDING.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_BP_WITHHOLDING.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -25,8 +25,8 @@
       <foreign-key foreignTable="C_WITHHOLDING" name="CWITHHOLDING_CBPWITHHOLDING">
         <reference local="C_WITHHOLDING_ID" foreign="C_WITHHOLDING_ID"/>
       </foreign-key>
-      <check name="CBPWITHHOLDING_DHOLDING_CHECK" condition="ISMANDATORYWITHHOLDING IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CBPWITHHOLDING_EMEXEMPT_CHECK" condition="ISTEMPORARYEXEMPT IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CBPWITHHOLDING_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="CBPWITHHOLDING_DHOLDING_CHECK"><![CDATA[ISMANDATORYWITHHOLDING IN ('Y', 'N')]]></check>
+      <check name="CBPWITHHOLDING_EMEXEMPT_CHECK"><![CDATA[ISTEMPORARYEXEMPT IN ('Y', 'N')]]></check>
+      <check name="CBPWITHHOLDING_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_BUDGET.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_BUDGET.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -24,6 +24,6 @@
       <foreign-key foreignTable="C_YEAR" name="BUDGETYEAR">
         <reference local="C_YEAR_ID" foreign="C_YEAR_ID"/>
       </foreign-key>
-      <check name="C_BUDGET_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_BUDGET_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_BUDGETLINE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_BUDGETLINE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -84,6 +84,6 @@
       <foreign-key foreignTable="C_CAMPAIGN" name="SO_CAMPAIGN_C_BUDGETLINE">
         <reference local="C_CAMPAIGN_ID" foreign="C_CAMPAIGN_ID"/>
       </foreign-key>
-      <check name="C_BUDGETLINE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_BUDGETLINE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_CALENDAR.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_CALENDAR.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -21,6 +21,6 @@
         <unique-column name="AD_CLIENT_ID"/>
         <unique-column name="NAME"/>
       </unique>
-      <check name="C_CALENDAR_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_CALENDAR_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_CAMPAIGN.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_CAMPAIGN.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -29,6 +29,6 @@
         <unique-column name="AD_CLIENT_ID"/>
         <unique-column name="VALUE"/>
       </unique>
-      <check name="C_CAMPAIGN_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_CAMPAIGN_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_CASH.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_CASH.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -50,7 +50,7 @@
       <index name="C_CASH_UPDATED" unique="false">
         <index-column name="UPDATED"/>
       </index>
-      <check name="CCASH_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CCASH_PROCESSED_CHECK" condition="PROCESSED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="CCASH_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="CCASH_PROCESSED_CHECK"><![CDATA[PROCESSED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_CASHBOOK.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_CASHBOOK.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -22,6 +22,6 @@
       <foreign-key foreignTable="C_CURRENCY" name="CCURRENCY_CCASHBOOK">
         <reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
       </foreign-key>
-      <check name="C_CASHBOOK_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_CASHBOOK_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_CASHBOOK_ACCT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_CASHBOOK_ACCT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -42,6 +42,6 @@
       <foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_CBRECEIPT_CCASHBOOK">
         <reference local="CB_RECEIPT_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
       </foreign-key>
-      <check name="C_CASHBOOK_ACCT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_CASHBOOK_ACCT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_CASHLINE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_CASHLINE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -51,8 +51,8 @@
       <unique name="C_CASHLINE_DEBT_PAYMENT">
         <unique-column name="C_DEBT_PAYMENT_ID"/>
       </unique>
-      <check name="CASHTYPE_CH_PAYMENT" condition="(CASHTYPE &lt;&gt; &apos;P&apos;) OR (C_DEBT_PAYMENT_ID IS NOT NULL)"/>
-      <check name="CCASHLINE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CCASHLINE_ISGENERATED_CHECK" condition="ISGENERATED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="CASHTYPE_CH_PAYMENT"><![CDATA[(CASHTYPE <> 'P') OR (C_DEBT_PAYMENT_ID IS NOT NULL)]]></check>
+      <check name="CCASHLINE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="CCASHLINE_ISGENERATED_CHECK"><![CDATA[ISGENERATED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_CHANNEL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_CHANNEL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -21,6 +21,6 @@
         <unique-column name="AD_CLIENT_ID"/>
         <unique-column name="NAME"/>
       </unique>
-      <check name="C_CHANNEL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_CHANNEL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_CHARGE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_CHARGE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -25,8 +25,8 @@
       <foreign-key foreignTable="C_TAXCATEGORY" name="CTAXCATEGORY_CCHARGE">
         <reference local="C_TAXCATEGORY_ID" foreign="C_TAXCATEGORY_ID"/>
       </foreign-key>
-      <check name="CCHARGE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CCHARGE_ISSAMECURRENCY_CHECK" condition="ISSAMECURRENCY IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CCHARGE_ISSAMETAX_CHECK" condition="ISSAMETAX IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="CCHARGE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="CCHARGE_ISSAMECURRENCY_CHECK"><![CDATA[ISSAMECURRENCY IN ('Y', 'N')]]></check>
+      <check name="CCHARGE_ISSAMETAX_CHECK"><![CDATA[ISSAMETAX IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_CHARGE_ACCT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_CHARGE_ACCT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -30,6 +30,6 @@
       <foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_CHREVENUE_CCHARGE">
         <reference local="CH_REVENUE_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
       </foreign-key>
-      <check name="C_CHARGE_ACCT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_CHARGE_ACCT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_CITY.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_CITY.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -28,6 +28,6 @@
       <foreign-key foreignTable="AD_ORG" name="C_CITYORG">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="C_CITY_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_CITY_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_COMMISSION.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_COMMISSION.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -35,8 +35,8 @@
       <foreign-key foreignTable="M_PRODUCT" name="M_PRODUCT_CCOMMISSION">
         <reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
       </foreign-key>
-      <check name="CCOMMISSION_CREATEFROM_CHECK" condition="CREATEFROM IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CCOMMISSION_LISTDETAILS_CHECK" condition="LISTDETAILS IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_COMMISSION_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="CCOMMISSION_CREATEFROM_CHECK"><![CDATA[CREATEFROM IN ('Y', 'N')]]></check>
+      <check name="CCOMMISSION_LISTDETAILS_CHECK"><![CDATA[LISTDETAILS IN ('Y', 'N')]]></check>
+      <check name="C_COMMISSION_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_COMMISSIONAMT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_COMMISSIONAMT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -32,6 +32,6 @@
       <index name="C_COMMISSIONAMT_RUN" unique="false">
         <index-column name="C_COMMISSIONRUN_ID"/>
       </index>
-      <check name="C_COMMISSIONAMT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_COMMISSIONAMT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_COMMISSIONDETAIL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_COMMISSIONDETAIL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -36,6 +36,6 @@
       <foreign-key foreignTable="C_ORDERLINE" name="CORDERLINE_CCOMMISSIONDETAIL">
         <reference local="C_ORDERLINE_ID" foreign="C_ORDERLINE_ID"/>
       </foreign-key>
-      <check name="C_COMMISSIONDET_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_COMMISSIONDET_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_COMMISSIONLINE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_COMMISSIONLINE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -51,8 +51,8 @@
       <index name="C_COMMISSIONLINE_COMMISSION" unique="false">
         <index-column name="C_COMMISSION_ID"/>
       </index>
-      <check name="CCOMMISL_ISPOSITIVEONLY_CHECK" condition="ISPOSITIVEONLY IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CCOMNISL_COMMISRDERS_CHECK" condition="COMMISSIONORDERS IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_COMMISSIONLIN_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="CCOMMISL_ISPOSITIVEONLY_CHECK"><![CDATA[ISPOSITIVEONLY IN ('Y', 'N')]]></check>
+      <check name="CCOMNISL_COMMISRDERS_CHECK"><![CDATA[COMMISSIONORDERS IN ('Y', 'N')]]></check>
+      <check name="C_COMMISSIONLIN_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_COMMISSIONRUN.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_COMMISSIONRUN.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -29,7 +29,7 @@
       <foreign-key foreignTable="C_INVOICE" name="C_INVOICE_CCOMMISSIONRUN">
         <reference local="C_INVOICE_ID" foreign="C_INVOICE_ID"/>
       </foreign-key>
-      <check name="C_COMMISRUN_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_COMMISRUN_PROCESSED_CHECK" condition="PROCESSED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_COMMISRUN_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="C_COMMISRUN_PROCESSED_CHECK"><![CDATA[PROCESSED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_CONVERSION_RATE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_CONVERSION_RATE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -36,6 +36,6 @@
         <unique-column name="CONVERSIONRATETYPE"/>
         <unique-column name="VALIDFROM"/>
       </unique>
-      <check name="C_CONVERSION_RA_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_CONVERSION_RA_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_COUNTRY.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_COUNTRY.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -40,9 +40,9 @@
       <unique name="C_COUNTRYCODE">
         <unique-column name="COUNTRYCODE"/>
       </unique>
-      <check name="C_COUNTRY_HASPOSTAL_ADD_CHECK" condition="HASPOSTAL_ADD IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_COUNTRY_HASREGION_CHECK" condition="HASREGION IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_COUNTRY_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_COUNTRY_ISDEFAULT_CHECK" condition="ISDEFAULT IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_COUNTRY_HASPOSTAL_ADD_CHECK"><![CDATA[HASPOSTAL_ADD IN ('Y', 'N')]]></check>
+      <check name="C_COUNTRY_HASREGION_CHECK"><![CDATA[HASREGION IN ('Y', 'N')]]></check>
+      <check name="C_COUNTRY_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="C_COUNTRY_ISDEFAULT_CHECK"><![CDATA[ISDEFAULT IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_COUNTRY_TRL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_COUNTRY_TRL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -27,7 +27,7 @@
       <foreign-key foreignTable="C_COUNTRY" name="CCOUNTRY_CCOUNTRYTRL">
         <reference local="C_COUNTRY_ID" foreign="C_COUNTRY_ID"/>
       </foreign-key>
-      <check name="CCOUNTRYTRL_ISTRANSL_CHECK" condition="ISTRANSLATED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_COUNTRY_TRL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="CCOUNTRYTRL_ISTRANSL_CHECK"><![CDATA[ISTRANSLATED IN ('Y', 'N')]]></check>
+      <check name="C_COUNTRY_TRL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_CURRENCY.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_CURRENCY.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -28,8 +28,8 @@
       <unique name="C_CURRENCYISOCODE">
         <unique-column name="ISO_CODE"/>
       </unique>
-      <check name="C_CURRENCY_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_CURRENCY_ISEURO_CHECK" condition="ISEURO IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_CURR_ISEMUMEMBER_CHECK" condition="ISEMUMEMBER IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_CURRENCY_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="C_CURRENCY_ISEURO_CHECK"><![CDATA[ISEURO IN ('Y', 'N')]]></check>
+      <check name="C_CURR_ISEMUMEMBER_CHECK"><![CDATA[ISEMUMEMBER IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_CURRENCY_TRL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_CURRENCY_TRL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -25,7 +25,7 @@
       <foreign-key foreignTable="C_CURRENCY" name="CCURRENCY_CCURRENCYTRL">
         <reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
       </foreign-key>
-      <check name="CCURR_TRL_ISTRANSLATED_CHECK" condition="ISTRANSLATED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_CURRENCY_TRL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="CCURR_TRL_ISTRANSLATED_CHECK"><![CDATA[ISTRANSLATED IN ('Y', 'N')]]></check>
+      <check name="C_CURRENCY_TRL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_CYCLE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_CYCLE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -25,6 +25,6 @@
         <unique-column name="AD_CLIENT_ID"/>
         <unique-column name="NAME"/>
       </unique>
-      <check name="C_CYCLE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_CYCLE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_CYCLESTEP.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_CYCLESTEP.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -22,6 +22,6 @@
       <foreign-key foreignTable="C_CYCLE" name="CCYCLE_CCYCLESTEP" onDelete="cascade">
         <reference local="C_CYCLE_ID" foreign="C_CYCLE_ID"/>
       </foreign-key>
-      <check name="C_CYCLESTEP_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_CYCLESTEP_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_DEBT_PAYMENT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_DEBT_PAYMENT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -92,20 +92,20 @@
       <index name="SETTINVOICE_DEBT_PAYMENT" unique="false">
         <index-column name="C_INVOICE_ID"/>
       </index>
-      <check name="CANCELISVALID_DEBT_PAYMENT" condition="(C_SETTLEMENT_CANCEL_ID IS NULL) OR (ISVALID = &apos;Y&apos;)"/>
-      <check name="CANCEL_DEBT_PAYMENT" condition="(CANCEL_PROCESSED = &apos;N&apos;) OR (C_SETTLEMENT_CANCEL_ID IS NOT NULL)"/>
-      <check name="CBPARTNER_DEBT_PAYMENT" condition="C_BPARTNER_ID IS NOT NULL"/>
-      <check name="CDEBTPAYM_CANCEL_PROCESSED" condition="CANCEL_PROCESSED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CDEBTPAYM_GENERATE_PROCESSED" condition="GENERATE_PROCESSED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CLINE_BSLINE_DEBT_PAYMENT" condition="(C_CASHLINE_ID IS NULL) OR (C_BANKSTATEMENTLINE_ID IS NULL)"/>
-      <check name="C_DEBT_PAYMENT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_DEBT_PAYMENT_ISMANUAL" condition="ISMANUAL IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_DEBT_PAYMENT_ISRECEIPT" condition="ISRECEIPT IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_DEBT_PAYMENT_ISVALID" condition="ISVALID IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="DIRECTPOSTING_DEBT_PAYMENT_CHK" condition="(ISDIRECTPOSTING = &apos;N&apos;) OR (C_GLITEM_ID IS NOT NULL)"/>
-      <check name="ISPAID2_CDEBTPAYMENT" condition="((C_BANKSTATEMENTLINE_ID IS NULL) AND (C_CASHLINE_ID IS NULL)) OR (ISPAID = &apos;Y&apos;)"/>
-      <check name="ISPAID_CDEBTPAYMENT" condition="((C_SETTLEMENT_CANCEL_ID IS NOT NULL) OR (C_SETTLEMENT_GENERATE_ID IS NOT NULL)) OR (ISPAID = &apos;N&apos;)"/>
-      <check name="ISVALIDACTIVE_DEBT_PAYMENT" condition="(ISVALID = &apos;N&apos;) OR (ISACTIVE = &apos;Y&apos;)"/>
-      <check name="ISVALIDPLUS_DEBT_PAYMENT2" condition="(((ISVALID = &apos;Y&apos;) AND (((C_SETTLEMENT_GENERATE_ID IS NULL) AND (GENERATE_PROCESSED = &apos;N&apos;)) OR ((C_SETTLEMENT_GENERATE_ID IS NOT NULL) AND (GENERATE_PROCESSED = &apos;Y&apos;)))) OR (((ISVALID = &apos;N&apos;) AND (C_SETTLEMENT_GENERATE_ID IS NOT NULL)) AND (GENERATE_PROCESSED = &apos;N&apos;))) OR ((ISVALID = &apos;N&apos;) AND (ISAUTOMATICGENERATED = &apos;N&apos;))"/>
+      <check name="CANCELISVALID_DEBT_PAYMENT"><![CDATA[(C_SETTLEMENT_CANCEL_ID IS NULL) OR (ISVALID = 'Y')]]></check>
+      <check name="CANCEL_DEBT_PAYMENT"><![CDATA[(CANCEL_PROCESSED = 'N') OR (C_SETTLEMENT_CANCEL_ID IS NOT NULL)]]></check>
+      <check name="CBPARTNER_DEBT_PAYMENT"><![CDATA[C_BPARTNER_ID IS NOT NULL]]></check>
+      <check name="CDEBTPAYM_CANCEL_PROCESSED"><![CDATA[CANCEL_PROCESSED IN ('Y', 'N')]]></check>
+      <check name="CDEBTPAYM_GENERATE_PROCESSED"><![CDATA[GENERATE_PROCESSED IN ('Y', 'N')]]></check>
+      <check name="CLINE_BSLINE_DEBT_PAYMENT"><![CDATA[(C_CASHLINE_ID IS NULL) OR (C_BANKSTATEMENTLINE_ID IS NULL)]]></check>
+      <check name="C_DEBT_PAYMENT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="C_DEBT_PAYMENT_ISMANUAL"><![CDATA[ISMANUAL IN ('Y', 'N')]]></check>
+      <check name="C_DEBT_PAYMENT_ISRECEIPT"><![CDATA[ISRECEIPT IN ('Y', 'N')]]></check>
+      <check name="C_DEBT_PAYMENT_ISVALID"><![CDATA[ISVALID IN ('Y', 'N')]]></check>
+      <check name="DIRECTPOSTING_DEBT_PAYMENT_CHK"><![CDATA[(ISDIRECTPOSTING = 'N') OR (C_GLITEM_ID IS NOT NULL)]]></check>
+      <check name="ISPAID2_CDEBTPAYMENT"><![CDATA[((C_BANKSTATEMENTLINE_ID IS NULL) AND (C_CASHLINE_ID IS NULL)) OR (ISPAID = 'Y')]]></check>
+      <check name="ISPAID_CDEBTPAYMENT"><![CDATA[((C_SETTLEMENT_CANCEL_ID IS NOT NULL) OR (C_SETTLEMENT_GENERATE_ID IS NOT NULL)) OR (ISPAID = 'N')]]></check>
+      <check name="ISVALIDACTIVE_DEBT_PAYMENT"><![CDATA[(ISVALID = 'N') OR (ISACTIVE = 'Y')]]></check>
+      <check name="ISVALIDPLUS_DEBT_PAYMENT2"><![CDATA[(((ISVALID = 'Y') AND (((C_SETTLEMENT_GENERATE_ID IS NULL) AND (GENERATE_PROCESSED = 'N')) OR ((C_SETTLEMENT_GENERATE_ID IS NOT NULL) AND (GENERATE_PROCESSED = 'Y')))) OR (((ISVALID = 'N') AND (C_SETTLEMENT_GENERATE_ID IS NOT NULL)) AND (GENERATE_PROCESSED = 'N'))) OR ((ISVALID = 'N') AND (ISAUTOMATICGENERATED = 'N'))]]></check>
     </table>
   </database>
--- a/database/model/tables/C_DEBT_PAYMENT_BALANCING.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_DEBT_PAYMENT_BALANCING.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -29,6 +29,6 @@
         <index-column name="C_DEBT_PAYMENT_ID"/>
         <index-column name="C_GLITEM_ID"/>
       </index>
-      <check name="CDEBTPAYBALG_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="CDEBTPAYBALG_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_DEBT_PAYMENT_BAL_REPLACE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_DEBT_PAYMENT_BAL_REPLACE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -26,6 +26,6 @@
       <foreign-key foreignTable="C_GLITEM" name="CGLITEM_DEBTPAYMENTBALREP">
         <reference local="C_GLITEM_ID" foreign="C_GLITEM_ID"/>
       </foreign-key>
-      <check name="CDEBTPAYBALREP_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="CDEBTPAYBALREP_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_DOCTYPE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_DOCTYPE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -77,20 +77,20 @@
         <unique-column name="AD_CLIENT_ID"/>
         <unique-column name="NAME"/>
       </unique>
-      <check name="CDOCTYPEISDOCNOCONTROL_CHECK" condition="ISDOCNOCONTROLLED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CDOCTYPE_CREATEPICKLIST_CHECK" condition="CREATEPICKLIST IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CDOCTYPE_ISBCONTRFORCED_CHECK" condition="ISBATCHCONTROLENFORCED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CDOCTYPE_ISBDOCNOCONTR_CHECK" condition="ISBATCHDOCNOCONTROLLED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_DOCTYPE_HASCHARGES_CHECK" condition="HASCHARGES IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_DOCTYPE_HASPROFORMA_CHECK" condition="HASPROFORMA IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_DOCTYPE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_DOCTYPE_ISAPPROVED_CHECK" condition="ISAPPROVED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_DOCTYPE_ISBATCHED_CHECK" condition="ISBATCHED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_DOCTYPE_ISMAXTABLE_CHECK" condition="ISMAXTABLE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_DOCTYPE_ISPRINTED_CHECK" condition="ISPRINTED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_DOCTYPE_ISSOTRX_CHECK" condition="ISSOTRX IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_DOCTYPE_ISTRANSFERRED_CHECK" condition="ISTRANSFERRED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_DOCTYPE_ORGFILTERED_CHECK" condition="ORGFILTERED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="ORGFILTEREDMAXTABLE_CDOCTYPE" condition="(ORGFILTERED = &apos;N&apos;) OR (ISMAXTABLE = &apos;Y&apos;)"/>
+      <check name="CDOCTYPEISDOCNOCONTROL_CHECK"><![CDATA[ISDOCNOCONTROLLED IN ('Y', 'N')]]></check>
+      <check name="CDOCTYPE_CREATEPICKLIST_CHECK"><![CDATA[CREATEPICKLIST IN ('Y', 'N')]]></check>
+      <check name="CDOCTYPE_ISBCONTRFORCED_CHECK"><![CDATA[ISBATCHCONTROLENFORCED IN ('Y', 'N')]]></check>
+      <check name="CDOCTYPE_ISBDOCNOCONTR_CHECK"><![CDATA[ISBATCHDOCNOCONTROLLED IN ('Y', 'N')]]></check>
+      <check name="C_DOCTYPE_HASCHARGES_CHECK"><![CDATA[HASCHARGES IN ('Y', 'N')]]></check>
+      <check name="C_DOCTYPE_HASPROFORMA_CHECK"><![CDATA[HASPROFORMA IN ('Y', 'N')]]></check>
+      <check name="C_DOCTYPE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="C_DOCTYPE_ISAPPROVED_CHECK"><![CDATA[ISAPPROVED IN ('Y', 'N')]]></check>
+      <check name="C_DOCTYPE_ISBATCHED_CHECK"><![CDATA[ISBATCHED IN ('Y', 'N')]]></check>
+      <check name="C_DOCTYPE_ISMAXTABLE_CHECK"><![CDATA[ISMAXTABLE IN ('Y', 'N')]]></check>
+      <check name="C_DOCTYPE_ISPRINTED_CHECK"><![CDATA[ISPRINTED IN ('Y', 'N')]]></check>
+      <check name="C_DOCTYPE_ISSOTRX_CHECK"><![CDATA[ISSOTRX IN ('Y', 'N')]]></check>
+      <check name="C_DOCTYPE_ISTRANSFERRED_CHECK"><![CDATA[ISTRANSFERRED IN ('Y', 'N')]]></check>
+      <check name="C_DOCTYPE_ORGFILTERED_CHECK"><![CDATA[ORGFILTERED IN ('Y', 'N')]]></check>
+      <check name="ORGFILTEREDMAXTABLE_CDOCTYPE"><![CDATA[(ORGFILTERED = 'N') OR (ISMAXTABLE = 'Y')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_DOCTYPE_TRL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_DOCTYPE_TRL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -26,7 +26,7 @@
       <foreign-key foreignTable="C_DOCTYPE" name="CDOCTYPE_CDOCTYPETRL" onDelete="cascade">
         <reference local="C_DOCTYPE_ID" foreign="C_DOCTYPE_ID"/>
       </foreign-key>
-      <check name="CDOCTYPETRL_ISTRANSLAT_CHECK" condition="ISTRANSLATED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_DOCTYPE_TRL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="CDOCTYPETRL_ISTRANSLAT_CHECK"><![CDATA[ISTRANSLATED IN ('Y', 'N')]]></check>
+      <check name="C_DOCTYPE_TRL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_DUNNING.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_DUNNING.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -20,7 +20,7 @@
       <foreign-key foreignTable="AD_ORG" name="ADORG_CDUNNING">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="CDUN_SENDDUNLET_CHECK" condition="SENDDUNNINGLETTER IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_DUNNING_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="CDUN_SENDDUNLET_CHECK"><![CDATA[SENDDUNNINGLETTER IN ('Y', 'N')]]></check>
+      <check name="C_DUNNING_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_DUNNINGLEVEL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_DUNNINGLEVEL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -31,8 +31,8 @@
       <foreign-key foreignTable="C_DUNNING" name="CDUNNING_CDUNNINGLEVEL">
         <reference local="C_DUNNING_ID" foreign="C_DUNNING_ID"/>
       </foreign-key>
-      <check name="CDUNLEV_CHARGEINTEREST_CHECK" condition="CHARGEINTEREST IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CDUNNINGLEVEL_CHARGEFEE_CHECK" condition="CHARGEFEE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_DUNNINGLEVEL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="CDUNLEV_CHARGEINTEREST_CHECK"><![CDATA[CHARGEINTEREST IN ('Y', 'N')]]></check>
+      <check name="CDUNNINGLEVEL_CHARGEFEE_CHECK"><![CDATA[CHARGEFEE IN ('Y', 'N')]]></check>
+      <check name="C_DUNNINGLEVEL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_DUNNINGLEVEL_TRL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_DUNNINGLEVEL_TRL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -29,7 +29,7 @@
         <index-column name="C_DUNNINGLEVEL_ID"/>
         <index-column name="AD_LANGUAGE"/>
       </index>
-      <check name="CDUNLEVELTRL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CDUNLEVTRL_ISTRANSL_CHECK" condition="ISTRANSLATED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="CDUNLEVELTRL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="CDUNLEVTRL_ISTRANSL_CHECK"><![CDATA[ISTRANSLATED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_DUNNINGRUN.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_DUNNINGRUN.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -20,6 +20,6 @@
       <foreign-key foreignTable="C_DUNNINGLEVEL" name="CDUNNINGLEVEL_CDUNNINGRUN">
         <reference local="C_DUNNINGLEVEL_ID" foreign="C_DUNNINGLEVEL_ID"/>
       </foreign-key>
-      <check name="C_DUNNINGRUN_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_DUNNINGRUN_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_DUNNINGRUNENTRY.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_DUNNINGRUNENTRY.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -25,6 +25,6 @@
       <foreign-key foreignTable="C_DUNNINGRUN" name="CDUNNINGRUN_CDUNNINGRUNENTRY" onDelete="cascade">
         <reference local="C_DUNNINGRUN_ID" foreign="C_DUNNINGRUN_ID"/>
       </foreign-key>
-      <check name="C_DUNNINGRUNENT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_DUNNINGRUNENT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_ELEMENT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_ELEMENT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -37,8 +37,8 @@
         <unique-column name="AD_CLIENT_ID"/>
         <unique-column name="NAME"/>
       </unique>
-      <check name="CELEM_ISNATURACCOUNT_CHECK" condition="ISNATURALACCOUNT IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_ELEMENT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_ELEMENT_ISBALANCING_CHECK" condition="ISBALANCING IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="CELEM_ISNATURACCOUNT_CHECK"><![CDATA[ISNATURALACCOUNT IN ('Y', 'N')]]></check>
+      <check name="C_ELEMENT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="C_ELEMENT_ISBALANCING_CHECK"><![CDATA[ISBALANCING IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_ELEMENTVALUE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_ELEMENTVALUE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -52,13 +52,13 @@
         <unique-column name="C_ELEMENT_ID"/>
         <unique-column name="VALUE"/>
       </unique>
-      <check name="CELEMVALUE_POSTACTUAL_CHECK" condition="POSTACTUAL IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CELEMVALUE_POSTBUDGET_CHECK" condition="POSTBUDGET IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CELEMVAL_ISBANKACCOUNT_CHECK" condition="ISBANKACCOUNT IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CELEMVAL_ISDOCCONTROL_CHECK" condition="ISDOCCONTROLLED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CELEMVAL_ISFORCURREN_CHECK" condition="ISFOREIGNCURRENCY IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CELEMVAL_POSTENCUMBR_CHECK" condition="POSTENCUMBRANCE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CELEMVAL_POSTSTATISTIC_CHECK" condition="POSTSTATISTICAL IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_ELEMENTVALUE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="CELEMVALUE_POSTACTUAL_CHECK"><![CDATA[POSTACTUAL IN ('Y', 'N')]]></check>
+      <check name="CELEMVALUE_POSTBUDGET_CHECK"><![CDATA[POSTBUDGET IN ('Y', 'N')]]></check>
+      <check name="CELEMVAL_ISBANKACCOUNT_CHECK"><![CDATA[ISBANKACCOUNT IN ('Y', 'N')]]></check>
+      <check name="CELEMVAL_ISDOCCONTROL_CHECK"><![CDATA[ISDOCCONTROLLED IN ('Y', 'N')]]></check>
+      <check name="CELEMVAL_ISFORCURREN_CHECK"><![CDATA[ISFOREIGNCURRENCY IN ('Y', 'N')]]></check>
+      <check name="CELEMVAL_POSTENCUMBR_CHECK"><![CDATA[POSTENCUMBRANCE IN ('Y', 'N')]]></check>
+      <check name="CELEMVAL_POSTSTATISTIC_CHECK"><![CDATA[POSTSTATISTICAL IN ('Y', 'N')]]></check>
+      <check name="C_ELEMENTVALUE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_ELEMENTVALUE_OPERAND.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_ELEMENTVALUE_OPERAND.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -25,6 +25,6 @@
       <foreign-key foreignTable="C_ELEMENTVALUE" name="CELEMENTVALUE_CELEMENTVALUEOPE">
         <reference local="ACCOUNT_ID" foreign="C_ELEMENTVALUE_ID"/>
       </foreign-key>
-      <check name="CELEMENVOPER_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="CELEMENVOPER_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_ELEMENTVALUE_TRL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_ELEMENTVALUE_TRL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -25,7 +25,7 @@
       <foreign-key foreignTable="C_ELEMENTVALUE" name="CELEMENTVALUE_CEVALUETRL" onDelete="cascade">
         <reference local="C_ELEMENTVALUE_ID" foreign="C_ELEMENTVALUE_ID"/>
       </foreign-key>
-      <check name="CELVALTRL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CELVALTRL_ISTRANSLATED_CHECK" condition="ISTRANSLATED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="CELVALTRL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="CELVALTRL_ISTRANSLATED_CHECK"><![CDATA[ISTRANSLATED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_EXTERNALPOS_CATEGORY.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_EXTERNALPOS_CATEGORY.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -23,6 +23,6 @@
       <foreign-key foreignTable="M_PRODUCT_CATEGORY" name="PRODCATE_C_EXTERNALPOS_CAT">
         <reference local="M_PRODUCT_CATEGORY_ID" foreign="M_PRODUCT_CATEGORY_ID"/>
       </foreign-key>
-      <check name="C_EXTERNALPOS_C_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_EXTERNALPOS_C_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_GLITEM.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_GLITEM.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -17,6 +17,6 @@
       <foreign-key foreignTable="AD_ORG" name="ADORG_CGLITEM">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="C_GLITEM_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_GLITEM_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_GLITEM_ACCT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_GLITEM_ACCT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -30,6 +30,6 @@
       <foreign-key foreignTable="C_VALIDCOMBINATION" name="GLITEMDEBITACCT_CGLITEMACCT">
         <reference local="GLITEM_DEBIT_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
       </foreign-key>
-      <check name="C_GLITEM_ACCT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_GLITEM_ACCT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_GREETING.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_GREETING.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -19,8 +19,8 @@
       <foreign-key foreignTable="AD_ORG" name="ADORG_CGREETING">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="CGREET_ISFIRSTNAMEONLY_CHECK" condition="ISFIRSTNAMEONLY IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_GREETING_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_GREETING_ISDEFAULT_CHECK" condition="ISDEFAULT IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="CGREET_ISFIRSTNAMEONLY_CHECK"><![CDATA[ISFIRSTNAMEONLY IN ('Y', 'N')]]></check>
+      <check name="C_GREETING_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="C_GREETING_ISDEFAULT_CHECK"><![CDATA[ISDEFAULT IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_GREETING_TRL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_GREETING_TRL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -29,7 +29,7 @@
         <index-column name="C_GREETING_ID"/>
         <index-column name="AD_LANGUAGE"/>
       </index>
-      <check name="CGREET_TRL_ISTRANSLATED_CHECK" condition="ISTRANSLATED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_GREETING_TRL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="CGREET_TRL_ISTRANSLATED_CHECK"><![CDATA[ISTRANSLATED IN ('Y', 'N')]]></check>
+      <check name="C_GREETING_TRL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_INCOTERMS.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_INCOTERMS.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -19,8 +19,8 @@
       <foreign-key foreignTable="AD_ORG" name="ADORG_C_INCOTERMS">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="CINCOTERM_REQUIRDESCR_CHECK" condition="REQUIRESDESCRIPTION IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_INCOTERMS_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_INCOTERMS_ISDELIVERY_CHECK" condition="ISDELIVERY IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="CINCOTERM_REQUIRDESCR_CHECK"><![CDATA[REQUIRESDESCRIPTION IN ('Y', 'N')]]></check>
+      <check name="C_INCOTERMS_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="C_INCOTERMS_ISDELIVERY_CHECK"><![CDATA[ISDELIVERY IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_INTERORG_ACCT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_INTERORG_ACCT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -30,6 +30,6 @@
       <foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_INTERCOMPANYDUETO_CINTERORG">
         <reference local="INTERCOMPANYDUETO_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
       </foreign-key>
-      <check name="C_INTERORG_ACCT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_INTERORG_ACCT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_INVOICE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_INVOICE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -120,16 +120,16 @@
       <index name="C_INVOICE_UPDATED" unique="false">
         <index-column name="UPDATED"/>
       </index>
-      <check name="CINV_ISDISCOUNTPRINT_CHECK" condition="ISDISCOUNTPRINTED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_INVOICE_CREATEFROM_CHECK" condition="CREATEFROM IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_INVOICE_GENERATETO_CHECK" condition="GENERATETO IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_INVOICE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_INVOICE_ISAPPROVED_CHECK" condition="ISAPPROVED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_INVOICE_ISPAID_CHECK" condition="ISPAID IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_INVOICE_ISPRINTED_CHECK" condition="ISPRINTED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_INVOICE_ISSOTRX_CHECK" condition="ISSOTRX IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_INVOICE_ISTAXINCLUDED_CHECK" condition="ISTAXINCLUDED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_INVOICE_ISTRANSFERRED_CHECK" condition="ISTRANSFERRED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_INVOICE_PROCESSED_CHECK" condition="PROCESSED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="CINV_ISDISCOUNTPRINT_CHECK"><![CDATA[ISDISCOUNTPRINTED IN ('Y', 'N')]]></check>
+      <check name="C_INVOICE_CREATEFROM_CHECK"><![CDATA[CREATEFROM IN ('Y', 'N')]]></check>
+      <check name="C_INVOICE_GENERATETO_CHECK"><![CDATA[GENERATETO IN ('Y', 'N')]]></check>
+      <check name="C_INVOICE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="C_INVOICE_ISAPPROVED_CHECK"><![CDATA[ISAPPROVED IN ('Y', 'N')]]></check>
+      <check name="C_INVOICE_ISPAID_CHECK"><![CDATA[ISPAID IN ('Y', 'N')]]></check>
+      <check name="C_INVOICE_ISPRINTED_CHECK"><![CDATA[ISPRINTED IN ('Y', 'N')]]></check>
+      <check name="C_INVOICE_ISSOTRX_CHECK"><![CDATA[ISSOTRX IN ('Y', 'N')]]></check>
+      <check name="C_INVOICE_ISTAXINCLUDED_CHECK"><![CDATA[ISTAXINCLUDED IN ('Y', 'N')]]></check>
+      <check name="C_INVOICE_ISTRANSFERRED_CHECK"><![CDATA[ISTRANSFERRED IN ('Y', 'N')]]></check>
+      <check name="C_INVOICE_PROCESSED_CHECK"><![CDATA[PROCESSED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_INVOICELINE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_INVOICELINE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -95,8 +95,8 @@
       <index name="C_INVOICELINE_PRODUCT" unique="false">
         <index-column name="M_PRODUCT_ID"/>
       </index>
-      <check name="C_INVOICELINE_CHECK1" condition="((QUANTITYORDER IS NULL) AND (M_PRODUCT_UOM_ID IS NULL)) OR ((QUANTITYORDER IS NOT NULL) AND (M_PRODUCT_UOM_ID IS NOT NULL))"/>
-      <check name="C_INVOICELINE_CHECK2" condition="(LINENETAMT = 0) OR (C_TAX_ID IS NOT NULL)"/>
-      <check name="C_INVOICELINE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_INVOICELINE_CHECK1"><![CDATA[((QUANTITYORDER IS NULL) AND (M_PRODUCT_UOM_ID IS NULL)) OR ((QUANTITYORDER IS NOT NULL) AND (M_PRODUCT_UOM_ID IS NOT NULL))]]></check>
+      <check name="C_INVOICELINE_CHECK2"><![CDATA[(LINENETAMT = 0) OR (C_TAX_ID IS NOT NULL)]]></check>
+      <check name="C_INVOICELINE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_INVOICEPAYSCHEDULE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_INVOICEPAYSCHEDULE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -31,7 +31,7 @@
       <index name="C_INVOICEPAYSCHEDULE_INVOICE" unique="false">
         <index-column name="C_INVOICE_ID"/>
       </index>
-      <check name="CINVPAYSCHED_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CINVPAYSCHED_ISVALID_CHECK" condition="ISVALID IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="CINVPAYSCHED_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="CINVPAYSCHED_ISVALID_CHECK"><![CDATA[ISVALID IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_INVOICESCHEDULE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_INVOICESCHEDULE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -26,8 +26,8 @@
       <foreign-key foreignTable="AD_ORG" name="ADORG_CINVOICESCHEDULE">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="CINVOICESCHED_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CINVOICESCHED_ISAMOUNT_CHECK" condition="ISAMOUNT IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CINVSCHED_EVENINVWEEK_CHECK" condition="EVENINVOICEWEEK IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="CINVOICESCHED_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="CINVOICESCHED_ISAMOUNT_CHECK"><![CDATA[ISAMOUNT IN ('Y', 'N')]]></check>
+      <check name="CINVSCHED_EVENINVWEEK_CHECK"><![CDATA[EVENINVOICEWEEK IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_INVOICETAX.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_INVOICETAX.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -27,6 +27,6 @@
       <foreign-key foreignTable="C_TAX" name="CTAX_CINVOICETAX">
         <reference local="C_TAX_ID" foreign="C_TAX_ID"/>
       </foreign-key>
-      <check name="C_INVOICETAX_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_INVOICETAX_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_LOCATION.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_LOCATION.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -33,6 +33,6 @@
       <foreign-key foreignTable="C_REGION" name="C_REGION_LOCATION">
         <reference local="C_REGION_ID" foreign="C_REGION_ID"/>
       </foreign-key>
-      <check name="C_LOCATION_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_LOCATION_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_NATION.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_NATION.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -26,7 +26,7 @@
         <unique-column name="C_COUNTRY_ID"/>
         <unique-column name="NAME"/>
       </unique>
-      <check name="C_NATION_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_NATION_ISDEFAULT_CHECK" condition="ISDEFAULT IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_NATION_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="C_NATION_ISDEFAULT_CHECK"><![CDATA[ISDEFAULT IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_NONBUSINESSDAY.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_NONBUSINESSDAY.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -21,6 +21,6 @@
       <foreign-key foreignTable="AD_ORG" name="C_NONBUSINESDAYSORG">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="C_NONBUSINESSDA_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_NONBUSINESSDA_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_ORDER.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_ORDER.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -156,17 +156,17 @@
       <index name="C_ORDER_UPDATED" unique="false">
         <index-column name="UPDATED"/>
       </index>
-      <check name="CORDER_ISCREDITAPPROVED_CHECK" condition="ISCREDITAPPROVED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CORDER_ISDISCOUNTPRINT_CHECK" condition="ISDISCOUNTPRINTED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_ORDER_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_ORDER_ISAPPROVED_CHECK" condition="ISAPPROVED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_ORDER_ISDELIVERED_CHECK" condition="ISDELIVERED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_ORDER_ISINVOICED_CHECK" condition="ISINVOICED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_ORDER_ISPRINTED_CHECK" condition="ISPRINTED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_ORDER_ISSELECTED_CHECK" condition="ISSELECTED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_ORDER_ISSOTRX_CHECK" condition="ISSOTRX IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_ORDER_ISTAXINCLUDED_CHECK" condition="ISTAXINCLUDED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_ORDER_ISTRANSFERRED_CHECK" condition="ISTRANSFERRED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_ORDER_PROCESSED_CHECK" condition="PROCESSED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="CORDER_ISCREDITAPPROVED_CHECK"><![CDATA[ISCREDITAPPROVED IN ('Y', 'N')]]></check>
+      <check name="CORDER_ISDISCOUNTPRINT_CHECK"><![CDATA[ISDISCOUNTPRINTED IN ('Y', 'N')]]></check>
+      <check name="C_ORDER_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="C_ORDER_ISAPPROVED_CHECK"><![CDATA[ISAPPROVED IN ('Y', 'N')]]></check>
+      <check name="C_ORDER_ISDELIVERED_CHECK"><![CDATA[ISDELIVERED IN ('Y', 'N')]]></check>
+      <check name="C_ORDER_ISINVOICED_CHECK"><![CDATA[ISINVOICED IN ('Y', 'N')]]></check>
+      <check name="C_ORDER_ISPRINTED_CHECK"><![CDATA[ISPRINTED IN ('Y', 'N')]]></check>
+      <check name="C_ORDER_ISSELECTED_CHECK"><![CDATA[ISSELECTED IN ('Y', 'N')]]></check>
+      <check name="C_ORDER_ISSOTRX_CHECK"><![CDATA[ISSOTRX IN ('Y', 'N')]]></check>
+      <check name="C_ORDER_ISTAXINCLUDED_CHECK"><![CDATA[ISTAXINCLUDED IN ('Y', 'N')]]></check>
+      <check name="C_ORDER_ISTRANSFERRED_CHECK"><![CDATA[ISTRANSFERRED IN ('Y', 'N')]]></check>
+      <check name="C_ORDER_PROCESSED_CHECK"><![CDATA[PROCESSED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_ORDERLINE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_ORDERLINE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -105,9 +105,9 @@
       <index name="C_ORDERLINE_PRODUCT" unique="false">
         <index-column name="M_PRODUCT_ID"/>
       </index>
-      <check name="C_ORDERLINE_CHECK1" condition="((QUANTITYORDER IS NULL) AND (M_PRODUCT_UOM_ID IS NULL)) OR ((QUANTITYORDER IS NOT NULL) AND (M_PRODUCT_UOM_ID IS NOT NULL))"/>
-      <check name="C_ORDERLINE_CHECK2" condition="(LINENETAMT = 0) OR (C_TAX_ID IS NOT NULL)"/>
-      <check name="C_ORDERLINE_DIRECTSHIP_CHECK" condition="DIRECTSHIP IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_ORDERLINE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_ORDERLINE_CHECK1"><![CDATA[((QUANTITYORDER IS NULL) AND (M_PRODUCT_UOM_ID IS NULL)) OR ((QUANTITYORDER IS NOT NULL) AND (M_PRODUCT_UOM_ID IS NOT NULL))]]></check>
+      <check name="C_ORDERLINE_CHECK2"><![CDATA[(LINENETAMT = 0) OR (C_TAX_ID IS NOT NULL)]]></check>
+      <check name="C_ORDERLINE_DIRECTSHIP_CHECK"><![CDATA[DIRECTSHIP IN ('Y', 'N')]]></check>
+      <check name="C_ORDERLINE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_ORDERTAX.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_ORDERTAX.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -25,6 +25,6 @@
       <foreign-key foreignTable="C_TAX" name="CTAX_CORDERTAX">
         <reference local="C_TAX_ID" foreign="C_TAX_ID"/>
       </foreign-key>
-      <check name="C_ORDERTAX_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_ORDERTAX_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_PAYMENTTERM.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_PAYMENTTERM.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -40,9 +40,9 @@
         <unique-column name="AD_CLIENT_ID"/>
         <unique-column name="NAME"/>
       </unique>
-      <check name="CPAYMENTT_AFTERDELIVERY_CHECK" condition="AFTERDELIVERY IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CPAYMENTT_ISDUEFIXED_CHECK" condition="ISDUEFIXED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CPAYMENTT_ISNEXTBUSDAY_CHECK" condition="ISNEXTBUSINESSDAY IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_PAYMENTTERM_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="CPAYMENTT_AFTERDELIVERY_CHECK"><![CDATA[AFTERDELIVERY IN ('Y', 'N')]]></check>
+      <check name="CPAYMENTT_ISDUEFIXED_CHECK"><![CDATA[ISDUEFIXED IN ('Y', 'N')]]></check>
+      <check name="CPAYMENTT_ISNEXTBUSDAY_CHECK"><![CDATA[ISNEXTBUSINESSDAY IN ('Y', 'N')]]></check>
+      <check name="C_PAYMENTTERM_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_PAYMENTTERMLINE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_PAYMENTTERMLINE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -33,10 +33,10 @@
       <foreign-key foreignTable="C_PAYMENTTERM" name="CPAYMENTTERM_CPAYMENTTERMLINE">
         <reference local="C_PAYMENTTERM_ID" foreign="C_PAYMENTTERM_ID"/>
       </foreign-key>
-      <check name="CPAYMENTTLINE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CPAYMENTTL_EXCLUDETAX_CHECK" condition="EXCLUDETAX IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CPAYMENTTL_ISDUEFIXED_CHECK" condition="ISDUEFIXED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CPAYMENTTL_ISNEXTBUSDAY_CHECK" condition="ISNEXTBUSINESSDAY IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CPAYMENTTL_ONREMAINDER_CHECK" condition="ONREMAINDER IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="CPAYMENTTLINE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="CPAYMENTTL_EXCLUDETAX_CHECK"><![CDATA[EXCLUDETAX IN ('Y', 'N')]]></check>
+      <check name="CPAYMENTTL_ISDUEFIXED_CHECK"><![CDATA[ISDUEFIXED IN ('Y', 'N')]]></check>
+      <check name="CPAYMENTTL_ISNEXTBUSDAY_CHECK"><![CDATA[ISNEXTBUSINESSDAY IN ('Y', 'N')]]></check>
+      <check name="CPAYMENTTL_ONREMAINDER_CHECK"><![CDATA[ONREMAINDER IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_PAYMENTTERM_TRL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_PAYMENTTERM_TRL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -26,7 +26,7 @@
       <foreign-key foreignTable="C_PAYMENTTERM" name="CPAYMENTTERM_CPAYTERMTRL" onDelete="cascade">
         <reference local="C_PAYMENTTERM_ID" foreign="C_PAYMENTTERM_ID"/>
       </foreign-key>
-      <check name="CPAYMENTTTRL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CPAYMENTTTRL_ISTRANSL_CHECK" condition="ISTRANSLATED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="CPAYMENTTTRL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="CPAYMENTTTRL_ISTRANSL_CHECK"><![CDATA[ISTRANSLATED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_PAYSCHEDULE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_PAYSCHEDULE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -26,7 +26,7 @@
       <foreign-key foreignTable="C_PAYMENTTERM" name="CPAYMENTTERM_CPAYSCHEDULE">
         <reference local="C_PAYMENTTERM_ID" foreign="C_PAYMENTTERM_ID"/>
       </foreign-key>
-      <check name="C_PAYSCHEDULE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_PAYSCHEDULE_ISVALID_CHECK" condition="ISVALID IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_PAYSCHEDULE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="C_PAYSCHEDULE_ISVALID_CHECK"><![CDATA[ISVALID IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_PERIOD.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_PERIOD.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -32,6 +32,6 @@
         <unique-column name="C_YEAR_ID"/>
         <unique-column name="PERIODNO"/>
       </unique>
-      <check name="C_PERIOD_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_PERIOD_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_PERIODCONTROL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_PERIODCONTROL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -23,6 +23,6 @@
       <foreign-key foreignTable="C_PERIOD" name="C_PERIOD_PERIODCONTROL">
         <reference local="C_PERIOD_ID" foreign="C_PERIOD_ID"/>
       </foreign-key>
-      <check name="C_PERIODCONTROL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_PERIODCONTROL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_PROJECT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_PROJECT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -121,9 +121,9 @@
         <index-column name="AD_CLIENT_ID"/>
         <index-column name="VALUE"/>
       </index>
-      <check name="C_PROJECT_GENERATETO_CHECK" condition="GENERATETO IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_PROJECT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_PROJECT_ISCOMMITMENT_CHECK" condition="ISCOMMITMENT IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_PROJECT_PROCESSED_CHECK" condition="PROCESSED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_PROJECT_GENERATETO_CHECK"><![CDATA[GENERATETO IN ('Y', 'N')]]></check>
+      <check name="C_PROJECT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="C_PROJECT_ISCOMMITMENT_CHECK"><![CDATA[ISCOMMITMENT IN ('Y', 'N')]]></check>
+      <check name="C_PROJECT_PROCESSED_CHECK"><![CDATA[PROCESSED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_PROJECTISSUE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_PROJECTISSUE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -45,6 +45,6 @@
       <foreign-key foreignTable="S_TIMEEXPENSELINE" name="STIMEEXPENSELINE_CPROJECTISSUE">
         <reference local="S_TIMEEXPENSELINE_ID" foreign="S_TIMEEXPENSELINE_ID"/>
       </foreign-key>
-      <check name="C_PROJECTISSUE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_PROJECTISSUE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_PROJECTLINE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_PROJECTLINE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -60,6 +60,6 @@
       <foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_CPROJECTLINE">
         <reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
       </foreign-key>
-      <check name="C_PROJECTLINE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_PROJECTLINE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_PROJECTPROPOSAL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_PROJECTPROPOSAL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -42,6 +42,6 @@
       <foreign-key foreignTable="C_PAYMENTTERM" name="C_PAYMENTTERM_C_PPROPOSAL">
         <reference local="C_PAYMENTTERM_ID" foreign="C_PAYMENTTERM_ID"/>
       </foreign-key>
-      <check name="C_PROJECTPROPOS_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_PROJECTPROPOS_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_PROJECTPROPOSALLINE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_PROJECTPROPOSALLINE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -30,6 +30,6 @@
       <foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_C_PROJECTPROPOSALLINE">
         <reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
       </foreign-key>
-      <check name="CPRPROPLN_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="CPRPROPLN_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_PROJECTPROPOSALTASK.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_PROJECTPROPOSALTASK.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -24,6 +24,6 @@
       <foreign-key foreignTable="C_PROJECTPROPOSAL" name="CPROJECTPOSAL_C_PROPOSALTASK">
         <reference local="C_PROJECTPROPOSAL_ID" foreign="C_PROJECTPROPOSAL_ID"/>
       </foreign-key>
-      <check name="C_PRPROPTK_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_PRPROPTK_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_PROJECT_ACCT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_PROJECT_ACCT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -30,6 +30,6 @@
       <foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_PJWIP_CPROJECT">
         <reference local="PJ_WIP_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
       </foreign-key>
-      <check name="C_PROJECT_ACCT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_PROJECT_ACCT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_PROJECT_VENDOR.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_PROJECT_VENDOR.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -38,6 +38,6 @@
       <foreign-key foreignTable="M_PRICELIST" name="PRICELIST_PROJECTVENDOR">
         <reference local="M_PRICELIST_ID" foreign="M_PRICELIST_ID"/>
       </foreign-key>
-      <check name="C_PROJECT_VENDO_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_PROJECT_VENDO_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_PROMISSORYFORMAT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_PROMISSORYFORMAT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -48,7 +48,7 @@
       <foreign-key foreignTable="C_BANKACCOUNT" name="CBANKACCOUNTCPROMISSORYFORMAT">
         <reference local="C_BANKACCOUNT_ID" foreign="C_BANKACCOUNT_ID"/>
       </foreign-key>
-      <check name="CPROMISFORMAT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CPROMISFORMPRINTBANKLOC_CHECK" condition="PRINTBANKLOC IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="CPROMISFORMAT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="CPROMISFORMPRINTBANKLOC_CHECK"><![CDATA[PRINTBANKLOC IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_REGION.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_REGION.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -31,7 +31,7 @@
         <unique-column name="C_COUNTRY_ID"/>
         <unique-column name="NAME"/>
       </unique>
-      <check name="C_REGION_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_REGION_ISDEFAULT_CHECK" condition="ISDEFAULT IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_REGION_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="C_REGION_ISDEFAULT_CHECK"><![CDATA[ISDEFAULT IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_REMITTANCE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_REMITTANCE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -39,6 +39,6 @@
       <foreign-key foreignTable="AD_ORG" name="ORG_CREMINTANCE">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="C_REMITTANCE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_REMITTANCE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_REMITTANCE_TYPE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_REMITTANCE_TYPE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -21,6 +21,6 @@
       <foreign-key foreignTable="AD_ORG" name="AD_ORG_CREMITTANCETYPE">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="C_REMITTANCE_TY_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_REMITTANCE_TY_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_REVENUERECOGNITION.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_REVENUERECOGNITION.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -20,6 +20,6 @@
       <foreign-key foreignTable="AD_ORG" name="ADORG_CREVENUERECOGNITION">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="C_REVENUERECOGN_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_REVENUERECOGN_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_REVENUERECOGNITION_PLAN.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_REVENUERECOGNITION_PLAN.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -41,6 +41,6 @@
       <foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_UNEARNEDREVENUE_CREVENUEREC">
         <reference local="UNEARNEDREVENUE_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
       </foreign-key>
-      <check name="CREVCOGPLAN_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="CREVCOGPLAN_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_REVENUERECOGNITION_RUN.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_REVENUERECOGNITION_RUN.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -24,6 +24,6 @@
       <foreign-key foreignTable="GL_JOURNAL" name="GLJOURNAL_CREVENUERECRUN">
         <reference local="GL_JOURNAL_ID" foreign="GL_JOURNAL_ID"/>
       </foreign-key>
-      <check name="CREVRUN_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="CREVRUN_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_SALARY_CATEGORY.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_SALARY_CATEGORY.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -17,6 +17,6 @@
       <foreign-key foreignTable="AD_ORG" name="ADORG_CSALARYCATEGORY">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="C_SALARY_CATEGO_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_SALARY_CATEGO_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_SALESREGION.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_SALESREGION.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -25,6 +25,6 @@
         <unique-column name="AD_CLIENT_ID"/>
         <unique-column name="VALUE"/>
       </unique>
-      <check name="C_SALESREGION_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_SALESREGION_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_SERVICELEVEL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_SERVICELEVEL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -28,7 +28,7 @@
       <foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_CSERVICELEVEL">
         <reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
       </foreign-key>
-      <check name="CSERVICELEVEL_PROCESSED_CHECK" condition="PROCESSED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_SERVICELEVEL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="CSERVICELEVEL_PROCESSED_CHECK"><![CDATA[PROCESSED IN ('Y', 'N')]]></check>
+      <check name="C_SERVICELEVEL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_SERVICELEVELLINE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_SERVICELEVELLINE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -23,7 +23,7 @@
       <foreign-key foreignTable="C_SERVICELEVEL" name="CSERVICELEVEL_LINE" onDelete="cascade">
         <reference local="C_SERVICELEVEL_ID" foreign="C_SERVICELEVEL_ID"/>
       </foreign-key>
-      <check name="CSERVLEVLINE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CSERVLEVLINE_PROCESSED_CHECK" condition="PROCESSED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="CSERVLEVLINE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="CSERVLEVLINE_PROCESSED_CHECK"><![CDATA[PROCESSED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_SETTLEMENT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_SETTLEMENT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -57,9 +57,9 @@
       <index name="C_SETTLEMENT_UPDATED" unique="false">
         <index-column name="UPDATED"/>
       </index>
-      <check name="CSETTLEMENT_PROCESSED_CHECK" condition="PROCESSED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CSETTLEM_CREATEFILE_CHECK" condition="CREATEFILE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_SETTLEMENT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="DATEACCT_CSETTLEMENT" condition="DATEACCT IS NOT NULL"/>
+      <check name="CSETTLEMENT_PROCESSED_CHECK"><![CDATA[PROCESSED IN ('Y', 'N')]]></check>
+      <check name="CSETTLEM_CREATEFILE_CHECK"><![CDATA[CREATEFILE IN ('Y', 'N')]]></check>
+      <check name="C_SETTLEMENT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="DATEACCT_CSETTLEMENT"><![CDATA[DATEACCT IS NOT NULL]]></check>
     </table>
   </database>
--- a/database/model/tables/C_TAX.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_TAX.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -62,9 +62,9 @@
         <unique-column name="NAME"/>
         <unique-column name="PARENT_TAX_ID"/>
       </unique>
-      <check name="CTAX_REQTAXCERTIFIC_CHECK" condition="REQUIRESTAXCERTIFICATE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_TAX_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_TAX_ISDOCUMENTLEVEL_CHECK" condition="ISDOCUMENTLEVEL IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_TAX_ISPRINTTAX_CHECK" condition="ISPRINTTAX IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="CTAX_REQTAXCERTIFIC_CHECK"><![CDATA[REQUIRESTAXCERTIFICATE IN ('Y', 'N')]]></check>
+      <check name="C_TAX_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="C_TAX_ISDOCUMENTLEVEL_CHECK"><![CDATA[ISDOCUMENTLEVEL IN ('Y', 'N')]]></check>
+      <check name="C_TAX_ISPRINTTAX_CHECK"><![CDATA[ISPRINTTAX IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_TAXCATEGORY.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_TAXCATEGORY.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -23,6 +23,6 @@
         <unique-column name="AD_CLIENT_ID"/>
         <unique-column name="NAME"/>
       </unique>
-      <check name="C_TAXCATEGORY_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_TAXCATEGORY_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_TAXCATEGORY_TRL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_TAXCATEGORY_TRL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -25,7 +25,7 @@
       <foreign-key foreignTable="C_TAXCATEGORY" name="CTAXCATEGORY_TRL">
         <reference local="C_TAXCATEGORY_ID" foreign="C_TAXCATEGORY_ID"/>
       </foreign-key>
-      <check name="CTAXCATEG_ISTRANSLATED_CHECK" condition="ISTRANSLATED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CTAXCATEG_TRL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="CTAXCATEG_ISTRANSLATED_CHECK"><![CDATA[ISTRANSLATED IN ('Y', 'N')]]></check>
+      <check name="CTAXCATEG_TRL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_TAX_ACCT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_TAX_ACCT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -42,6 +42,6 @@
       <foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_TREC_CTAX">
         <reference local="T_RECEIVABLES_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
       </foreign-key>
-      <check name="C_TAX_ACCT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_TAX_ACCT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_TAX_REPORT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_TAX_REPORT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -26,11 +26,11 @@
       <foreign-key foreignTable="C_TAX" name="CTAX_CTAXREPORT">
         <reference local="C_TAX_ID" foreign="C_TAX_ID"/>
       </foreign-key>
-      <check name="C_TAX_REPORT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_TAX_REPORT_ISNEGATIVE_CHECK" condition="ISNEGATIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_TAX_REPORT_ISREPORT_CHECK" condition="ISREPORT IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_TAX_REPORT_ISSHOWN_CHECK" condition="ISSHOWN IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_TAX_REPORT_ISSOTRX_CHECK" condition="ISSOTRX IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_TAX_REPORT_ISSUMMARY_CHECK" condition="ISSUMMARY IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_TAX_REPORT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="C_TAX_REPORT_ISNEGATIVE_CHECK"><![CDATA[ISNEGATIVE IN ('Y', 'N')]]></check>
+      <check name="C_TAX_REPORT_ISREPORT_CHECK"><![CDATA[ISREPORT IN ('Y', 'N')]]></check>
+      <check name="C_TAX_REPORT_ISSHOWN_CHECK"><![CDATA[ISSHOWN IN ('Y', 'N')]]></check>
+      <check name="C_TAX_REPORT_ISSOTRX_CHECK"><![CDATA[ISSOTRX IN ('Y', 'N')]]></check>
+      <check name="C_TAX_REPORT_ISSUMMARY_CHECK"><![CDATA[ISSUMMARY IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_TAX_TRL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_TAX_TRL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -26,7 +26,7 @@
       <foreign-key foreignTable="C_TAX" name="CTAX_CTAXTRL">
         <reference local="C_TAX_ID" foreign="C_TAX_ID"/>
       </foreign-key>
-      <check name="C_TAX_TRL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_TAX_TRL_ISTRANSLATED_CHECK" condition="ISTRANSLATED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_TAX_TRL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="C_TAX_TRL_ISTRANSLATED_CHECK"><![CDATA[ISTRANSLATED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_UOM.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_UOM.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -30,7 +30,7 @@
         <unique-column name="AD_CLIENT_ID"/>
         <unique-column name="NAME"/>
       </unique>
-      <check name="BREAKDOWN_CHECK_CUOM" condition="BREAKDOWN IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_UOM_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="BREAKDOWN_CHECK_CUOM"><![CDATA[BREAKDOWN IN ('Y', 'N')]]></check>
+      <check name="C_UOM_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_UOM_CONVERSION.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_UOM_CONVERSION.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -25,6 +25,6 @@
       <foreign-key foreignTable="AD_ORG" name="C_UOM_CONVERSIONORG">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="C_UOM_CONVERSIO_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_UOM_CONVERSIO_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_UOM_TRL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_UOM_TRL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -26,7 +26,7 @@
       <foreign-key foreignTable="C_UOM" name="CUOM_CUOMTRL" onDelete="cascade">
         <reference local="C_UOM_ID" foreign="C_UOM_ID"/>
       </foreign-key>
-      <check name="C_UOM_TRL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_UOM_TRL_ISTRANSLATED_CHECK" condition="ISTRANSLATED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_UOM_TRL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="C_UOM_TRL_ISTRANSLATED_CHECK"><![CDATA[ISTRANSLATED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_VALIDCOMBINATION.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_VALIDCOMBINATION.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -81,7 +81,7 @@
         <index-column name="AD_ORG_ID"/>
         <index-column name="ACCOUNT_ID"/>
       </index>
-      <check name="CVALCOMBIN_ISFULLQUAL_CHECK" condition="ISFULLYQUALIFIED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CVALIDCOMBIN_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="CVALCOMBIN_ISFULLQUAL_CHECK"><![CDATA[ISFULLYQUALIFIED IN ('Y', 'N')]]></check>
+      <check name="CVALIDCOMBIN_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_WITHHOLDING.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_WITHHOLDING.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -35,10 +35,10 @@
       <foreign-key foreignTable="C_PAYMENTTERM" name="CPAYMENTTERM_CWITHHOLDING">
         <reference local="C_PAYMENTTERM_ID" foreign="C_PAYMENTTERM_ID"/>
       </foreign-key>
-      <check name="CWITHHOLD_ISTAXPRORAT_CHECK" condition="ISTAXPRORATED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CWITHOLD_ISPAIDTO3PART_CHECK" condition="ISPAIDTO3PARTY IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CWITHOLD_ISPNTWITHOLD_CHECK" condition="ISPERCENTWITHHOLDING IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="CWITHOLD_ISTAXWITHHOLD_CHECK" condition="ISTAXWITHHOLDING IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="C_WITHHOLDING_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="CWITHHOLD_ISTAXPRORAT_CHECK"><![CDATA[ISTAXPRORATED IN ('Y', 'N')]]></check>
+      <check name="CWITHOLD_ISPAIDTO3PART_CHECK"><![CDATA[ISPAIDTO3PARTY IN ('Y', 'N')]]></check>
+      <check name="CWITHOLD_ISPNTWITHOLD_CHECK"><![CDATA[ISPERCENTWITHHOLDING IN ('Y', 'N')]]></check>
+      <check name="CWITHOLD_ISTAXWITHHOLD_CHECK"><![CDATA[ISTAXWITHHOLDING IN ('Y', 'N')]]></check>
+      <check name="C_WITHHOLDING_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_WITHHOLDING_ACCT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_WITHHOLDING_ACCT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -26,6 +26,6 @@
       <foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_WITHHOLDING_CWITHHOLDING">
         <reference local="WITHHOLDING_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
       </foreign-key>
-      <check name="C_WITHHOLDING_A_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_WITHHOLDING_A_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/C_YEAR.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/C_YEAR.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -28,6 +28,6 @@
         <unique-column name="C_CALENDAR_ID"/>
         <unique-column name="YEAR"/>
       </unique>
-      <check name="C_YEAR_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="C_YEAR_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/FACT_ACCT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/FACT_ACCT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -137,6 +137,6 @@
         <index-column name="AD_TABLE_ID"/>
         <index-column name="RECORD_ID"/>
       </index>
-      <check name="FACT_ACCT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="FACT_ACCT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/GL_BUDGET.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/GL_BUDGET.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -23,7 +23,7 @@
         <unique-column name="AD_CLIENT_ID"/>
         <unique-column name="NAME"/>
       </unique>
-      <check name="GL_BUDGET_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="GL_BUDGET_ISPRIMARY_CHECK" condition="ISPRIMARY IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="GL_BUDGET_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="GL_BUDGET_ISPRIMARY_CHECK"><![CDATA[ISPRIMARY IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/GL_CATEGORY.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/GL_CATEGORY.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -24,6 +24,6 @@
         <unique-column name="AD_CLIENT_ID"/>
         <unique-column name="NAME"/>
       </unique>
-      <check name="GL_CATEGORY_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="GL_CATEGORY_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/GL_JOURNAL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/GL_JOURNAL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -66,9 +66,9 @@
         <unique-column name="C_PERIOD_ID"/>
         <unique-column name="DOCUMENTNO"/>
       </unique>
-      <check name="GL_JOURNAL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="GL_JOURNAL_ISAPPROVED_CHECK" condition="ISAPPROVED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="GL_JOURNAL_ISPRINTED_CHECK" condition="ISPRINTED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="GL_JOURNAL_PROCESSED_CHECK" condition="PROCESSED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="GL_JOURNAL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="GL_JOURNAL_ISAPPROVED_CHECK"><![CDATA[ISAPPROVED IN ('Y', 'N')]]></check>
+      <check name="GL_JOURNAL_ISPRINTED_CHECK"><![CDATA[ISPRINTED IN ('Y', 'N')]]></check>
+      <check name="GL_JOURNAL_PROCESSED_CHECK"><![CDATA[PROCESSED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/GL_JOURNALBATCH.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/GL_JOURNALBATCH.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -44,8 +44,8 @@
         <unique-column name="C_PERIOD_ID"/>
         <unique-column name="DOCUMENTNO"/>
       </unique>
-      <check name="GLJOURNBATCH_PROCESSED_CHECK" condition="PROCESSED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="GLJOURNBATCH_PROCESSING_CHECK" condition="PROCESSING IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="GL_JOURNALBATCH_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="GLJOURNBATCH_PROCESSED_CHECK"><![CDATA[PROCESSED IN ('Y', 'N')]]></check>
+      <check name="GLJOURNBATCH_PROCESSING_CHECK"><![CDATA[PROCESSING IN ('Y', 'N')]]></check>
+      <check name="GL_JOURNALBATCH_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/GL_JOURNALLINE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/GL_JOURNALLINE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -46,7 +46,7 @@
       <foreign-key foreignTable="GL_JOURNAL" name="GLJOURNAL_GLJOURNALLINE">
         <reference local="GL_JOURNAL_ID" foreign="GL_JOURNAL_ID"/>
       </foreign-key>
-      <check name="GLJOURNLINE_ISGENERATED_CHECK" condition="ISGENERATED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="GL_JOURNALLINE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="GLJOURNLINE_ISGENERATED_CHECK"><![CDATA[ISGENERATED IN ('Y', 'N')]]></check>
+      <check name="GL_JOURNALLINE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/I_BANKSTATEMENT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/I_BANKSTATEMENT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -67,9 +67,9 @@
       <foreign-key foreignTable="C_INVOICE" name="CINVOICE_IBANKSTATEMENT">
         <reference local="C_INVOICE_ID" foreign="C_INVOICE_ID"/>
       </foreign-key>
-      <check name="IBANKSTAT_ISREVERSAL_CHECK" condition="ISREVERSAL IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="IBANKSTAT_I_ISIMPORTED_CHECK" condition="I_ISIMPORTED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="IBANKSTAT_PROCESSED_CHECK" condition="PROCESSED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="I_BANKSTATEMENT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="IBANKSTAT_ISREVERSAL_CHECK"><![CDATA[ISREVERSAL IN ('Y', 'N')]]></check>
+      <check name="IBANKSTAT_I_ISIMPORTED_CHECK"><![CDATA[I_ISIMPORTED IN ('Y', 'N')]]></check>
+      <check name="IBANKSTAT_PROCESSED_CHECK"><![CDATA[PROCESSED IN ('Y', 'N')]]></check>
+      <check name="I_BANKSTATEMENT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/I_BPARTNER.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/I_BPARTNER.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -73,7 +73,7 @@
       <foreign-key foreignTable="C_REGION" name="CREGION_IBPARTNER">
         <reference local="C_REGION_ID" foreign="C_REGION_ID"/>
       </foreign-key>
-      <check name="IBPARTNER_PROCESSED_CHECK" condition="PROCESSED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="I_BPARTNER_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="IBPARTNER_PROCESSED_CHECK"><![CDATA[PROCESSED IN ('Y', 'N')]]></check>
+      <check name="I_BPARTNER_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/I_BUDGETLINE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/I_BUDGETLINE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -96,6 +96,6 @@
       <foreign-key foreignTable="C_CAMPAIGN" name="SO_CAMPAIGN_I_BUDGETLINE">
         <reference local="C_CAMPAIGN_ID" foreign="C_CAMPAIGN_ID"/>
       </foreign-key>
-      <check name="I_BUDGETLINE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="I_BUDGETLINE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/I_ELEMENTVALUE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/I_ELEMENTVALUE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -51,12 +51,12 @@
       <foreign-key foreignTable="C_ELEMENTVALUE" name="CEVALUEPARENT_IELEMENTVALUE">
         <reference local="PARENTELEMENTVALUE_ID" foreign="C_ELEMENTVALUE_ID"/>
       </foreign-key>
-      <check name="IELEMVALUE_POSTACTUAL_CHECK" condition="POSTACTUAL IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="IELEMVALUE_POSTBUDGET_CHECK" condition="POSTBUDGET IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="IELEMVALUE_POSTENCUMBR_CHECK" condition="POSTENCUMBRANCE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="IELEMVALUE_POSTSTATIST_CHECK" condition="POSTSTATISTICAL IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="IELEMVALUE_PROCESSED_CHECK" condition="PROCESSED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="IELEMVAL_ISDOCCONTROL_CHECK" condition="ISDOCCONTROLLED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="I_ELEMENTVALUE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="IELEMVALUE_POSTACTUAL_CHECK"><![CDATA[POSTACTUAL IN ('Y', 'N')]]></check>
+      <check name="IELEMVALUE_POSTBUDGET_CHECK"><![CDATA[POSTBUDGET IN ('Y', 'N')]]></check>
+      <check name="IELEMVALUE_POSTENCUMBR_CHECK"><![CDATA[POSTENCUMBRANCE IN ('Y', 'N')]]></check>
+      <check name="IELEMVALUE_POSTSTATIST_CHECK"><![CDATA[POSTSTATISTICAL IN ('Y', 'N')]]></check>
+      <check name="IELEMVALUE_PROCESSED_CHECK"><![CDATA[PROCESSED IN ('Y', 'N')]]></check>
+      <check name="IELEMVAL_ISDOCCONTROL_CHECK"><![CDATA[ISDOCCONTROLLED IN ('Y', 'N')]]></check>
+      <check name="I_ELEMENTVALUE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/I_GLJOURNAL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/I_GLJOURNAL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -142,8 +142,8 @@
       <foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_OGLJOURNAL">
         <reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
       </foreign-key>
-      <check name="IGLJOURNAL_I_ISIMPORTED_CHECK" condition="I_ISIMPORTED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="I_GLJOURNAL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="I_GLJOURNAL_PROCESSED_CHECK" condition="PROCESSED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="IGLJOURNAL_I_ISIMPORTED_CHECK"><![CDATA[I_ISIMPORTED IN ('Y', 'N')]]></check>
+      <check name="I_GLJOURNAL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="I_GLJOURNAL_PROCESSED_CHECK"><![CDATA[PROCESSED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/I_INVOICE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/I_INVOICE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -119,9 +119,9 @@
       <foreign-key foreignTable="AD_USER" name="REFAD_USER1974">
         <reference local="SALESREP_ID" foreign="AD_USER_ID"/>
       </foreign-key>
-      <check name="I_INVOICE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="I_INVOICE_ISSOTRX_CHECK" condition="ISSOTRX IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="I_INVOICE_I_ISIMPORTED_CHECK" condition="I_ISIMPORTED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="I_INVOICE_PROCESSED_CHECK" condition="PROCESSED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="I_INVOICE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="I_INVOICE_ISSOTRX_CHECK"><![CDATA[ISSOTRX IN ('Y', 'N')]]></check>
+      <check name="I_INVOICE_I_ISIMPORTED_CHECK"><![CDATA[I_ISIMPORTED IN ('Y', 'N')]]></check>
+      <check name="I_INVOICE_PROCESSED_CHECK"><![CDATA[PROCESSED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/I_ORDER.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/I_ORDER.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -148,9 +148,9 @@
       <foreign-key foreignTable="C_PROJECT" name="REFC_PROJECT1959">
         <reference local="C_PROJECT_ID" foreign="C_PROJECT_ID"/>
       </foreign-key>
-      <check name="I_ORDER_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="I_ORDER_ISSOTRX_CHECK" condition="ISSOTRX IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="I_ORDER_I_ISIMPORTED_CHECK" condition="I_ISIMPORTED IN (&apos;Y&apos;, &apos;N&apos;, &apos;E&apos;)"/>
-      <check name="I_ORDER_PROCESSED_CHECK" condition="PROCESSED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="I_ORDER_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="I_ORDER_ISSOTRX_CHECK"><![CDATA[ISSOTRX IN ('Y', 'N')]]></check>
+      <check name="I_ORDER_I_ISIMPORTED_CHECK"><![CDATA[I_ISIMPORTED IN ('Y', 'N', 'E')]]></check>
+      <check name="I_ORDER_PROCESSED_CHECK"><![CDATA[PROCESSED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/I_PRODUCT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/I_PRODUCT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -73,8 +73,8 @@
       <foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_IPRODUCT">
         <reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
       </foreign-key>
-      <check name="I_PRODUCT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="I_PRODUCT_PROCESSED_CHECK" condition="PROCESSED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="I_PROD_DISCONTINUED_CHECK" condition="DISCONTINUED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="I_PRODUCT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="I_PRODUCT_PROCESSED_CHECK"><![CDATA[PROCESSED IN ('Y', 'N')]]></check>
+      <check name="I_PROD_DISCONTINUED_CHECK"><![CDATA[DISCONTINUED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/I_REPORTLINE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/I_REPORTLINE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -46,8 +46,8 @@
       <foreign-key foreignTable="PA_REPORTSOURCE" name="PAREPORTSOURCE_IREPORTLINE">
         <reference local="PA_REPORTSOURCE_ID" foreign="PA_REPORTSOURCE_ID"/>
       </foreign-key>
-      <check name="I_REPORTLINE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="I_REPORTLINE_ISPRINTED_CHECK" condition="ISPRINTED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="I_REPORTLINE_PROCESSED_CHECK" condition="PROCESSED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="I_REPORTLINE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="I_REPORTLINE_ISPRINTED_CHECK"><![CDATA[ISPRINTED IN ('Y', 'N')]]></check>
+      <check name="I_REPORTLINE_PROCESSED_CHECK"><![CDATA[PROCESSED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/K_CATEGORY.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/K_CATEGORY.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -18,6 +18,6 @@
       <foreign-key foreignTable="AD_ORG" name="ADORG_KCATEGORY">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="K_CATEGORY_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="K_CATEGORY_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/K_CATEGORYVALUE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/K_CATEGORYVALUE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -21,6 +21,6 @@
       <foreign-key foreignTable="K_CATEGORY" name="KCATEGORY_KCATEGORYVALUE">
         <reference local="K_CATEGORY_ID" foreign="K_CATEGORY_ID"/>
       </foreign-key>
-      <check name="K_CATEGORYVALUE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="K_CATEGORYVALUE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/K_COMMENT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/K_COMMENT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -22,7 +22,7 @@
       <foreign-key foreignTable="K_ENTRY" name="KENTRY_KCOMMENT">
         <reference local="K_ENTRY_ID" foreign="K_ENTRY_ID"/>
       </foreign-key>
-      <check name="K_COMMENT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="K_COMMENT_ISPUBLIC_CHECK" condition="ISPUBLIC IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="K_COMMENT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="K_COMMENT_ISPUBLIC_CHECK"><![CDATA[ISPUBLIC IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/K_ENTRY.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/K_ENTRY.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -30,7 +30,7 @@
       <foreign-key foreignTable="K_TOPIC" name="KTOPIC_KENTRY">
         <reference local="K_TOPIC_ID" foreign="K_TOPIC_ID"/>
       </foreign-key>
-      <check name="K_ENTRY_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="K_ENTRY_ISPUBLIC_CHECK" condition="ISPUBLIC IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="K_ENTRY_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="K_ENTRY_ISPUBLIC_CHECK"><![CDATA[ISPUBLIC IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/K_ENTRYCATEGORY.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/K_ENTRYCATEGORY.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -26,6 +26,6 @@
       <foreign-key foreignTable="K_ENTRY" name="KENTRY_KENTRYCATALOG">
         <reference local="K_ENTRY_ID" foreign="K_ENTRY_ID"/>
       </foreign-key>
-      <check name="K_ENTRYCATEGORY_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="K_ENTRYCATEGORY_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/K_ENTRYRELATED.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/K_ENTRYRELATED.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -23,6 +23,6 @@
       <foreign-key foreignTable="K_ENTRY" name="KENTRY_KENTRYRELATEDID">
         <reference local="K_ENTRYRELATED_ID" foreign="K_ENTRY_ID"/>
       </foreign-key>
-      <check name="K_ENTRYRELATED_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="K_ENTRYRELATED_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/K_SOURCE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/K_SOURCE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -17,6 +17,6 @@
       <foreign-key foreignTable="AD_ORG" name="ADORG_KSOURCE">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="K_SOURCE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="K_SOURCE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/K_SYNONYM.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/K_SYNONYM.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -17,6 +17,6 @@
       <foreign-key foreignTable="AD_ORG" name="ADORG_KSYNONYM">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="K_SYNONYM_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="K_SYNONYM_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/K_TOPIC.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/K_TOPIC.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -24,7 +24,7 @@
       <foreign-key foreignTable="K_TYPE" name="KTYPE_KTOPIC">
         <reference local="K_TYPE_ID" foreign="K_TYPE_ID"/>
       </foreign-key>
-      <check name="K_TOPIC_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="K_TOPIC_ISPUBLIC_CHECK" condition="ISPUBLIC IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="K_TOPIC_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="K_TOPIC_ISPUBLIC_CHECK"><![CDATA[ISPUBLIC IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/K_TYPE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/K_TYPE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -20,7 +20,7 @@
       <foreign-key foreignTable="AD_ORG" name="ADORG_KTYPE">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="K_TYPE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="K_TYPE_ISPUBLIC_CHECK" condition="ISPUBLIC IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="K_TYPE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="K_TYPE_ISPUBLIC_CHECK"><![CDATA[ISPUBLIC IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_CALCSTD.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_CALCSTD.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -26,6 +26,6 @@
       <foreign-key foreignTable="MA_PROCESSPLAN_VERSION" name="MA_PROCPLANVERSION_MACALCSTD">
         <reference local="MA_PROCESSPLAN_VERSION_ID" foreign="MA_PROCESSPLAN_VERSION_ID"/>
       </foreign-key>
-      <check name="MA_CALCSTD_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_CALCSTD_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_CCP.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_CCP.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -25,7 +25,7 @@
       <foreign-key foreignTable="MA_CCP_GROUP" name="MA_CCP_GROUP_MACCP">
         <reference local="MA_CCP_GROUP_ID" foreign="MA_CCP_GROUP_ID"/>
       </foreign-key>
-      <check name="MA_CCP_CRITICAL_CHECK" condition="CRITICAL IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MA_CCP_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_CCP_CRITICAL_CHECK"><![CDATA[CRITICAL IN ('Y', 'N')]]></check>
+      <check name="MA_CCP_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_CCP_GROUP.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_CCP_GROUP.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -20,7 +20,7 @@
       <foreign-key foreignTable="AD_ORG" name="AD_ORG_MACCPGROUP">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="MACCPGR_HASSECPRODUCT_CHECK" condition="HASSECPRODUCT IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MA_CCP_GROUP_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MACCPGR_HASSECPRODUCT_CHECK"><![CDATA[HASSECPRODUCT IN ('Y', 'N')]]></check>
+      <check name="MA_CCP_GROUP_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_CCP_SHIFT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_CCP_SHIFT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -22,6 +22,6 @@
       <foreign-key foreignTable="MA_CCP_GROUP" name="MA_CCP_GROUP_MACCPSHIFT">
         <reference local="MA_CCP_GROUP_ID" foreign="MA_CCP_GROUP_ID"/>
       </foreign-key>
-      <check name="MA_CCP_SHIFT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_CCP_SHIFT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_CONSUMEPRODUCT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_CONSUMEPRODUCT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -20,6 +20,6 @@
       <foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_MACONSUMEPRODUCT">
         <reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
       </foreign-key>
-      <check name="MA_CONSUMEPRODU_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_CONSUMEPRODU_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_CONSUMERM.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_CONSUMERM.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -24,6 +24,6 @@
       <foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_MACONSUMERM">
         <reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
       </foreign-key>
-      <check name="MA_CONSUMERM_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_CONSUMERM_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_COSTCENTER.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_COSTCENTER.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -21,6 +21,6 @@
       <foreign-key foreignTable="AD_ORG" name="AD_ORG_MACOSTCENTER">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="MA_COSTCENTER_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_COSTCENTER_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_COSTCENTER_EMPLOYEE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_COSTCENTER_EMPLOYEE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -25,6 +25,6 @@
       <foreign-key foreignTable="MA_COSTCENTER_VERSION" name="MACCVERSION_COSTCENTEREMP">
         <reference local="MA_COSTCENTER_VERSION_ID" foreign="MA_COSTCENTER_VERSION_ID"/>
       </foreign-key>
-      <check name="MA_COSTCENTER_E_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_COSTCENTER_E_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_COSTCENTER_IC.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_COSTCENTER_IC.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -23,6 +23,6 @@
       <foreign-key foreignTable="MA_COSTCENTER_VERSION" name="MACCVERSION_COSTCENTERIC">
         <reference local="MA_COSTCENTER_VERSION_ID" foreign="MA_COSTCENTER_VERSION_ID"/>
       </foreign-key>
-      <check name="MA_COSTCENTER_I_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_COSTCENTER_I_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_COSTCENTER_MACHINE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_COSTCENTER_MACHINE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -24,6 +24,6 @@
       <foreign-key foreignTable="MA_MACHINE" name="MAMACHINE_MACOSTCENTERMACHINE">
         <reference local="MA_MACHINE_ID" foreign="MA_MACHINE_ID"/>
       </foreign-key>
-      <check name="MA_COSTCENTER_M_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_COSTCENTER_M_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_COSTCENTER_VERSION.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_COSTCENTER_VERSION.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -23,6 +23,6 @@
       <foreign-key foreignTable="MA_COSTCENTER" name="COSTCENTER_COSTCENTERVERSION">
         <reference local="MA_COSTCENTER_ID" foreign="MA_COSTCENTER_ID"/>
       </foreign-key>
-      <check name="MA_COSTCENTER_V_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_COSTCENTER_V_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_DEFAULTPLAN.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_DEFAULTPLAN.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -22,6 +22,6 @@
       <foreign-key foreignTable="M_PRODUCT" name="M_PRODUCT_MADEFAULTPLAN">
         <reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
       </foreign-key>
-      <check name="MA_DEFAULTPLAN_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_DEFAULTPLAN_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_GLOBALUSE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_GLOBALUSE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -41,7 +41,7 @@
       <foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_MAGLOBALUSE">
         <reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
       </foreign-key>
-      <check name="MA_GLOBALUSE_CHECK1" condition="((QUANTITYORDER IS NULL) AND (M_PRODUCT_UOM_ID IS NULL)) OR ((QUANTITYORDER IS NOT NULL) AND (M_PRODUCT_UOM_ID IS NOT NULL))"/>
-      <check name="MA_GLOBALUSE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_GLOBALUSE_CHECK1"><![CDATA[((QUANTITYORDER IS NULL) AND (M_PRODUCT_UOM_ID IS NULL)) OR ((QUANTITYORDER IS NOT NULL) AND (M_PRODUCT_UOM_ID IS NOT NULL))]]></check>
+      <check name="MA_GLOBALUSE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_INCIDENCE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_INCIDENCE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -18,6 +18,6 @@
       <foreign-key foreignTable="AD_ORG" name="AD_ORG_MAINCIDENCE">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="MA_INCIDENCE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_INCIDENCE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_INDIRECT_COST.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_INDIRECT_COST.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -18,6 +18,6 @@
       <foreign-key foreignTable="AD_ORG" name="AD_ORG_MAINDIRECT_COST">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="MA_INDIRECT_COS_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_INDIRECT_COS_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_INDIRECT_COST_VALUE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_INDIRECT_COST_VALUE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -26,8 +26,8 @@
       <foreign-key foreignTable="MA_INDIRECT_COST" name="MAINDIRECT_COST_MA_IC_VALUE">
         <reference local="MA_INDIRECT_COST_ID" foreign="MA_INDIRECT_COST_ID"/>
       </foreign-key>
-      <check name="MAINDCOVAL_CALCULATED_CHECK" condition="CALCULATED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MAINDCOVAL_CALCULATE_CHECK" condition="CALCULATE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MAINDCOVAL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MAINDCOVAL_CALCULATED_CHECK"><![CDATA[CALCULATED IN ('Y', 'N')]]></check>
+      <check name="MAINDCOVAL_CALCULATE_CHECK"><![CDATA[CALCULATE IN ('Y', 'N')]]></check>
+      <check name="MAINDCOVAL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_MACHINE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_MACHINE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -28,6 +28,6 @@
       <foreign-key foreignTable="MA_MACHINE_TYPE" name="MA_MACHINE_TYPE_MAMACHINE">
         <reference local="MA_MACHINE_TYPE_ID" foreign="MA_MACHINE_TYPE_ID"/>
       </foreign-key>
-      <check name="MA_MACHINE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_MACHINE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_MACHINESTATION.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_MACHINESTATION.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -23,6 +23,6 @@
       <foreign-key foreignTable="MA_WORKSTATION" name="MA_WORKSTATION_MAMACHINSTAT">
         <reference local="MA_WORKSTATION_ID" foreign="MA_WORKSTATION_ID"/>
       </foreign-key>
-      <check name="MA_MACHINESTATI_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_MACHINESTATI_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_MACHINE_COST.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_MACHINE_COST.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -31,6 +31,6 @@
       <foreign-key foreignTable="MA_MACHINE" name="MAMACHINE_MAMACHINECOST">
         <reference local="MA_MACHINE_ID" foreign="MA_MACHINE_ID"/>
       </foreign-key>
-      <check name="MA_MACHINE_COST_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_MACHINE_COST_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_MACHINE_TYPE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_MACHINE_TYPE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -17,6 +17,6 @@
       <foreign-key foreignTable="AD_ORG" name="AD_ORG_MAMACHINETYPE">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="MA_MACHINE_TYPE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_MACHINE_TYPE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_MAINTENANCE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_MAINTENANCE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -32,6 +32,6 @@
       <foreign-key foreignTable="MA_MACHINE_TYPE" name="MA_MACHINE_TYPE_MAMAINTENANCE">
         <reference local="MA_MACHINE_TYPE_ID" foreign="MA_MACHINE_TYPE_ID"/>
       </foreign-key>
-      <check name="MA_MAINTENANCE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_MAINTENANCE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_MAINT_OPERATION.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_MAINT_OPERATION.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -17,6 +17,6 @@
       <foreign-key foreignTable="AD_ORG" name="AD_ORG_MAMAINT_OPERATION">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="MA_MAINT_OPERAT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_MAINT_OPERAT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_MAINT_PART.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_MAINT_PART.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -19,6 +19,6 @@
       <foreign-key foreignTable="AD_ORG" name="AD_ORG_MAMAINT_PART">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="MA_MAINT_PART_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_MAINT_PART_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_MAINT_PERIODICITY.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_MAINT_PERIODICITY.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -25,7 +25,7 @@
       <foreign-key foreignTable="MA_MAINTENANCE" name="MAMAINTENANCE_MAINTPERIODICITY">
         <reference local="MA_MAINTENANCE_ID" foreign="MA_MAINTENANCE_ID"/>
       </foreign-key>
-      <check name="MAINTPERIOD_EXCLUDWEEK_CHECK" condition="EXCLUDEWEEKEND IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MAMAINTPERIOD_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MAINTPERIOD_EXCLUDWEEK_CHECK"><![CDATA[EXCLUDEWEEKEND IN ('Y', 'N')]]></check>
+      <check name="MAMAINTPERIOD_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_MAINT_SCHEDULED.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_MAINT_SCHEDULED.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -47,6 +47,6 @@
       <foreign-key foreignTable="M_INTERNAL_CONSUMPTION" name="M_INTCONSUMP_MAINT_SCHEDULED">
         <reference local="M_INTERNAL_CONSUMPTION_ID" foreign="M_INTERNAL_CONSUMPTION_ID"/>
       </foreign-key>
-      <check name="MA_MAINT_SCHEDU_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_MAINT_SCHEDU_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_MAINT_WORKER.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_MAINT_WORKER.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -23,6 +23,6 @@
       <foreign-key foreignTable="MA_MAINT_PART" name="MAMAINTPART_MAMAINT_WORKER">
         <reference local="MA_MAINT_PART_ID" foreign="MA_MAINT_PART_ID"/>
       </foreign-key>
-      <check name="MA_MAINT_WORKER_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_MAINT_WORKER_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_MEASURE_GROUP.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_MEASURE_GROUP.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -26,6 +26,6 @@
       <foreign-key foreignTable="MA_MEASURE_SHIFT" name="MA_MEASURESHIFT_MAMEASUREGROUP">
         <reference local="MA_MEASURE_SHIFT_ID" foreign="MA_MEASURE_SHIFT_ID"/>
       </foreign-key>
-      <check name="MA_MEASURE_GROU_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_MEASURE_GROU_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_MEASURE_SHIFT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_MEASURE_SHIFT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -27,7 +27,7 @@
       <foreign-key foreignTable="AD_USER" name="AD_USER_MAMEASURESHIFT">
         <reference local="AD_USER_ID" foreign="AD_USER_ID"/>
       </foreign-key>
-      <check name="MA_MEASURE_SHIFT_SHIFT_CHECK" condition="SHIFT IN (&apos;M&apos;, &apos;T&apos;)"/>
-      <check name="MEASURESHIFT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_MEASURE_SHIFT_SHIFT_CHECK"><![CDATA[SHIFT IN ('M', 'T')]]></check>
+      <check name="MEASURESHIFT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_MEASURE_TIME.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_MEASURE_TIME.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -22,6 +22,6 @@
       <foreign-key foreignTable="MA_MEASURE_GROUP" name="MA_MEASURE_GROUP_MAMEASURETIME">
         <reference local="MA_MEASURE_GROUP_ID" foreign="MA_MEASURE_GROUP_ID"/>
       </foreign-key>
-      <check name="MA_MEASURE_TIME_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_MEASURE_TIME_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_MEASURE_VALUES.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_MEASURE_VALUES.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -28,6 +28,6 @@
       <foreign-key foreignTable="MA_MEASURE_TIME" name="MA_MEASURETIME_MAMEASUREVALUES">
         <reference local="MA_MEASURE_TIME_ID" foreign="MA_MEASURE_TIME_ID"/>
       </foreign-key>
-      <check name="MA_MEASURE_VALU_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_MEASURE_VALU_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_PC_CASE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_PC_CASE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -31,6 +31,6 @@
       <foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_MAPCCASE">
         <reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
       </foreign-key>
-      <check name="MA_PC_CASE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_PC_CASE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_PC_TEST.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_PC_TEST.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -22,6 +22,6 @@
       <foreign-key foreignTable="MA_PERIODIC_CONTROL" name="MA_PERIODIC_CONTROL_MAPCTEST">
         <reference local="MA_PERIODIC_CONTROL_ID" foreign="MA_PERIODIC_CONTROL_ID"/>
       </foreign-key>
-      <check name="MA_PC_TEST_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_PC_TEST_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_PC_VALUE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_PC_VALUE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -25,6 +25,6 @@
       <foreign-key foreignTable="MA_PC_TEST" name="MA_PC_TEST_MAPCVALUE">
         <reference local="MA_PC_TEST_ID" foreign="MA_PC_TEST_ID"/>
       </foreign-key>
-      <check name="MA_PC_VALUE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_PC_VALUE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_PERIODIC_CONTROL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_PERIODIC_CONTROL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -17,6 +17,6 @@
       <foreign-key foreignTable="AD_ORG" name="AD_ORG_MAPERIODIC_CONTROL">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="MA_PERIODIC_CON_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_PERIODIC_CON_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_PL_EMPLOYEE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_PL_EMPLOYEE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -26,6 +26,6 @@
       <foreign-key foreignTable="M_PRODUCTIONPLAN" name="MPRODUCTIONPLAN_MA_PL_EMPLOYEE">
         <reference local="M_PRODUCTIONPLAN_ID" foreign="M_PRODUCTIONPLAN_ID"/>
       </foreign-key>
-      <check name="MA_PL_EMPLOYEE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_PL_EMPLOYEE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_PL_IC.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_PL_IC.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -24,6 +24,6 @@
       <foreign-key foreignTable="M_PRODUCTIONPLAN" name="MPRODUCTIONPLAN_MAPLIC">
         <reference local="M_PRODUCTIONPLAN_ID" foreign="M_PRODUCTIONPLAN_ID"/>
       </foreign-key>
-      <check name="MA_PL_IC_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_PL_IC_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_PL_INVOICELINE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_PL_INVOICELINE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -24,6 +24,6 @@
       <foreign-key foreignTable="M_PRODUCTIONPLAN" name="MPRODUCTIONPLAN_PLINVOICELINE">
         <reference local="M_PRODUCTIONPLAN_ID" foreign="M_PRODUCTIONPLAN_ID"/>
       </foreign-key>
-      <check name="MA_PL_INVOICELI_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_PL_INVOICELI_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_PL_MACHINE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_PL_MACHINE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -25,6 +25,6 @@
       <foreign-key foreignTable="M_PRODUCTIONPLAN" name="MPRODUCTIONPLAN_MAPLMACHINE">
         <reference local="M_PRODUCTIONPLAN_ID" foreign="M_PRODUCTIONPLAN_ID"/>
       </foreign-key>
-      <check name="MA_PL_MACHINE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_PL_MACHINE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_PROCESS.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_PROCESS.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -34,6 +34,6 @@
       <foreign-key foreignTable="MA_WORKSTATION" name="MA_WORKSTATION_MAPROCESS">
         <reference local="MA_WORKSTATION_ID" foreign="MA_WORKSTATION_ID"/>
       </foreign-key>
-      <check name="MA_PROCESS_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_PROCESS_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_PROCESSPLAN.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_PROCESSPLAN.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -23,8 +23,8 @@
       <foreign-key foreignTable="AD_ORG" name="AD_ORG_MAPROCESSPLAN">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="MAPROCPLAN_CALCULATED_CHECK" condition="CALCULATED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MAPROCPLAN_EXPLPHASES_CHECK" condition="EXPLODEPHASES IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MA_PROCESSPLAN_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MAPROCPLAN_CALCULATED_CHECK"><![CDATA[CALCULATED IN ('Y', 'N')]]></check>
+      <check name="MAPROCPLAN_EXPLPHASES_CHECK"><![CDATA[EXPLODEPHASES IN ('Y', 'N')]]></check>
+      <check name="MA_PROCESSPLAN_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_PROCESSPLAN_VERSION.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_PROCESSPLAN_VERSION.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -22,6 +22,6 @@
       <foreign-key foreignTable="MA_PROCESSPLAN" name="MA_PROCPLAN_MAPROCPLANVERSION">
         <reference local="MA_PROCESSPLAN_ID" foreign="MA_PROCESSPLAN_ID"/>
       </foreign-key>
-      <check name="MAPROCPLVER_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MAPROCPLVER_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_PRODUCTTYPE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_PRODUCTTYPE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -19,8 +19,8 @@
       <foreign-key foreignTable="AD_ORG" name="AD_ORG_MAPRODUCTTYPE">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="MA_PRODUCTTYPE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MA_PRODUCTTYPE_RMINPUT_CHECK" condition="RMINPUT IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MA_PRODUCTTYPE_RMOUTPUT_CHECK" condition="RMOUTPUT IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_PRODUCTTYPE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="MA_PRODUCTTYPE_RMINPUT_CHECK"><![CDATA[RMINPUT IN ('Y', 'N')]]></check>
+      <check name="MA_PRODUCTTYPE_RMOUTPUT_CHECK"><![CDATA[RMOUTPUT IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_SECTION.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_SECTION.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -17,6 +17,6 @@
       <foreign-key foreignTable="AD_ORG" name="AD_ORG_MASECTION">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="MA_SECTION_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_SECTION_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_SEQUENCE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_SEQUENCE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -37,11 +37,11 @@
       <foreign-key foreignTable="MA_PROCESS" name="MAPROCESS_MASEQUENCE">
         <reference local="MA_PROCESS_ID" foreign="MA_PROCESS_ID"/>
       </foreign-key>
-      <check name="MA_SEQUENCE_CALCULATED_CHECK" condition="CALCULATED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MA_SEQUENCE_GROUPUSE_CHECK" condition="GROUPUSE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MA_SEQUENCE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MA_SEQUENCE_ISDEFAULT_CHECK" condition="ISDEFAULT IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MA_SEQUENCE_NOQTY_CHECK" condition="NOQTY IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MA_SEQUENCE_OUTSOURCED_CHECK" condition="OUTSOURCED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_SEQUENCE_CALCULATED_CHECK"><![CDATA[CALCULATED IN ('Y', 'N')]]></check>
+      <check name="MA_SEQUENCE_GROUPUSE_CHECK"><![CDATA[GROUPUSE IN ('Y', 'N')]]></check>
+      <check name="MA_SEQUENCE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="MA_SEQUENCE_ISDEFAULT_CHECK"><![CDATA[ISDEFAULT IN ('Y', 'N')]]></check>
+      <check name="MA_SEQUENCE_NOQTY_CHECK"><![CDATA[NOQTY IN ('Y', 'N')]]></check>
+      <check name="MA_SEQUENCE_OUTSOURCED_CHECK"><![CDATA[OUTSOURCED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_SEQUENCEPRODUCT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_SEQUENCEPRODUCT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -41,6 +41,6 @@
       <foreign-key foreignTable="M_PRODUCT" name="M_PRODUCT_MASEQUENCEPRODUCT">
         <reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
       </foreign-key>
-      <check name="MA_SEQUENCEPROD_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_SEQUENCEPROD_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_SEQUENCEPRODUCT_COST.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_SEQUENCEPRODUCT_COST.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -33,7 +33,7 @@
       <foreign-key foreignTable="MA_CALCSTD" name="MA_CALCSTD_MASEQPRODCOST">
         <reference local="MA_CALCSTD_ID" foreign="MA_CALCSTD_ID"/>
       </foreign-key>
-      <check name="MASEQPRODCT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MASEQPRODCT_PRO_TIONTYPE_CHECK" condition="PRODUCTIONTYPE IN (&apos;+&apos;, &apos;-&apos;)"/>
+      <check name="MASEQPRODCT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="MASEQPRODCT_PRO_TIONTYPE_CHECK"><![CDATA[PRODUCTIONTYPE IN ('+', '-')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_SEQUENCE_EMPLOYEE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_SEQUENCE_EMPLOYEE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -24,6 +24,6 @@
       <foreign-key foreignTable="MA_SEQUENCE" name="SEQUENCE_FK_SEQEMPLOYEE">
         <reference local="MA_SEQUENCE_ID" foreign="MA_SEQUENCE_ID"/>
       </foreign-key>
-      <check name="ISACTIVE_CH_SEQEMPLOYEE" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ISACTIVE_CH_SEQEMPLOYEE"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_SEQUENCE_IC.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_SEQUENCE_IC.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -24,6 +24,6 @@
       <foreign-key foreignTable="MA_SEQUENCE" name="SEQUENCE_FK_SEQIC">
         <reference local="MA_SEQUENCE_ID" foreign="MA_SEQUENCE_ID"/>
       </foreign-key>
-      <check name="ISACTIVE_CH_SEQIC" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ISACTIVE_CH_SEQIC"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_SEQUENCE_MACHINE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_SEQUENCE_MACHINE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -24,6 +24,6 @@
       <foreign-key foreignTable="MA_SEQUENCE" name="SEQUENCE_FK_SEQMACHINE">
         <reference local="MA_SEQUENCE_ID" foreign="MA_SEQUENCE_ID"/>
       </foreign-key>
-      <check name="ISACTIVE_CH_SEQMACHINE" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ISACTIVE_CH_SEQMACHINE"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_TOOLSET.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_TOOLSET.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -26,7 +26,7 @@
       <foreign-key foreignTable="M_LOCATOR" name="M_LOCATORMATOOLSET">
         <reference local="M_LOCATOR_ID" foreign="M_LOCATOR_ID"/>
       </foreign-key>
-      <check name="MA_TOOLSET_DISCARDED_CHECK" condition="DISCARDED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MA_TOOLSET_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_TOOLSET_DISCARDED_CHECK"><![CDATA[DISCARDED IN ('Y', 'N')]]></check>
+      <check name="MA_TOOLSET_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_TOOLSETPROCESS.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_TOOLSETPROCESS.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -24,6 +24,6 @@
       <foreign-key foreignTable="MA_TOOLSET_TYPE" name="MA_TOOLSETTYPEMATOOLSETPROCESS">
         <reference local="MA_TOOLSET_TYPE_ID" foreign="MA_TOOLSET_TYPE_ID"/>
       </foreign-key>
-      <check name="MA_TOOLSETPROCE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_TOOLSETPROCE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_TOOLSETUSED.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_TOOLSETUSED.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -24,6 +24,6 @@
       <foreign-key foreignTable="M_PRODUCTIONPLAN" name="M_PRODPLAN_MATOOLSETUSED">
         <reference local="M_PRODUCTIONPLAN_ID" foreign="M_PRODUCTIONPLAN_ID"/>
       </foreign-key>
-      <check name="MA_TOOLSETUSED_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_TOOLSETUSED_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_TOOLSET_TYPE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_TOOLSET_TYPE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -18,6 +18,6 @@
       <foreign-key foreignTable="AD_ORG" name="AD_ORG_MATOOLSETTYPE">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="MA_TOOLSET_TYPE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_TOOLSET_TYPE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_WEEMPLOYEE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_WEEMPLOYEE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -23,6 +23,6 @@
       <foreign-key foreignTable="M_PRODUCTION" name="M_PRODUCTION_MAWEEMPLOYEE">
         <reference local="M_PRODUCTION_ID" foreign="M_PRODUCTION_ID"/>
       </foreign-key>
-      <check name="MA_WEEMPLOYEE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_WEEMPLOYEE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_WEINCIDENCE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_WEINCIDENCE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -26,6 +26,6 @@
       <foreign-key foreignTable="M_PRODUCTION" name="M_PRODUCTION_MAWEINCIDENCE">
         <reference local="M_PRODUCTION_ID" foreign="M_PRODUCTION_ID"/>
       </foreign-key>
-      <check name="MA_WEINCIDENCE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_WEINCIDENCE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_WETECHNICALSUPPORT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_WETECHNICALSUPPORT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -25,6 +25,6 @@
       <foreign-key foreignTable="M_PRODUCTION" name="M_PRODUCTION_MAWETS">
         <reference local="M_PRODUCTION_ID" foreign="M_PRODUCTION_ID"/>
       </foreign-key>
-      <check name="MA_WETECHNICALS_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_WETECHNICALS_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_WORKREQUIREMENT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_WORKREQUIREMENT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -33,9 +33,9 @@
       <foreign-key foreignTable="MA_PROCESSPLAN" name="MA_PROCESSPLAN_MAWORKREQ">
         <reference local="MA_PROCESSPLAN_ID" foreign="MA_PROCESSPLAN_ID"/>
       </foreign-key>
-      <check name="MAWORKREQMENT_CLOSED_CHECK" condition="CLOSED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MAWORKREQMENT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MAWORKREQMENT_PROCESSED_CHECK" condition="PROCESSED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MAWORKREQ_EXPLODEPHASES_CHECK" condition="EXPLODEPHASES IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MAWORKREQMENT_CLOSED_CHECK"><![CDATA[CLOSED IN ('Y', 'N')]]></check>
+      <check name="MAWORKREQMENT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="MAWORKREQMENT_PROCESSED_CHECK"><![CDATA[PROCESSED IN ('Y', 'N')]]></check>
+      <check name="MAWORKREQ_EXPLODEPHASES_CHECK"><![CDATA[EXPLODEPHASES IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_WORKSTATION.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_WORKSTATION.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -21,6 +21,6 @@
       <foreign-key foreignTable="MA_SECTION" name="MA_GFH_MASECTION">
         <reference local="MA_SECTION_ID" foreign="MA_SECTION_ID"/>
       </foreign-key>
-      <check name="MA_WORKSTATION_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_WORKSTATION_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_WRPHASE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_WRPHASE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -38,10 +38,10 @@
       <foreign-key foreignTable="MA_WORKREQUIREMENT" name="MA_WORKREQUIREMENT_MAWRPHASE">
         <reference local="MA_WORKREQUIREMENT_ID" foreign="MA_WORKREQUIREMENT_ID"/>
       </foreign-key>
-      <check name="MA_WRPHASE_CLOSED_CHECK" condition="CLOSED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MA_WRPHASE_GROUPUSE_CHECK" condition="GROUPUSE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MA_WRPHASE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MA_WRPHASE_NOQTY_CHECK" condition="NOQTY IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MA_WRPHASE_OUTSOURCED_CHECK" condition="OUTSOURCED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MA_WRPHASE_CLOSED_CHECK"><![CDATA[CLOSED IN ('Y', 'N')]]></check>
+      <check name="MA_WRPHASE_GROUPUSE_CHECK"><![CDATA[GROUPUSE IN ('Y', 'N')]]></check>
+      <check name="MA_WRPHASE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="MA_WRPHASE_NOQTY_CHECK"><![CDATA[NOQTY IN ('Y', 'N')]]></check>
+      <check name="MA_WRPHASE_OUTSOURCED_CHECK"><![CDATA[OUTSOURCED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MA_WRPHASEPRODUCT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MA_WRPHASEPRODUCT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -38,7 +38,7 @@
       <foreign-key foreignTable="M_PRODUCT" name="M_PRODUCT_MAWRPHASEPRODUCT">
         <reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
       </foreign-key>
-      <check name="MAWRPHASEPROD_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MAWRPHASPRODT_PRODTYPE_CHECK" condition="PRODUCTIONTYPE IN (&apos;+&apos;, &apos;-&apos;)"/>
+      <check name="MAWRPHASEPROD_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="MAWRPHASPRODT_PRODTYPE_CHECK"><![CDATA[PRODUCTIONTYPE IN ('+', '-')]]></check>
     </table>
   </database>
--- a/database/model/tables/MRP_PLANNER.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MRP_PLANNER.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -19,8 +19,8 @@
       <foreign-key foreignTable="AD_ORG" name="AD_ORG_MRP_PLANNER">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="MRPPLANNER_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MRPPLANNER_ISPRODUCTION_CHECK" condition="ISPRODUCTION IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MRPPLANNER_ISPURCHASE_CHECK" condition="ISPURCHASE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MRPPLANNER_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="MRPPLANNER_ISPRODUCTION_CHECK"><![CDATA[ISPRODUCTION IN ('Y', 'N')]]></check>
+      <check name="MRPPLANNER_ISPURCHASE_CHECK"><![CDATA[ISPURCHASE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MRP_PLANNINGMETHOD.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MRP_PLANNINGMETHOD.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -17,6 +17,6 @@
       <foreign-key foreignTable="AD_ORG" name="AD_ORG_MRP_PLANNINGMETHOD">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="MRP_PLANNINGMET_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MRP_PLANNINGMET_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MRP_PLANNINGMETHODLINE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MRP_PLANNINGMETHODLINE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -24,6 +24,6 @@
       <foreign-key foreignTable="MRP_PLANNINGMETHOD" name="MRP_PLANNINGMETHOD_PMLINE">
         <reference local="MRP_PLANNINGMETHOD_ID" foreign="MRP_PLANNINGMETHOD_ID"/>
       </foreign-key>
-      <check name="MRPPLANLN_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MRPPLANLN_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MRP_RUN_PRODUCTION.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MRP_RUN_PRODUCTION.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -44,10 +44,10 @@
       <foreign-key foreignTable="M_PRODUCT" name="M_PRODUCT_RUN_PRODUCTION">
         <reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
       </foreign-key>
-      <check name="MRPRUNPRODUCTIO_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MRPRUNPRODUCTIO_LAUNCHMR_CHECK" condition="LAUNCHMR IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MRPRUNPRODUCTIO_LAUNCHWR_CHECK" condition="LAUNCHWR IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MRPRUNPRODUCTIO_SIMULATE_CHECK" condition="SIMULATE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MRPRUNPROD_RECA_ATESTOCK_CHECK" condition="RECALCULATESTOCK IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MRPRUNPRODUCTIO_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="MRPRUNPRODUCTIO_LAUNCHMR_CHECK"><![CDATA[LAUNCHMR IN ('Y', 'N')]]></check>
+      <check name="MRPRUNPRODUCTIO_LAUNCHWR_CHECK"><![CDATA[LAUNCHWR IN ('Y', 'N')]]></check>
+      <check name="MRPRUNPRODUCTIO_SIMULATE_CHECK"><![CDATA[SIMULATE IN ('Y', 'N')]]></check>
+      <check name="MRPRUNPROD_RECA_ATESTOCK_CHECK"><![CDATA[RECALCULATESTOCK IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MRP_RUN_PRODUCTIONLINE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MRP_RUN_PRODUCTIONLINE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -57,8 +57,8 @@
       <foreign-key foreignTable="MRP_RUN_PRODUCTIONLINE" name="PARENT_MRP_RUN_PRODUCTIONLINE">
         <reference local="PARENT_ID" foreign="MRP_RUN_PRODUCTIONLINE_ID"/>
       </foreign-key>
-      <check name="MRPRUNPRLN_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MRPRUNPRLN_ISFIXED_CHECK" condition="ISFIXED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MRPRUNPRLN_ISPLANNED_CHECK" condition="ISPLANNED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MRPRUNPRLN_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="MRPRUNPRLN_ISFIXED_CHECK"><![CDATA[ISFIXED IN ('Y', 'N')]]></check>
+      <check name="MRPRUNPRLN_ISPLANNED_CHECK"><![CDATA[ISPLANNED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MRP_RUN_PURCHASE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MRP_RUN_PURCHASE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -47,9 +47,9 @@
       <foreign-key foreignTable="C_BPARTNER" name="VENDOR_MRP_RUN_PURCHASE">
         <reference local="VENDOR_ID" foreign="C_BPARTNER_ID"/>
       </foreign-key>
-      <check name="MRPRUNPURCHASE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MRPRUNPURCHASE_LAUNCHPO_CHECK" condition="LAUNCHPO IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MRPRUNPURCHASE_RECAL_CHECK" condition="RECALCULATESTOCK IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MRPRUNPURCHASE_SIMULATE_CHECK" condition="SIMULATE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MRPRUNPURCHASE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="MRPRUNPURCHASE_LAUNCHPO_CHECK"><![CDATA[LAUNCHPO IN ('Y', 'N')]]></check>
+      <check name="MRPRUNPURCHASE_RECAL_CHECK"><![CDATA[RECALCULATESTOCK IN ('Y', 'N')]]></check>
+      <check name="MRPRUNPURCHASE_SIMULATE_CHECK"><![CDATA[SIMULATE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MRP_RUN_PURCHASELINE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MRP_RUN_PURCHASELINE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -51,7 +51,7 @@
       <foreign-key foreignTable="M_REQUISITIONLINE" name="M_REQUISITIONLINE_RUN_PURCHASE">
         <reference local="M_REQUISITIONLINE_ID" foreign="M_REQUISITIONLINE_ID"/>
       </foreign-key>
-      <check name="MRPRUNPURLN_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MRPRUNPURLN_ISFIXED_CHECK" condition="ISFIXED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MRPRUNPURLN_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="MRPRUNPURLN_ISFIXED_CHECK"><![CDATA[ISFIXED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MRP_SALESFORECAST.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MRP_SALESFORECAST.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -21,6 +21,6 @@
       <foreign-key foreignTable="C_BPARTNER" name="C_BPARTNER_MRP_SALESFORECAST">
         <reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
       </foreign-key>
-      <check name="MRP_SALESFORECA_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MRP_SALESFORECA_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/MRP_SALESFORECASTLINE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/MRP_SALESFORECASTLINE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -25,6 +25,6 @@
       <foreign-key foreignTable="M_PRODUCT" name="M_PRODUCT_MRPSALESFORECASTLINE">
         <reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
       </foreign-key>
-      <check name="MRPSALLN_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MRPSALLN_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_ATTRIBUTE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_ATTRIBUTE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -24,8 +24,8 @@
       <foreign-key foreignTable="M_ATTRIBUTESEARCH" name="MATTRIBUTESEARCH_MATTRIBUTE">
         <reference local="M_ATTRIBUTESEARCH_ID" foreign="M_ATTRIBUTESEARCH_ID"/>
       </foreign-key>
-      <check name="MATTRIB_ISINSTANCATTRIB_CHECK" condition="ISINSTANCEATTRIBUTE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="M_ATTRIBUTE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="M_ATTRIBUTE_ISMANDATORY_CHECK" condition="ISMANDATORY IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MATTRIB_ISINSTANCATTRIB_CHECK"><![CDATA[ISINSTANCEATTRIBUTE IN ('Y', 'N')]]></check>
+      <check name="M_ATTRIBUTE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="M_ATTRIBUTE_ISMANDATORY_CHECK"><![CDATA[ISMANDATORY IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_ATTRIBUTEINSTANCE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_ATTRIBUTEINSTANCE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -27,6 +27,6 @@
       <foreign-key foreignTable="M_ATTRIBUTESETINSTANCE" name="MATTRSETINST__MATTRINST" onDelete="cascade">
         <reference local="M_ATTRIBUTESETINSTANCE_ID" foreign="M_ATTRIBUTESETINSTANCE_ID"/>
       </foreign-key>
-      <check name="M_ATTRIBUTEINST_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="M_ATTRIBUTEINST_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_ATTRIBUTESEARCH.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_ATTRIBUTESEARCH.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -17,6 +17,6 @@
       <foreign-key foreignTable="AD_ORG" name="ADORG_MATTRIBUTESEARCH">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="M_ATTRIBUTESEAR_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="M_ATTRIBUTESEAR_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_ATTRIBUTESET.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_ATTRIBUTESET.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -30,10 +30,10 @@
       <foreign-key foreignTable="M_SERNOCTL" name="MSERNOCTL_ATTRIBUTESET">
         <reference local="M_SERNOCTL_ID" foreign="M_SERNOCTL_ID"/>
       </foreign-key>
-      <check name="MATTRIBSET_ISGUARDATE_CHECK" condition="ISGUARANTEEDATE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MATTRIBSET_ISLOCKABLE_CHECK" condition="ISLOCKABLE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="M_ATTRIBUTESET_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="M_ATTRIBUTESET_ISLOT_CHECK" condition="ISLOT IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="M_ATTRIBUTESET_ISSERNO_CHECK" condition="ISSERNO IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MATTRIBSET_ISGUARDATE_CHECK"><![CDATA[ISGUARANTEEDATE IN ('Y', 'N')]]></check>
+      <check name="MATTRIBSET_ISLOCKABLE_CHECK"><![CDATA[ISLOCKABLE IN ('Y', 'N')]]></check>
+      <check name="M_ATTRIBUTESET_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="M_ATTRIBUTESET_ISLOT_CHECK"><![CDATA[ISLOT IN ('Y', 'N')]]></check>
+      <check name="M_ATTRIBUTESET_ISSERNO_CHECK"><![CDATA[ISSERNO IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_ATTRIBUTESETINSTANCE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_ATTRIBUTESETINSTANCE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -29,7 +29,7 @@
       <foreign-key foreignTable="M_ATTRIBUTESET" name="REFM_ATTRIBUTESET1765">
         <reference local="M_ATTRIBUTESET_ID" foreign="M_ATTRIBUTESET_ID"/>
       </foreign-key>
-      <check name="MATTRIBSETINST_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MATTRIBSETINST_ISLOCKED_CHECK" condition="ISLOCKED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MATTRIBSETINST_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="MATTRIBSETINST_ISLOCKED_CHECK"><![CDATA[ISLOCKED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_ATTRIBUTEUSE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_ATTRIBUTEUSE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -23,6 +23,6 @@
       <foreign-key foreignTable="M_ATTRIBUTE" name="MATTRIBUTE_MATTRIBUTEUSE">
         <reference local="M_ATTRIBUTE_ID" foreign="M_ATTRIBUTE_ID"/>
       </foreign-key>
-      <check name="M_ATTRIBUTEUSE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="M_ATTRIBUTEUSE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_ATTRIBUTEVALUE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_ATTRIBUTEVALUE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -22,6 +22,6 @@
       <foreign-key foreignTable="M_ATTRIBUTE" name="MATTRIBUTE_MATTRIBUTEVALUE" onDelete="cascade">
         <reference local="M_ATTRIBUTE_ID" foreign="M_ATTRIBUTE_ID"/>
       </foreign-key>
-      <check name="M_ATTRIBUTEVALU_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="M_ATTRIBUTEVALU_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_DISCOUNTSCHEMA.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_DISCOUNTSCHEMA.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -24,7 +24,7 @@
       <foreign-key foreignTable="AD_ORG" name="ADORG_MDISCOUNTSCHEMA">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="MDISCOUNTSCHEM_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MDISCSCHEM_ISQUANTBASED_CHECK" condition="ISQUANTITYBASED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MDISCOUNTSCHEM_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="MDISCSCHEM_ISQUANTBASED_CHECK"><![CDATA[ISQUANTITYBASED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_DISCOUNTSCHEMABREAK.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_DISCOUNTSCHEMABREAK.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -30,6 +30,6 @@
       <foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_MDISCOUNTSBREAK">
         <reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
       </foreign-key>
-      <check name="M_DISCSCBR_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="M_DISCSCBR_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_DISCOUNTSCHEMALINE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_DISCOUNTSCHEMALINE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -55,6 +55,6 @@
       <foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_MDISCOUNTSLINE" onDelete="setnull">
         <reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
       </foreign-key>
-      <check name="MDISCHLN_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MDISCHLN_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_EDI.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_EDI.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -48,7 +48,7 @@
         <unique-column name="DOCUMENTNO"/>
         <unique-column name="LINE"/>
       </unique>
-      <check name="M_EDI_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="M_EDI_PROCESSED_CHECK" condition="PROCESSED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="M_EDI_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="M_EDI_PROCESSED_CHECK"><![CDATA[PROCESSED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_EDI_INFO.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_EDI_INFO.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -20,6 +20,6 @@
       <foreign-key foreignTable="M_EDI" name="MEDI_EDIINFO">
         <reference local="M_EDI_ID" foreign="M_EDI_ID"/>
       </foreign-key>
-      <check name="M_EDI_INFO_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="M_EDI_INFO_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_INOUT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_INOUT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -122,14 +122,14 @@
       <index name="M_INOUT_UPDATED" unique="false">
         <index-column name="UPDATED"/>
       </index>
-      <check name="ISLOGISTIC_MINOUT" condition="ISLOGISTIC IN (&apos;N&apos;, &apos;Y&apos;)"/>
-      <check name="MINOUT_UPDATELINES_YN" condition="UPDATELINES IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="M_INOUT_CREATEFROM_CHECK" condition="CREATEFROM IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="M_INOUT_GENERATELINES_CHECK" condition="GENERATELINES IN (&apos;N&apos;, &apos;Y&apos;)"/>
-      <check name="M_INOUT_GENERATETO_CHECK" condition="GENERATETO IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="M_INOUT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="M_INOUT_ISPRINTED_CHECK" condition="ISPRINTED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="M_INOUT_ISSOTRX_CHECK" condition="ISSOTRX IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="M_INOUT_PROCESSED_CHECK" condition="PROCESSED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ISLOGISTIC_MINOUT"><![CDATA[ISLOGISTIC IN ('N', 'Y')]]></check>
+      <check name="MINOUT_UPDATELINES_YN"><![CDATA[UPDATELINES IN ('Y', 'N')]]></check>
+      <check name="M_INOUT_CREATEFROM_CHECK"><![CDATA[CREATEFROM IN ('Y', 'N')]]></check>
+      <check name="M_INOUT_GENERATELINES_CHECK"><![CDATA[GENERATELINES IN ('N', 'Y')]]></check>
+      <check name="M_INOUT_GENERATETO_CHECK"><![CDATA[GENERATETO IN ('Y', 'N')]]></check>
+      <check name="M_INOUT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="M_INOUT_ISPRINTED_CHECK"><![CDATA[ISPRINTED IN ('Y', 'N')]]></check>
+      <check name="M_INOUT_ISSOTRX_CHECK"><![CDATA[ISSOTRX IN ('Y', 'N')]]></check>
+      <check name="M_INOUT_PROCESSED_CHECK"><![CDATA[PROCESSED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_INOUTLINE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_INOUTLINE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -64,8 +64,8 @@
       <index name="M_INOUTLINE_PRODUCT" unique="false">
         <index-column name="M_PRODUCT_ID"/>
       </index>
-      <check name="M_INOUTLINE" condition="((QUANTITYORDER IS NULL) AND (M_PRODUCT_UOM_ID IS NULL)) OR ((QUANTITYORDER IS NOT NULL) AND (M_PRODUCT_UOM_ID IS NOT NULL))"/>
-      <check name="M_INOUTLINE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="M_INOUTLINE_ISINVOICED_CHECK" condition="ISINVOICED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="M_INOUTLINE"><![CDATA[((QUANTITYORDER IS NULL) AND (M_PRODUCT_UOM_ID IS NULL)) OR ((QUANTITYORDER IS NOT NULL) AND (M_PRODUCT_UOM_ID IS NOT NULL))]]></check>
+      <check name="M_INOUTLINE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="M_INOUTLINE_ISINVOICED_CHECK"><![CDATA[ISINVOICED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_INOUTLINE_TYPE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_INOUTLINE_TYPE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -26,6 +26,6 @@
       <foreign-key foreignTable="M_PRODUCT" name="OUTPRODUCT_MINOUTLINETYPE">
         <reference local="OUT_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
       </foreign-key>
-      <check name="M_INOUTLINE_TYP_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="M_INOUTLINE_TYP_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_INTERNAL_CONSUMPTION.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_INTERNAL_CONSUMPTION.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -21,7 +21,7 @@
       <foreign-key foreignTable="AD_ORG" name="AD_ORG_MINTERNAL_CONSUMPTION">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="MINTERNCONSUMPT_ISACTIV_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="M_INTERNAL_PROCESSED_CHECK" condition="PROCESSED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MINTERNCONSUMPT_ISACTIV_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="M_INTERNAL_PROCESSED_CHECK"><![CDATA[PROCESSED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_INTERNAL_CONSUMPTIONLINE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_INTERNAL_CONSUMPTIONLINE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -46,6 +46,6 @@
       <index name="MINTERNAL_CONSUMPTIONLINE_INDX" unique="false">
         <index-column name="M_INTERNAL_CONSUMPTION_ID"/>
       </index>
-      <check name="MINTCONLN_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MINTCONLN_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_INVENTORY.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_INVENTORY.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -49,9 +49,9 @@
       <foreign-key foreignTable="M_WAREHOUSE" name="MWAREHOUSE_MINVENTORY">
         <reference local="M_WAREHOUSE_ID" foreign="M_WAREHOUSE_ID"/>
       </foreign-key>
-      <check name="MINVENTORY_GENERATELIST_CHECK" condition="GENERATELIST IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="M_INVENTORY_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="M_INVENTORY_PROCESSED_CHECK" condition="PROCESSED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="M_INVENTORY_UPDATEQTY_CHECK" condition="UPDATEQTY IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MINVENTORY_GENERATELIST_CHECK"><![CDATA[GENERATELIST IN ('Y', 'N')]]></check>
+      <check name="M_INVENTORY_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="M_INVENTORY_PROCESSED_CHECK"><![CDATA[PROCESSED IN ('Y', 'N')]]></check>
+      <check name="M_INVENTORY_UPDATEQTY_CHECK"><![CDATA[UPDATEQTY IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_INVENTORYLINE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_INVENTORYLINE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -51,7 +51,7 @@
       <index name="M_INVENTORYLINE_PRODUCT" unique="false">
         <index-column name="M_PRODUCT_ID"/>
       </index>
-      <check name="M_INVENTORYLINE" condition="((QUANTITYORDER IS NULL) AND (M_PRODUCT_UOM_ID IS NULL)) OR ((QUANTITYORDER IS NOT NULL) AND (M_PRODUCT_UOM_ID IS NOT NULL))"/>
-      <check name="M_INVENTORYLINE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="M_INVENTORYLINE"><![CDATA[((QUANTITYORDER IS NULL) AND (M_PRODUCT_UOM_ID IS NULL)) OR ((QUANTITYORDER IS NOT NULL) AND (M_PRODUCT_UOM_ID IS NOT NULL))]]></check>
+      <check name="M_INVENTORYLINE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_LOCATOR.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_LOCATOR.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -37,6 +37,6 @@
         <unique-column name="Y"/>
         <unique-column name="Z"/>
       </unique>
-      <check name="M_LOCATOR_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="M_LOCATOR_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_LOCATOR_RENTING.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_LOCATOR_RENTING.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -25,6 +25,6 @@
       <foreign-key foreignTable="AD_ORG" name="M_LOCATOR_RENTING_ORG">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="M_LOCATOR_RENTI_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="M_LOCATOR_RENTI_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_LOCATOR_TYPE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_LOCATOR_TYPE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -18,6 +18,6 @@
       <foreign-key foreignTable="AD_ORG" name="ADORG_MLOCATORTYPE">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="M_LOCATOR_TYPE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="M_LOCATOR_TYPE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_LOT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_LOT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -24,6 +24,6 @@
       <foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_MLOT">
         <reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
       </foreign-key>
-      <check name="M_LOT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="M_LOT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_LOTCTL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_LOTCTL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -22,6 +22,6 @@
       <foreign-key foreignTable="AD_ORG" name="ADORG_MLOTCTL">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="M_LOTCTL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="M_LOTCTL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_MATCHINV.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_MATCHINV.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -36,7 +36,7 @@
         <index-column name="C_INVOICELINE_ID"/>
         <index-column name="M_INOUTLINE_ID"/>
       </index>
-      <check name="M_MATCHINV_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="M_MATCHINV_PROCESSED_CHECK" condition="PROCESSED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="M_MATCHINV_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="M_MATCHINV_PROCESSED_CHECK"><![CDATA[PROCESSED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_MATCHPO.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_MATCHPO.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -40,7 +40,7 @@
         <index-column name="C_ORDERLINE_ID"/>
         <index-column name="M_INOUTLINE_ID"/>
       </index>
-      <check name="M_MATCHPO_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="M_MATCHPO_PROCESSED_CHECK" condition="PROCESSED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="M_MATCHPO_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="M_MATCHPO_PROCESSED_CHECK"><![CDATA[PROCESSED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_MOVEMENT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_MOVEMENT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -41,8 +41,8 @@
       <foreign-key foreignTable="C_PROJECT" name="CPROJECT_MMOVEMENT">
         <reference local="C_PROJECT_ID" foreign="C_PROJECT_ID"/>
       </foreign-key>
-      <check name="MMOVEMENT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MMOVEMENT_MOVEFROMTOLOC_CHECK" condition="MOVE_FROMTO_LOCATOR IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MMOVEMENT_PROCESSED_CHECK" condition="PROCESSED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MMOVEMENT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="MMOVEMENT_MOVEFROMTOLOC_CHECK"><![CDATA[MOVE_FROMTO_LOCATOR IN ('Y', 'N')]]></check>
+      <check name="MMOVEMENT_PROCESSED_CHECK"><![CDATA[PROCESSED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_MOVEMENTLINE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_MOVEMENTLINE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -50,7 +50,7 @@
       <index name="M_MOVEMENTLINE_MOVEMENT" unique="false">
         <index-column name="M_MOVEMENT_ID"/>
       </index>
-      <check name="MMOVEMENTLINE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="M_MOVEMENTLINE_CHECK1" condition="((QUANTITYORDER IS NULL) AND (M_PRODUCT_UOM_ID IS NULL)) OR ((QUANTITYORDER IS NOT NULL) AND (M_PRODUCT_UOM_ID IS NOT NULL))"/>
+      <check name="MMOVEMENTLINE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="M_MOVEMENTLINE_CHECK1"><![CDATA[((QUANTITYORDER IS NULL) AND (M_PRODUCT_UOM_ID IS NULL)) OR ((QUANTITYORDER IS NOT NULL) AND (M_PRODUCT_UOM_ID IS NOT NULL))]]></check>
     </table>
   </database>
--- a/database/model/tables/M_OFFER.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_OFFER.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -30,6 +30,6 @@
       <foreign-key foreignTable="AD_ORG" name="MOFFER_ORG">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="M_OFFER_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="M_OFFER_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_OFFER_BPARTNER.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_OFFER_BPARTNER.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -27,6 +27,6 @@
         <unique-column name="C_BPARTNER_ID"/>
         <unique-column name="M_OFFER_ID"/>
       </unique>
-      <check name="M_OFFER_BPARTNE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="M_OFFER_BPARTNE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_OFFER_BP_GROUP.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_OFFER_BP_GROUP.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -27,6 +27,6 @@
         <unique-column name="C_BP_GROUP_ID"/>
         <unique-column name="M_OFFER_ID"/>
       </unique>
-      <check name="M_OFFER_BP_GROU_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="M_OFFER_BP_GROU_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_OFFER_PRODUCT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_OFFER_PRODUCT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -27,6 +27,6 @@
         <unique-column name="M_PRODUCT_ID"/>
         <unique-column name="M_OFFER_ID"/>
       </unique>
-      <check name="M_OFFER_PRODUCT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="M_OFFER_PRODUCT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_OFFER_PROD_CAT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_OFFER_PROD_CAT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -27,6 +27,6 @@
         <unique-column name="M_PRODUCT_CATEGORY_ID"/>
         <unique-column name="M_OFFER_ID"/>
       </unique>
-      <check name="M_OFFER_PROD_CA_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="M_OFFER_PROD_CA_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_PERPETUALINV.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_PERPETUALINV.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -32,7 +32,7 @@
       <foreign-key foreignTable="M_WAREHOUSE" name="MWAREHOUSE_MPERPETUALINV">
         <reference local="M_WAREHOUSE_ID" foreign="M_WAREHOUSE_ID"/>
       </foreign-key>
-      <check name="M_PERPETUALINV_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="M_PERPETVALINU_C_H_MOVEMENT" condition="COUNTHIGHMOVEMENT IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="M_PERPETUALINV_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="M_PERPETVALINU_C_H_MOVEMENT"><![CDATA[COUNTHIGHMOVEMENT IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_PRICELIST.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_PRICELIST.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -33,9 +33,9 @@
         <unique-column name="AD_CLIENT_ID"/>
         <unique-column name="NAME"/>
       </unique>
-      <check name="MPRICELISTISSOPRLIST_CHECK" condition="ISSOPRICELIST IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MPRICELISTISTAXINCL_CHECK" condition="ISTAXINCLUDED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MPRLIST_ENFORCEPRLIM_CHECK" condition="ENFORCEPRICELIMIT IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="M_PRICELIST_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MPRICELISTISSOPRLIST_CHECK"><![CDATA[ISSOPRICELIST IN ('Y', 'N')]]></check>
+      <check name="MPRICELISTISTAXINCL_CHECK"><![CDATA[ISTAXINCLUDED IN ('Y', 'N')]]></check>
+      <check name="MPRLIST_ENFORCEPRLIM_CHECK"><![CDATA[ENFORCEPRICELIMIT IN ('Y', 'N')]]></check>
+      <check name="M_PRICELIST_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_PRICELIST_VERSION.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_PRICELIST_VERSION.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -32,7 +32,7 @@
       <foreign-key foreignTable="M_PRICELIST" name="MPRICELIST_MPRICELISTVERSION" onDelete="cascade">
         <reference local="M_PRICELIST_ID" foreign="M_PRICELIST_ID"/>
       </foreign-key>
-      <check name="MPRICELISTVER_GENERATE_CHECK" condition="M_PRICELIST_VERSION_GENERATE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MPRICELISTVER_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MPRICELISTVER_GENERATE_CHECK"><![CDATA[M_PRICELIST_VERSION_GENERATE IN ('Y', 'N')]]></check>
+      <check name="MPRICELISTVER_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_PRODUCT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_PRODUCT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -149,15 +149,15 @@
         <unique-column name="AD_CLIENT_ID"/>
         <unique-column name="VALUE"/>
       </unique>
-      <check name="ENFORCEATTRIBUTE_CH_MPRODUCT" condition="ENFORCE_ATTRIBUTE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MPROD_ISINVPRINTDET_CHECK" condition="ISINVOICEPRINTDETAILS IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MPROD_ISPICKLPRINTDET_CHECK" condition="ISPICKLISTPRINTDETAILS IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="M_PRODUCT_DISCONTINUED_CHECK" condition="DISCONTINUED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="M_PRODUCT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="M_PRODUCT_ISBOM_CHECK" condition="ISBOM IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="M_PRODUCT_ISPURCHASED_CHECK" condition="ISPURCHASED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="M_PRODUCT_ISSOLD_CHECK" condition="ISSOLD IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="M_PRODUCT_ISSTOCKED_CHECK" condition="ISSTOCKED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="M_PRODUCT_ISVERIFIED_CHECK" condition="ISVERIFIED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ENFORCEATTRIBUTE_CH_MPRODUCT"><![CDATA[ENFORCE_ATTRIBUTE IN ('Y', 'N')]]></check>
+      <check name="MPROD_ISINVPRINTDET_CHECK"><![CDATA[ISINVOICEPRINTDETAILS IN ('Y', 'N')]]></check>
+      <check name="MPROD_ISPICKLPRINTDET_CHECK"><![CDATA[ISPICKLISTPRINTDETAILS IN ('Y', 'N')]]></check>
+      <check name="M_PRODUCT_DISCONTINUED_CHECK"><![CDATA[DISCONTINUED IN ('Y', 'N')]]></check>
+      <check name="M_PRODUCT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="M_PRODUCT_ISBOM_CHECK"><![CDATA[ISBOM IN ('Y', 'N')]]></check>
+      <check name="M_PRODUCT_ISPURCHASED_CHECK"><![CDATA[ISPURCHASED IN ('Y', 'N')]]></check>
+      <check name="M_PRODUCT_ISSOLD_CHECK"><![CDATA[ISSOLD IN ('Y', 'N')]]></check>
+      <check name="M_PRODUCT_ISSTOCKED_CHECK"><![CDATA[ISSTOCKED IN ('Y', 'N')]]></check>
+      <check name="M_PRODUCT_ISVERIFIED_CHECK"><![CDATA[ISVERIFIED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_PRODUCTION.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_PRODUCTION.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -45,8 +45,8 @@
       <foreign-key foreignTable="C_PROJECT" name="CPROJECT_MPRODUCTION">
         <reference local="C_PROJECT_ID" foreign="C_PROJECT_ID"/>
       </foreign-key>
-      <check name="M_PRODUCTION_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="M_PRODUCTION_ISCREATED_CHECK" condition="ISCREATED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="M_PRODUCTION_PROCESSED_CHECK" condition="PROCESSED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="M_PRODUCTION_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="M_PRODUCTION_ISCREATED_CHECK"><![CDATA[ISCREATED IN ('Y', 'N')]]></check>
+      <check name="M_PRODUCTION_PROCESSED_CHECK"><![CDATA[PROCESSED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_PRODUCTIONLINE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_PRODUCTIONLINE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -53,8 +53,8 @@
       <index name="M_PRODUCTIONLINE_PRODPLAN" unique="false">
         <index-column name="M_PRODUCTIONPLAN_ID"/>
       </index>
-      <check name="MPRODUCTLINE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MPRODUCTLINE_PRINTLABEL_CHECK" condition="PRINTLABEL IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="M_PRODUCTIONLINE_CHECK1" condition="((QUANTITYORDER IS NULL) AND (M_PRODUCT_UOM_ID IS NULL)) OR ((QUANTITYORDER IS NOT NULL) AND (M_PRODUCT_UOM_ID IS NOT NULL))"/>
+      <check name="MPRODUCTLINE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="MPRODUCTLINE_PRINTLABEL_CHECK"><![CDATA[PRINTLABEL IN ('Y', 'N')]]></check>
+      <check name="M_PRODUCTIONLINE_CHECK1"><![CDATA[((QUANTITYORDER IS NULL) AND (M_PRODUCT_UOM_ID IS NULL)) OR ((QUANTITYORDER IS NOT NULL) AND (M_PRODUCT_UOM_ID IS NOT NULL))]]></check>
     </table>
   </database>
--- a/database/model/tables/M_PRODUCTIONPLAN.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_PRODUCTIONPLAN.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -52,7 +52,7 @@
       <index name="M_PRODUCTIONPLAN_PRODUCTION" unique="false">
         <index-column name="M_PRODUCTION_ID"/>
       </index>
-      <check name="MPRODPLAN_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MPRODPLAN_OUTSOURCED_CHECK" condition="OUTSOURCED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MPRODPLAN_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="MPRODPLAN_OUTSOURCED_CHECK"><![CDATA[OUTSOURCED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_PRODUCTPRICE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_PRODUCTPRICE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -25,6 +25,6 @@
       <foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_MPRODUCTPRICE" onDelete="cascade">
         <reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
       </foreign-key>
-      <check name="M_PRODUCTPRICE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="M_PRODUCTPRICE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_PRODUCT_ACCT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_PRODUCT_ACCT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -54,6 +54,6 @@
       <foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_PTDISCOUNTREC_MPRODUCT">
         <reference local="P_TRADEDISCOUNTREC_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
       </foreign-key>
-      <check name="M_PRODUCT_ACCT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="M_PRODUCT_ACCT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_PRODUCT_BOM.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_PRODUCT_BOM.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -27,6 +27,6 @@
       <foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_MPRODUCTBOM" onDelete="cascade">
         <reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
       </foreign-key>
-      <check name="M_PRODUCT_BOM_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="M_PRODUCT_BOM_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_PRODUCT_CATEGORY.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_PRODUCT_CATEGORY.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -28,6 +28,6 @@
         <unique-column name="AD_CLIENT_ID"/>
         <unique-column name="VALUE"/>
       </unique>
-      <check name="M_PRODUCT_CATEG_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="M_PRODUCT_CATEG_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_PRODUCT_CATEGORY_ACCT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_PRODUCT_CATEGORY_ACCT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -55,6 +55,6 @@
       <foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_PTDISCOUNTREC_MPRODUCTCATEG">
         <reference local="P_TRADEDISCOUNTREC_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
       </foreign-key>
-      <check name="MPRODCATAC_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MPRODCATAC_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_PRODUCT_COSTING.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_PRODUCT_COSTING.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -36,6 +36,6 @@
       <foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_MPRODUCTCOSTING" onDelete="cascade">
         <reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
       </foreign-key>
-      <check name="M_PRODUCT_COSTI_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="M_PRODUCT_COSTI_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_PRODUCT_ORG.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_PRODUCT_ORG.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -36,6 +36,6 @@
         <unique-column name="AD_ORG_ID"/>
         <unique-column name="M_PRODUCT_ID"/>
       </unique>
-      <check name="ISACTIVE_CH_PRODUCTORG" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ISACTIVE_CH_PRODUCTORG"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_PRODUCT_PO.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_PRODUCT_PO.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -56,8 +56,8 @@
         <unique-column name="C_BPARTNER_ID"/>
         <unique-column name="VENDORPRODUCTNO"/>
       </unique>
-      <check name="MPRODUCTPO_DISCONTINUED_CHECK" condition="DISCONTINUED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MPRODUCTPO_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MPRODUCTPO_ISCU_NTVENDOR_CHECK" condition="ISCURRENTVENDOR IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MPRODUCTPO_DISCONTINUED_CHECK"><![CDATA[DISCONTINUED IN ('Y', 'N')]]></check>
+      <check name="MPRODUCTPO_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="MPRODUCTPO_ISCU_NTVENDOR_CHECK"><![CDATA[ISCURRENTVENDOR IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_PRODUCT_TEMPLATE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_PRODUCT_TEMPLATE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -29,6 +29,6 @@
         <unique-column name="C_BPARTNER_ID"/>
         <unique-column name="M_PRODUCT_ID"/>
       </unique>
-      <check name="M_PRODUCT_TEMPL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="M_PRODUCT_TEMPL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_PRODUCT_TRL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_PRODUCT_TRL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -25,7 +25,7 @@
       <foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_MPRODUCTTRL" onDelete="cascade">
         <reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
       </foreign-key>
-      <check name="MPRODUCTTRL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MPRODUCTTRL_ISTRANSLATED_CHECK" condition="ISTRANSLATED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MPRODUCTTRL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="MPRODUCTTRL_ISTRANSLATED_CHECK"><![CDATA[ISTRANSLATED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_PRODUCT_UOM.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_PRODUCT_UOM.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -29,6 +29,6 @@
         <unique-column name="C_UOM_ID"/>
         <unique-column name="M_PRODUCT_ID"/>
       </unique>
-      <check name="M_PRODUCT_UOM_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="M_PRODUCT_UOM_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_RAPPEL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_RAPPEL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -24,6 +24,6 @@
       <foreign-key foreignTable="C_CURRENCY" name="CCURRENCY_MRAPPEL">
         <reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
       </foreign-key>
-      <check name="M_RAPPEL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="M_RAPPEL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_RAPPEL_BPARTNER.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_RAPPEL_BPARTNER.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -28,7 +28,7 @@
       <foreign-key foreignTable="M_RAPPEL" name="M_RAPPEL_M_RAPPEL_BPARTNER">
         <reference local="M_RAPPEL_ID" foreign="M_RAPPEL_ID"/>
       </foreign-key>
-      <check name="MRAPPELBPARTNER_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MRAPPELBPARTNER_ISSOTRX_CHECK" condition="ISSOTRX IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MRAPPELBPARTNER_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="MRAPPELBPARTNER_ISSOTRX_CHECK"><![CDATA[ISSOTRX IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_RAPPEL_INVOICE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_RAPPEL_INVOICE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -24,6 +24,6 @@
       <foreign-key foreignTable="M_RAPPEL_BPARTNER" name="MRAPPELBPARTNER_M_RAPPEL_INV">
         <reference local="M_RAPPEL_BPARTNER_ID" foreign="M_RAPPEL_BPARTNER_ID"/>
       </foreign-key>
-      <check name="M_RAPPEL_INVOIC_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="M_RAPPEL_INVOIC_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_RAPPEL_PRODUCTCATEGORY.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_RAPPEL_PRODUCTCATEGORY.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -23,6 +23,6 @@
       <foreign-key foreignTable="M_PRODUCT_CATEGORY" name="PRODCATE_M_RAPPEL_PRODCATE">
         <reference local="M_PRODUCT_CATEGORY_ID" foreign="M_PRODUCT_CATEGORY_ID"/>
       </foreign-key>
-      <check name="MRAPPRCAT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="MRAPPRCAT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_RAPPEL_SCALE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_RAPPEL_SCALE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -22,6 +22,6 @@
       <foreign-key foreignTable="M_RAPPEL" name="M_RAPPEL_M_RAPPEL_SCALE">
         <reference local="M_RAPPEL_ID" foreign="M_RAPPEL_ID"/>
       </foreign-key>
-      <check name="DISC" condition="(DISCOUNT &gt;= 0) AND (DISCOUNT &lt;= 100)"/>
+      <check name="DISC"><![CDATA[(DISCOUNT >= 0) AND (DISCOUNT <= 100)]]></check>
     </table>
   </database>
--- a/database/model/tables/M_REPLENISH.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_REPLENISH.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -25,6 +25,6 @@
       <foreign-key foreignTable="M_WAREHOUSE" name="M_WAREHOUSE_REPLENISH" onDelete="cascade">
         <reference local="M_WAREHOUSE_ID" foreign="M_WAREHOUSE_ID"/>
       </foreign-key>
-      <check name="M_REPLENISH_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="M_REPLENISH_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_REQUISITION.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_REQUISITION.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -29,6 +29,6 @@
       <foreign-key foreignTable="M_PRICELIST" name="M_PRICELIST_M_REQUISITION">
         <reference local="M_PRICELIST_ID" foreign="M_PRICELIST_ID"/>
       </foreign-key>
-      <check name="M_REQUISITION_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="M_REQUISITION_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_REQUISITIONLINE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_REQUISITIONLINE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -33,6 +33,6 @@
       <foreign-key foreignTable="M_REQUISITION" name="M_REQUISITION_MREQUISITIONLINE">
         <reference local="M_REQUISITION_ID" foreign="M_REQUISITION_ID"/>
       </foreign-key>
-      <check name="M_REQUISITIONLI_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="M_REQUISITIONLI_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_SERNOCTL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_SERNOCTL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -22,6 +22,6 @@
       <foreign-key foreignTable="AD_ORG" name="ADORG_MSERNOCTL">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="M_SERNOCTL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="M_SERNOCTL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_SHIPPER.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_SHIPPER.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -26,6 +26,6 @@
         <unique-column name="AD_CLIENT_ID"/>
         <unique-column name="NAME"/>
       </unique>
-      <check name="M_SHIPPER_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="M_SHIPPER_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_STORAGE_DETAIL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_STORAGE_DETAIL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -47,6 +47,6 @@
         <unique-column name="C_UOM_ID"/>
         <unique-column name="M_PRODUCT_UOM_ID"/>
       </unique>
-      <check name="M_STORAGE_DETAIL_CHECK1" condition="(((QTYORDERONHAND IS NULL) AND (M_PRODUCT_UOM_ID IS NULL)) AND (PREQTYORDERONHAND IS NULL)) OR (((QTYORDERONHAND IS NOT NULL) AND (M_PRODUCT_UOM_ID IS NOT NULL)) AND (PREQTYORDERONHAND IS NOT NULL))"/>
+      <check name="M_STORAGE_DETAIL_CHECK1"><![CDATA[(((QTYORDERONHAND IS NULL) AND (M_PRODUCT_UOM_ID IS NULL)) AND (PREQTYORDERONHAND IS NULL)) OR (((QTYORDERONHAND IS NOT NULL) AND (M_PRODUCT_UOM_ID IS NOT NULL)) AND (PREQTYORDERONHAND IS NOT NULL))]]></check>
     </table>
   </database>
--- a/database/model/tables/M_STORAGE_PENDING.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_STORAGE_PENDING.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -46,6 +46,6 @@
         <unique-column name="C_UOM_ID"/>
         <unique-column name="M_PRODUCT_UOM_ID"/>
       </unique>
-      <check name="M_STORAGE_PENDING_CHECK1" condition="(((QTYORDERORDERED IS NULL) AND (M_PRODUCT_UOM_ID IS NULL)) AND (QTYORDERRESERVED IS NULL)) OR (((QTYORDERORDERED IS NOT NULL) AND (M_PRODUCT_UOM_ID IS NOT NULL)) AND (QTYORDERRESERVED IS NOT NULL))"/>
+      <check name="M_STORAGE_PENDING_CHECK1"><![CDATA[(((QTYORDERORDERED IS NULL) AND (M_PRODUCT_UOM_ID IS NULL)) AND (QTYORDERRESERVED IS NULL)) OR (((QTYORDERORDERED IS NOT NULL) AND (M_PRODUCT_UOM_ID IS NOT NULL)) AND (QTYORDERRESERVED IS NOT NULL))]]></check>
     </table>
   </database>
--- a/database/model/tables/M_SUBSTITUTE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_SUBSTITUTE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -23,6 +23,6 @@
       <foreign-key foreignTable="AD_ORG" name="M_SUBSTITUTE_ORG">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="M_SUBSTITUTE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="M_SUBSTITUTE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_TRANSACTION.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_TRANSACTION.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -66,7 +66,7 @@
       <index name="M_TRANSSACTION_PRODUCT" unique="false">
         <index-column name="M_PRODUCT_ID"/>
       </index>
-      <check name="M_TRANSACTION_CHECK1" condition="((QUANTITYORDER IS NULL) AND (M_PRODUCT_UOM_ID IS NULL)) OR ((QUANTITYORDER IS NOT NULL) AND (M_PRODUCT_UOM_ID IS NOT NULL))"/>
-      <check name="M_TRANSACTION_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="M_TRANSACTION_CHECK1"><![CDATA[((QUANTITYORDER IS NULL) AND (M_PRODUCT_UOM_ID IS NULL)) OR ((QUANTITYORDER IS NOT NULL) AND (M_PRODUCT_UOM_ID IS NOT NULL))]]></check>
+      <check name="M_TRANSACTION_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_WAREHOUSE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_WAREHOUSE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -33,7 +33,7 @@
         <unique-column name="AD_CLIENT_ID"/>
         <unique-column name="NAME"/>
       </unique>
-      <check name="ISSHIPPER_WAREHOUSE" condition="ISSHIPPER IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="MWAREHOUSE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="ISSHIPPER_WAREHOUSE"><![CDATA[ISSHIPPER IN ('Y', 'N')]]></check>
+      <check name="MWAREHOUSE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_WAREHOUSE_ACCT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_WAREHOUSE_ACCT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -38,6 +38,6 @@
       <foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_WREVALUATION_MWAREHOUSE">
         <reference local="W_REVALUATION_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
       </foreign-key>
-      <check name="M_WAREHOUSE_ACC_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="M_WAREHOUSE_ACC_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_WAREHOUSE_SHIPPER.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_WAREHOUSE_SHIPPER.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -24,6 +24,6 @@
       <foreign-key foreignTable="M_WAREHOUSE" name="MWAREHOUSE_MWARESHIPPER">
         <reference local="M_WAREHOUSE_ID" foreign="M_WAREHOUSE_ID"/>
       </foreign-key>
-      <check name="M_WAREHOUSE_SHI_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="M_WAREHOUSE_SHI_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_WH_PERIOD.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_WH_PERIOD.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -21,6 +21,6 @@
       <foreign-key foreignTable="M_WH_SCHEDULE" name="MWHSCHEDULE_MWHPERIOD">
         <reference local="M_WH_SCHEDULE_ID" foreign="M_WH_SCHEDULE_ID"/>
       </foreign-key>
-      <check name="M_WH_PERIOD_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="M_WH_PERIOD_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_WH_SCHEDULE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_WH_SCHEDULE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -19,6 +19,6 @@
       <foreign-key foreignTable="AD_ORG" name="ADORG_MWHSCHEDULE">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="M_WH_SCHEDULE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="M_WH_SCHEDULE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/M_WH_SCHEDULE_PRODUCT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/M_WH_SCHEDULE_PRODUCT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -24,6 +24,6 @@
       <foreign-key foreignTable="M_WH_SCHEDULE" name="M_WH_SP_SCHEDULE">
         <reference local="M_WH_SCHEDULE_ID" foreign="M_WH_SCHEDULE_ID"/>
       </foreign-key>
-      <check name="M_WH_SCHEDULE_P_CINGTYPE_CHECK" condition="INVOICINGTYPE IS NOT NULL"/>
+      <check name="M_WH_SCHEDULE_P_CINGTYPE_CHECK"><![CDATA[INVOICINGTYPE IS NOT NULL]]></check>
     </table>
   </database>
--- a/database/model/tables/PA_ACHIEVEMENT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/PA_ACHIEVEMENT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -27,7 +27,7 @@
       <foreign-key foreignTable="PA_ACHIEVEMENT" name="PA_ACHIEVEMENT_PARENT">
         <reference local="PARENT_ID" foreign="PA_ACHIEVEMENT_ID"/>
       </foreign-key>
-      <check name="PAACHIEVEMENT_ISACHIEVED_CHECK" condition="ISACHIEVED IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="PAACHIEVEMENT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="PAACHIEVEMENT_ISACHIEVED_CHECK"><![CDATA[ISACHIEVED IN ('Y', 'N')]]></check>
+      <check name="PAACHIEVEMENT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/PA_COLOR.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/PA_COLOR.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -18,6 +18,6 @@
       <foreign-key foreignTable="AD_ORG" name="ADORG_PACOLOR">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="PA_COLOR_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="PA_COLOR_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/PA_GOAL.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/PA_GOAL.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -33,6 +33,6 @@
       <foreign-key foreignTable="PA_GOAL" name="PA_GOAL_PARENT">
         <reference local="PARENT_ID" foreign="PA_GOAL_ID"/>
       </foreign-key>
-      <check name="PA_GOAL_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="PA_GOAL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/PA_MEASURE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/PA_MEASURE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -48,6 +48,6 @@
       <foreign-key foreignTable="PA_MEASURECALC" name="PAMEASURECALC_PAMEASURE">
         <reference local="PA_MEASURECALC_ID" foreign="PA_MEASURECALC_ID"/>
       </foreign-key>
-      <check name="PA_MEASURE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="PA_MEASURE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/PA_MEASURECALC.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/PA_MEASURECALC.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -23,6 +23,6 @@
       <foreign-key foreignTable="AD_ORG" name="ADORG_PAMEASURECALC">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="PA_MEASURECALC_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="PA_MEASURECALC_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/PA_REPORT.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/PA_REPORT.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -40,6 +40,6 @@
       <foreign-key foreignTable="PA_REPORTLINESET" name="PAREPORT_LINESET">
         <reference local="PA_REPORTLINESET_ID" foreign="PA_REPORTLINESET_ID"/>
       </foreign-key>
-      <check name="PA_REPORT_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="PA_REPORT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/PA_REPORTCOLUMN.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/PA_REPORTCOLUMN.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -80,8 +80,8 @@
       <foreign-key foreignTable="PA_REPORTCOLUMN" name="PAREPORTCOLUMN_OPER2">
         <reference local="OPER_2_ID" foreign="PA_REPORTCOLUMN_ID"/>
       </foreign-key>
-      <check name="PAREPORTCOLUMN_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="PAREPORTCOLUMN_ISADCONV_CHECK" condition="ISADHOCCONVERSION IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="PAREPORTCOLUMN_ISPRINTED_CHECK" condition="ISPRINTED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="PAREPORTCOLUMN_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="PAREPORTCOLUMN_ISADCONV_CHECK"><![CDATA[ISADHOCCONVERSION IN ('Y', 'N')]]></check>
+      <check name="PAREPORTCOLUMN_ISPRINTED_CHECK"><![CDATA[ISPRINTED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/PA_REPORTCOLUMNSET.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/PA_REPORTCOLUMNSET.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -18,6 +18,6 @@
       <foreign-key foreignTable="AD_ORG" name="ADORG_PAREPORTCOLUMNSET">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="PA_REPCOLSET_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="PA_REPCOLSET_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/PA_REPORTLINE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/PA_REPORTLINE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -44,7 +44,7 @@
       <foreign-key foreignTable="PA_REPORTLINE" name="PAREPORTLINE_PARENT">
         <reference local="PARENT_ID" foreign="PA_REPORTLINE_ID"/>
       </foreign-key>
-      <check name="PAREPORTLINE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
-      <check name="PAREPORTLINE_ISPRINTED_CHECK" condition="ISPRINTED IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="PAREPORTLINE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="PAREPORTLINE_ISPRINTED_CHECK"><![CDATA[ISPRINTED IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/PA_REPORTLINESET.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/PA_REPORTLINESET.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -18,6 +18,6 @@
       <foreign-key foreignTable="AD_ORG" name="ADORG_PAREPORTLINESET">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <check name="PA_REPORTLINESE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="PA_REPORTLINESE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/PA_REPORTSOURCE.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/PA_REPORTSOURCE.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -54,6 +54,6 @@
       <foreign-key foreignTable="PA_REPORTLINE" name="PAREPORTLINE_PAREPORTSOURCE">
         <reference local="PA_REPORTLINE_ID" foreign="PA_REPORTLINE_ID"/>
       </foreign-key>
-      <check name="PA_REPORTSOURCE_ISACTIVE_CHECK" condition="ISACTIVE IN (&apos;Y&apos;, &apos;N&apos;)"/>
+      <check name="PA_REPORTSOURCE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/database/model/tables/R_CONTACTINTEREST.xml	Wed Dec 19 09:47:57 2007 +0000
+++ b/database/model/tables/R_CONTACTINTEREST.xml	Wed Dec 19 10:11:41 2007 +0000
@@ -28,6 +28,6 @@
         <unique-column name="AD_USER_ID"/>
         <unique-column name="R_INTERESTAREA_ID"/>
       </unique>
-