Author: jacopoc
Date: Sat Jun 16 00:56:26 2007 New Revision: 547882 URL: http://svn.apache.org/viewvc?view=rev&rev=547882 Log: New entities to store information about inventory items' labels. Modified: ofbiz/trunk/applications/product/entitydef/entitygroup.xml ofbiz/trunk/applications/product/entitydef/entitymodel.xml Modified: ofbiz/trunk/applications/product/entitydef/entitygroup.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/entitydef/entitygroup.xml?view=diff&rev=547882&r1=547881&r2=547882 ============================================================================== --- ofbiz/trunk/applications/product/entitydef/entitygroup.xml (original) +++ ofbiz/trunk/applications/product/entitydef/entitygroup.xml Sat Jun 16 00:56:26 2007 @@ -109,6 +109,9 @@ <entity-group group="org.ofbiz" entity="InventoryItemType" /> <entity-group group="org.ofbiz" entity="InventoryItemTypeAttr" /> <entity-group group="org.ofbiz" entity="InventoryItemVariance" /> + <entity-group group="org.ofbiz" entity="InventoryItemLabelType" /> + <entity-group group="org.ofbiz" entity="InventoryItemLabel" /> + <entity-group group="org.ofbiz" entity="InventoryItemLabelAppl" /> <entity-group group="org.ofbiz" entity="InventoryTransfer" /> <entity-group group="org.ofbiz" entity="Lot" /> <entity-group group="org.ofbiz" entity="PhysicalInventory" /> Modified: ofbiz/trunk/applications/product/entitydef/entitymodel.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/entitydef/entitymodel.xml?view=diff&rev=547882&r1=547881&r2=547882 ============================================================================== --- ofbiz/trunk/applications/product/entitydef/entitymodel.xml (original) +++ ofbiz/trunk/applications/product/entitydef/entitymodel.xml Sat Jun 16 00:56:26 2007 @@ -1375,6 +1375,48 @@ <key-map field-name="inventoryItemId"/> </relation> </entity> + <entity entity-name="InventoryItemLabelType" + package-name="org.ofbiz.product.inventory" + title="Inventory Item Label Type Entity"> + <field name="inventoryItemLabelTypeId" type="id-ne"></field> + <field name="parentTypeId" type="id"></field> + <field name="hasTable" type="indicator"></field> + <field name="description" type="description"></field> + <prim-key field="inventoryItemLabelTypeId"/> + <relation type="one" fk-name="INV_ITLT_TYPPAR" title="Parent" rel-entity-name="InventoryItemLabelType"> + <key-map field-name="parentTypeId" rel-field-name="inventoryItemLabelTypeId"/> + </relation> + </entity> + <entity entity-name="InventoryItemLabel" + package-name="org.ofbiz.product.inventory" + title="Inventory Item Label Entity"> + <field name="inventoryItemLabelId" type="id-ne"></field> + <field name="inventoryItemLabelTypeId" type="id-ne"></field> + <field name="description" type="description"></field> + <prim-key field="inventoryItemLabelId"/> + <relation type="one" fk-name="INV_ITLA_TYPE" rel-entity-name="InventoryItemLabelType"> + <key-map field-name="inventoryItemLabelTypeId"/> + </relation> + </entity> + <entity entity-name="InventoryItemLabelAppl" + package-name="org.ofbiz.product.inventory" + title="Inventory Item Label Applicability Entity"> + <field name="inventoryItemId" type="id-ne"></field> + <field name="inventoryItemLabelTypeId" type="id-ne"></field> + <field name="inventoryItemLabelId" type="id-ne"></field> + <field name="sequenceNum" type="numeric"></field> + <prim-key field="inventoryItemId"/> + <prim-key field="inventoryItemLabelTypeId"/> + <relation type="one" fk-name="INV_ITLAP_ITEM" rel-entity-name="InventoryItem"> + <key-map field-name="inventoryItemId"/> + </relation> + <relation type="one" fk-name="INV_ITLAP_TYPE" rel-entity-name="InventoryItemLabelType"> + <key-map field-name="inventoryItemLabelTypeId"/> + </relation> + <relation type="one" fk-name="INV_ITLAP_LAB" rel-entity-name="InventoryItemLabel"> + <key-map field-name="inventoryItemLabelId"/> + </relation> + </entity> <entity entity-name="InventoryTransfer" package-name="org.ofbiz.product.inventory" title="Inventory Transfer Entity"> |
Free forum by Nabble | Edit this page |