* adempiere model files

This commit is contained in:
Heng Sin Low 2006-12-28 13:56:41 +00:00
parent 8fe3373996
commit c8b046c5fe
15 changed files with 532 additions and 0 deletions

View File

@ -0,0 +1,94 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="A_ASSET">
<column name="A_ASSET_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="VALUE" primaryKey="false" required="true" type="VARCHAR" size="40" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="HELP" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="A_ASSET_GROUP_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="M_PRODUCT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="SERNO" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="LOT" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="VERSIONNO" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
<column name="GUARANTEEDATE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="ASSETSERVICEDATE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="ISOWNED" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="ASSETDEPRECIATIONDATE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="USELIFEYEARS" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
<column name="USELIFEMONTHS" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
<column name="LIFEUSEUNITS" primaryKey="false" required="false" type="NUMERIC" autoIncrement="false"/>
<column name="USEUNITS" primaryKey="false" required="false" type="NUMERIC" autoIncrement="false"/>
<column name="ISDISPOSED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="ASSETDISPOSALDATE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="ISINPOSESSION" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="LOCATIONCOMMENT" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="M_LOCATOR_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_BPARTNER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_BPARTNER_LOCATION_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_LOCATION_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="PROCESSING" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
<column name="ISDEPRECIATED" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="ISFULLYDEPRECIATED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="AD_USER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="M_ATTRIBUTESETINSTANCE_ID" primaryKey="false" required="false" type="ID" default="0" autoIncrement="false"/>
<column name="QTY" primaryKey="false" required="false" type="NUMERIC" autoIncrement="false"/>
<column name="C_PROJECT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_BPARTNERSR_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="M_INOUTLINE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="LASTMAINTENENCEDATE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="NEXTMAINTENENCEDATE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="LASTMAINTENANCEUSEUNIT" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
<column name="NEXTMAINTENANCEUSEUNIT" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
<column name="LEASETERMINATIONDATE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="LEASE_BPARTNER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="LASTMAINTENANCENOTE" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="LASTMAINTENANCEDATE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="LASTMAINTENANCEUNIT" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
<column name="NEXTMAINTENENCEUNIT" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
<foreign-key foreignTable="AD_USER" name="ADUSER_AASSET">
<reference local="AD_USER_ID" foreign="AD_USER_ID"/>
</foreign-key>
<foreign-key foreignTable="A_ASSET_GROUP" name="AASSETGROUP_AASSET">
<reference local="A_ASSET_GROUP_ID" foreign="A_ASSET_GROUP_ID"/>
</foreign-key>
<foreign-key foreignTable="C_BPARTNER" name="CBPARTNER_AASSET">
<reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
</foreign-key>
<foreign-key foreignTable="C_BPARTNER_LOCATION" name="CBPLOCATION_AASSET">
<reference local="C_BPARTNER_LOCATION_ID" foreign="C_BPARTNER_LOCATION_ID"/>
</foreign-key>
<foreign-key foreignTable="C_LOCATION" name="CLOCATION_AASSET">
<reference local="C_LOCATION_ID" foreign="C_LOCATION_ID"/>
</foreign-key>
<foreign-key foreignTable="M_ATTRIBUTESETINSTANCE" name="MATTRIBUTESETINSTANCE_AASSET">
<reference local="M_ATTRIBUTESETINSTANCE_ID" foreign="M_ATTRIBUTESETINSTANCE_ID"/>
</foreign-key>
<foreign-key foreignTable="M_LOCATOR" name="MLOCATOR_AASSET">
<reference local="M_LOCATOR_ID" foreign="M_LOCATOR_ID"/>
</foreign-key>
<foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_AASSET">
<reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsOwned in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsDisposed in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsInPosession in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,33 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="A_ASSET_ACCT">
<column name="A_ASSET_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="C_ACCTSCHEMA_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="A_DEPRECIATION_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="A_DEPRECIATION_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="A_ACCUMDEPRECIATION_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="A_DISPOSAL_LOSS" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="A_DISPOSAL_GAIN" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="A_ASSET_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<foreign-key foreignTable="A_ASSET" name="AASSET_AASSETACCT">
<reference local="A_ASSET_ID" foreign="A_ASSET_ID"/>
</foreign-key>
<foreign-key foreignTable="A_DEPRECIATION" name="ADEPRECIATION_AASSETACCT">
<reference local="A_DEPRECIATION_ID" foreign="A_DEPRECIATION_ID"/>
</foreign-key>
<foreign-key foreignTable="C_ACCTSCHEMA" name="CACCTSCHEMA_AASSETACCT">
<reference local="C_ACCTSCHEMA_ID" foreign="C_ACCTSCHEMA_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,26 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="A_ASSET_ADDITION">
<column name="A_ASSET_ADDITION_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="A_ASSET_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="ASSETVALUEAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="C_INVOICELINE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<foreign-key foreignTable="A_ASSET" name="AASSET_AASSETADDITION">
<reference local="A_ASSET_ID" foreign="A_ASSET_ID"/>
</foreign-key>
<foreign-key foreignTable="C_INVOICELINE" name="CINVOICELINE_AASSETADDITION">
<reference local="C_INVOICELINE_ID" foreign="C_INVOICELINE_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,39 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="A_ASSET_CHANGE">
<column name="A_ASSET_CHANGE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="A_ASSET_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="CHANGETYPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
<column name="CHANGEDATE" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="CHANGEAMT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="USELIFEYEARS" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
<column name="USELIFEMONTHS" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
<column name="LIFEUSEUNITS" primaryKey="false" required="false" type="NUMERIC" autoIncrement="false"/>
<column name="ASSETDEPRECIATIONDATE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="A_ASSET_RETIREMENT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="A_ASSET_ADDITION_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="SERNO" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
<column name="LOT" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
<column name="VERSIONNO" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
<foreign-key foreignTable="A_ASSET" name="AASSET_AASSETCHANGE">
<reference local="A_ASSET_ID" foreign="A_ASSET_ID"/>
</foreign-key>
<foreign-key foreignTable="A_ASSET_ADDITION" name="AAADDITION_AACHANGE">
<reference local="A_ASSET_ADDITION_ID" foreign="A_ASSET_ADDITION_ID"/>
</foreign-key>
<foreign-key foreignTable="A_ASSET_RETIREMENT" name="AARETIREMENT_AACHANGE">
<reference local="A_ASSET_RETIREMENT_ID" foreign="A_ASSET_RETIREMENT_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,28 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="A_ASSET_CHANGE_AMT">
<column name="A_ASSET_CHANGE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="C_ACCTSCHEMA_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="ASSETVALUEAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="ASSETMARKETVALUEAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="ASSETBOOKVALUEAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="ASSETACCUMDEPRECIATIONAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<foreign-key foreignTable="A_ASSET_CHANGE" name="AASSETCHANGE_AASSETCHANGEAMT">
<reference local="A_ASSET_CHANGE_ID" foreign="A_ASSET_CHANGE_ID"/>
</foreign-key>
<foreign-key foreignTable="C_ACCTSCHEMA" name="CACCTSCHEMA_AASSETCHANGEAMT">
<reference local="C_ACCTSCHEMA_ID" foreign="C_ACCTSCHEMA_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,45 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="A_ASSET_DELIVERY">
<column name="A_ASSET_DELIVERY_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="A_ASSET_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="MOVEMENTDATE" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="SERNO" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
<column name="LOT" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
<column name="VERSIONNO" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
<column name="M_INOUTLINE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="EMAIL" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="MESSAGEID" primaryKey="false" required="false" type="VARCHAR" size="120" autoIncrement="false"/>
<column name="DELIVERYCONFIRMATION" primaryKey="false" required="false" type="VARCHAR" size="120" autoIncrement="false"/>
<column name="URL" primaryKey="false" required="false" type="VARCHAR" size="120" autoIncrement="false"/>
<column name="REMOTE_ADDR" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="REMOTE_HOST" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="REFERRER" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="AD_USER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="M_PRODUCTDOWNLOAD_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<foreign-key foreignTable="AD_USER" name="ADUSER_AASSETDELIVERY">
<reference local="AD_USER_ID" foreign="AD_USER_ID"/>
</foreign-key>
<foreign-key foreignTable="A_ASSET" name="AASSET_AASSETDELIVERY">
<reference local="A_ASSET_ID" foreign="A_ASSET_ID"/>
</foreign-key>
<foreign-key foreignTable="M_INOUTLINE" name="MOUTLINE_AASSETDELIVERY">
<reference local="M_INOUTLINE_ID" foreign="M_INOUTLINE_ID"/>
</foreign-key>
<foreign-key foreignTable="M_PRODUCTDOWNLOAD" name="MPRODUCTDL_AASSETDELIVERY">
<reference local="M_PRODUCTDOWNLOAD_ID" foreign="M_PRODUCTDOWNLOAD_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,28 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="A_ASSET_GROUP">
<column name="A_ASSET_GROUP_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="HELP" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="ISOWNED" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="ISDEPRECIATED" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="ISONEASSETPERUOM" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="ISCREATEASACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="ISTRACKISSUES" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsOwned in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,33 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="A_ASSET_GROUP_ACCT">
<column name="A_ASSET_GROUP_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="C_ACCTSCHEMA_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="A_ASSET_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="A_DEPRECIATION_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="A_ACCUMDEPRECIATION_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="A_DISPOSAL_LOSS" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="A_DISPOSAL_GAIN" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="A_DEPRECIATION_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<foreign-key foreignTable="A_ASSET_GROUP" name="AASSETGROUP_AASSETGROUPACCT">
<reference local="A_ASSET_GROUP_ID" foreign="A_ASSET_GROUP_ID"/>
</foreign-key>
<foreign-key foreignTable="A_DEPRECIATION" name="ADEPRECIATION_AASSETGROUPACCT">
<reference local="A_DEPRECIATION_ID" foreign="A_DEPRECIATION_ID"/>
</foreign-key>
<foreign-key foreignTable="C_ACCTSCHEMA" name="CACCTSCHEMA_AASSETGROUPACCT">
<reference local="C_ACCTSCHEMA_ID" foreign="C_ACCTSCHEMA_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,27 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="A_ASSET_RETIREMENT">
<column name="A_ASSET_RETIREMENT_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="A_ASSET_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="ASSETVALUEAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="ASSETMARKETVALUEAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="C_INVOICELINE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<foreign-key foreignTable="A_ASSET" name="AASSET_AASSETRETIREMENT">
<reference local="A_ASSET_ID" foreign="A_ASSET_ID"/>
</foreign-key>
<foreign-key foreignTable="C_INVOICELINE" name="CINVOICELINE_AASSETRETIREMENT">
<reference local="C_INVOICELINE_ID" foreign="C_INVOICELINE_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,24 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="A_ASSET_USE">
<column name="A_ASSET_USE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="A_ASSET_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="USEDATE" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="USEUNITS" primaryKey="false" required="true" type="NUMERIC" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<foreign-key foreignTable="A_ASSET" name="AASSET_AASSETUSE">
<reference local="A_ASSET_ID" foreign="A_ASSET_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,21 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="A_DEPRECIATION">
<column name="A_DEPRECIATION_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="DEPRECIATIONTYPE" primaryKey="false" required="true" type="CHAR" size="2" autoIncrement="false"/>
<column name="SCRIPT" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,53 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="A_REGISTRATION">
<column name="A_REGISTRATION_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="HELP" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="A_ASSET_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="M_PRODUCT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_BPARTNER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="AD_USER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="ISREGISTERED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="ISINPRODUCTION" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="ISALLOWPUBLISH" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="REMOTE_HOST" primaryKey="false" required="false" type="VARCHAR" size="120" autoIncrement="false"/>
<column name="REMOTE_ADDR" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="PROCESSING" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
<column name="ASSETSERVICEDATE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="NOTE" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<foreign-key foreignTable="AD_USER" name="ADUSER_AREGISTRATION">
<reference local="AD_USER_ID" foreign="AD_USER_ID"/>
</foreign-key>
<foreign-key foreignTable="A_ASSET" name="AASSET_AREGISTRATION">
<reference local="A_ASSET_ID" foreign="A_ASSET_ID"/>
</foreign-key>
<foreign-key foreignTable="C_BPARTNER" name="CBPARTNER_AREGISTRATION">
<reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
</foreign-key>
<foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_AREGISTRATION">
<reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsRegistered in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsInProduction in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsAllowPublish in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,30 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="A_REGISTRATIONATTRIBUTE">
<column name="A_REGISTRATIONATTRIBUTE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="SEQNO" primaryKey="false" required="true" type="INTEGER" default="0" autoIncrement="false"/>
<column name="AD_REFERENCE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="COLUMNNAME" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
<column name="AD_REFERENCE_VALUE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="ISSELFSERVICE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<foreign-key foreignTable="AD_REFERENCE" name="ADREFERENCEVALUE_AREGATTRIBUTE">
<reference local="AD_REFERENCE_VALUE_ID" foreign="AD_REFERENCE_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_REFERENCE" name="ADREFERENCE_AREGATTRIBUTE">
<reference local="AD_REFERENCE_ID" foreign="AD_REFERENCE_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,25 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="A_REGISTRATIONPRODUCT">
<column name="A_REGISTRATIONATTRIBUTE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="M_PRODUCT_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<foreign-key foreignTable="A_REGISTRATIONATTRIBUTE" name="AREGATTRIBUTE_AREGPRODUCT">
<reference local="A_REGISTRATIONATTRIBUTE_ID" foreign="A_REGISTRATIONATTRIBUTE_ID"/>
</foreign-key>
<foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_AREGPRODUCT">
<reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,26 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="A_REGISTRATIONVALUE">
<column name="A_REGISTRATION_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="A_REGISTRATIONATTRIBUTE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<foreign-key foreignTable="A_REGISTRATION" name="AREGISTRATION_AREGVALUE">
<reference local="A_REGISTRATION_ID" foreign="A_REGISTRATION_ID"/>
</foreign-key>
<foreign-key foreignTable="A_REGISTRATIONATTRIBUTE" name="AREGATTRIBUTE_AREGVALUE">
<reference local="A_REGISTRATIONATTRIBUTE_ID" foreign="A_REGISTRATIONATTRIBUTE_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>