src-db/database/model/tables/M_LOCATOR.xml
changeset 799 fef2c5e2feb7
parent 756 ae11e4610537
child 1605 8a0fe0193bef
equal deleted inserted replaced
798:4994e5a604bb 799:fef2c5e2feb7
    59       </column>
    59       </column>
    60       <column name="Z" primaryKey="false" required="false" type="NVARCHAR" size="60" autoIncrement="false">
    60       <column name="Z" primaryKey="false" required="false" type="NVARCHAR" size="60" autoIncrement="false">
    61         <default/>
    61         <default/>
    62         <onCreateDefault/>
    62         <onCreateDefault/>
    63       </column>
    63       </column>
    64       <column name="SIZEMULTIPLIER" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
       
    65         <default><![CDATA[1]]></default>
       
    66         <onCreateDefault/>
       
    67       </column>
       
    68       <column name="INVOICINGTYPE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
       
    69         <default/>
       
    70         <onCreateDefault/>
       
    71       </column>
       
    72       <column name="M_LOCATOR_TYPE_ID" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
       
    73         <default/>
       
    74         <onCreateDefault/>
       
    75       </column>
       
    76       <foreign-key foreignTable="M_WAREHOUSE" name="M_WAREHOUSE_LOCATOR" onDelete="cascade">
    64       <foreign-key foreignTable="M_WAREHOUSE" name="M_WAREHOUSE_LOCATOR" onDelete="cascade">
    77         <reference local="M_WAREHOUSE_ID" foreign="M_WAREHOUSE_ID"/>
    65         <reference local="M_WAREHOUSE_ID" foreign="M_WAREHOUSE_ID"/>
    78       </foreign-key>
    66       </foreign-key>
    79       <foreign-key foreignTable="AD_CLIENT" name="M_WH_LOCATOR_CLIENT">
    67       <foreign-key foreignTable="AD_CLIENT" name="M_WH_LOCATOR_CLIENT">
    80         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
    68         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
    81       </foreign-key>
    69       </foreign-key>
    82       <foreign-key foreignTable="AD_ORG" name="M_WH_LOCATOR_ORG">
    70       <foreign-key foreignTable="AD_ORG" name="M_WH_LOCATOR_ORG">
    83         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
    71         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
    84       </foreign-key>
       
    85       <foreign-key foreignTable="M_LOCATOR_TYPE" name="MLOCATORTYPE_MLOCATOR">
       
    86         <reference local="M_LOCATOR_TYPE_ID" foreign="M_LOCATOR_TYPE_ID"/>
       
    87       </foreign-key>
    72       </foreign-key>
    88       <unique name="M_LOCATION_WHERE">
    73       <unique name="M_LOCATION_WHERE">
    89         <unique-column name="M_WAREHOUSE_ID"/>
    74         <unique-column name="M_WAREHOUSE_ID"/>
    90         <unique-column name="X"/>
    75         <unique-column name="X"/>
    91         <unique-column name="Y"/>
    76         <unique-column name="Y"/>