<?xml version="1.0" encoding="ISO-8859-1"?>
<objectModel xmlns="http://www.codelutin.org/lutingenerator/objectModel" name="NeoGia" version="">
  <comment>inventoryFacility</comment>
  <comment>Sales Orders, Picking and Shipment process
This diagram explain only services (or methodes) used in this process
This diagram is detailed only for Picking - Shipment creation - Shipment Delivered
The goal is to explain StockEvent interaction</comment>
  <comment>Shipment Creation interaction with StockItem and StockEvent</comment>
  <comment>ShipmentItem Creation Ofbiz UI
with very simple modification</comment>
  <comment>If multiple stockItem are needed for orderItem.quantity
If orderItem.quantity &gt; stockItem.quantity available</comment>
  <comment>Add the link to StockItem
and changed status to 
CloseReserved</comment>
  <comment>Picking List Creation</comment>
  <comment>Only to user classification purpose</comment>
  <comment>Stock event genrated by the inventory result</comment>
  <comment>The four step for a Physical inventory are
1) Inventory creation and facility or product selection
2) Listing printing
3) Counting and entering data
4) re-counting if necessary</comment>
  <comment>Facility to Order</comment>
  <comment>Facility2Shipment</comment>
  <class name="StockItem" package="org.neogia.facility.location.entities">
    <stereotype name="entity"/>
    <tagValue name="gui" value="list, edit, lookup, show, print"/>
    <tagValue name="documentation" value="&lt;p&gt;Ligne de stock du magasin&lt;/p&gt;"/>
    <attribute name="idName" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="gui" value="idName, description, indexed, list"/>
      <tagValue name="primaryKey" value="true"/>
      <tagValue name="value" value="nextSeqId"/>
    </attribute>
    <attribute name="quantityOnHand" associationType="composite" visibility="protected" type="java.math.BigDecimal">
      <tagValue name="gui" value="list"/>
    </attribute>
    <attribute name="quantityUom" associationType="composite" visibility="protected" type="java.math.BigDecimal"/>
    <attribute name="quantityPack" associationType="composite" visibility="protected" type="java.math.BigDecimal"/>
    <attribute name="unitCost" associationType="composite" visibility="protected" type="java.math.BigDecimal">
      <tagValue name="gui" value="list"/>
    </attribute>
    <attribute name="comments" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="gui" value="list"/>
    </attribute>
    <attribute name="datetimeReceived" associationType="composite" visibility="protected" type="java.util.Date">
      <tagValue name="gui" value="indexed, list"/>
    </attribute>
    <attribute name="ean128" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="ofbizEntityType" value="long-varchar"/>
      <tagValue name="gui" value="list"/>
    </attribute>
    <attribute visibility="protected" type="org.neogia.facility.inventory.entities.NInventoryItem" reverseAttribute="" associationType="composite" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered">
      <tagValue name="gui" value="editAssoc"/>
    </attribute>
    <attribute visibility="protected" type="org.neogia.facility.stockevent.entities.StockEvent" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered">
      <tagValue name="gui" value="listAssoc, editAssoc"/>
    </attribute>
    <attribute visibility="protected" type="org.neogia.facility.location.entities.StatusStockItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="protected" type="org.neogia.facility.stockevent.entities.FacilityStockEvent" reverseAttribute="to" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute name="before" visibility="protected" type="org.neogia.facility.location.entities.StatusStockItem" reverseAttribute="stockItem2" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="gui" value="hidden"/>
      <tagValue name="shortName" value="stBfStItm"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.facility.location.entities.ProductLot" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute name="packaging" visibility="protected" type="org.neogia.product.product.entities.Product" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="ofbizAttributeName" value="packagingId"/>
    </attribute>
    <attribute name="qty" visibility="protected" type="org.neogia.common.uom.entities.Uom" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="ofbizAttributeName" value="quantityUomId"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.facility.location.entities.Facility" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="gui" value="list"/>
    </attribute>
    <attribute visibility="protected" type="org.neogia.facility.stockevent.entities.StockEventPlanned" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="protected" type="org.neogia.product.product.entities.Product" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="gui" value="list"/>
    </attribute>
  </class>
  <class name="ProductLot" package="org.neogia.facility.location.entities">
    <stereotype name="entity"/>
    <tagValue name="gui" value="list, edit, show"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <attribute name="lotId" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="gui" value="indexed"/>
      <tagValue name="primaryKey" value="true"/>
    </attribute>
    <attribute name="serialNumber" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="gui" value="indexed"/>
    </attribute>
    <attribute name="expireDate" associationType="composite" visibility="protected" type="java.util.Date">
      <tagValue name="gui" value="indexed"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.facility.location.entities.StockItem" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="StatusFacility" package="org.neogia.facility.location.entities">
    <stereotype name="entity"/>
    <tagValue name="documentation" value="&lt;p&gt;Enable or disable movement to a facility&lt;/p&gt; &lt;p&gt;--&lt;/p&gt; &lt;p&gt;Value : enable, disable,destroy&lt;/p&gt; &lt;p&gt;During physicall inventoring Status facility have to be on enable movement&lt;/p&gt; &lt;p&gt;&lt;/p&gt;"/>
    <tagValue name="gui" value="drop-down, list, edit"/>
    <tagValue name="shortName" value="sfac"/>
    <tagValue name="" value=""/>
    <tagValue name="" value=""/>
    <superclass name="org.neogia.common.status.entities.StatusItem" discriminator="statusTypeId"/>
    <comment>Use to autorize or not stock event 
for the facility and it's components</comment>
    <attribute name="OPEN" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="S_FACY_OPEN"/>
    </attribute>
    <attribute name="CLOSED" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="S_FACY_CLOSED"/>
    </attribute>
    <attribute name="INVENTORYLOCKED" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="S_FACY_INV_LOCKED"/>
    </attribute>
    <attribute visibility="protected" type="org.neogia.facility.location.entities.Facility" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute name="nFacility2" visibility="protected" type="org.neogia.facility.location.entities.Facility" reverseAttribute="before" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.inventory.entities.InventoryFacility" reverseAttribute="Before" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="StatusStockItem" package="org.neogia.facility.location.entities">
    <stereotype name="entity"/>
    <tagValue name="documentation" value="&lt;p&gt;locked stock item&lt;/p&gt; &lt;p&gt;--&lt;/p&gt; &lt;p&gt;Value :available,locked&lt;/p&gt; &lt;p&gt;During quality control you must locked StockItem.&lt;/p&gt; &lt;p&gt;&lt;/p&gt;"/>
    <tagValue name="gui" value="list, edit, drop-down"/>
    <tagValue name="shortName" value="ssitm"/>
    <superclass name="org.neogia.common.status.entities.StatusItem" discriminator="statusTypeId"/>
    <comment>Use to be able to lock a StockItem when there is quality or date problem</comment>
    <attribute name="OPEN" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="S_ST_ITEM_OPEN"/>
    </attribute>
    <attribute name="CLOSED" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="S_ST_ITEM_CLOSED"/>
    </attribute>
    <attribute name="LOCKED" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="S_ST_ITEM_LOCKED"/>
    </attribute>
    <attribute name="INVENTORYLOCKED" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="S_ST_ITEM_INV_LOCKED"/>
    </attribute>
    <attribute visibility="protected" type="org.neogia.facility.location.entities.StockItem" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute name="stockItem2" visibility="protected" type="org.neogia.facility.location.entities.StockItem" reverseAttribute="before" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.inventory.entities.NInventoryItem" reverseAttribute="before" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="FacilityType" package="org.neogia.facility.location.entities">
    <stereotype name="entity"/>
    <tagValue name="gui" value="list, edit, drop-down"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <attribute name="RETAIL_STORE" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="FAC_T_RETAIL_STORE"/>
      <tagValue name="addedToOfbiz" value="true"/>
    </attribute>
    <attribute name="WAREHOUSE" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="FAC_T_WAREHOUSE"/>
      <tagValue name="addedToOfbiz" value="true"/>
    </attribute>
    <attribute name="SHIPMENT" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="FAC_T_SHIPMENT"/>
      <tagValue name="addedToOfbiz" value="true"/>
    </attribute>
    <attribute name="REWORK" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="FAC_T_REWORK"/>
      <tagValue name="addedToOfbiz" value="true"/>
    </attribute>
    <attribute name="facilityTypeId" associationType="composite" visibility="public" type="java.lang.String" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="primaryKey" value="true"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.facility.location.entities.Facility" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.common.enumeration.entities.Enumeration" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="StockMgntOutMethod" package="org.neogia.facility.location.entities">
    <stereotype name="entity"/>
    <tagValue name="shortName" value="smom"/>
    <tagValue name="discriminatorValue" value="STOCKMGNTOUTMETHOD"/>
    <superclass name="org.neogia.common.enumeration.entities.Enumeration" discriminator="enumTypeId"/>
    <attribute name="INVRO_FIFO_REC" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="staticValue" value="INVRO_FIFO_REC"/>
    </attribute>
    <attribute name="INVRO_LIFO_REC" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="INVRO_LIFO_REC"/>
    </attribute>
    <attribute name="INVRO_FIFO_EXP" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="INVRO_FIFO_EXP"/>
    </attribute>
    <attribute name="INVRO_LIFO_EXP" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="INVRO_LIFO_EXP"/>
    </attribute>
    <attribute name="INVRO_SEQ" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="staticValue" value="INVRO_SEQ"/>
    </attribute>
    <attribute visibility="protected" type="org.neogia.facility.location.entities.ProductFacility" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="ShipmentStockItem" package="org.neogia.facility.location.entities">
    <stereotype name="entity"/>
    <tagValue name="shortName" value="ssitm"/>
    <superclass name="org.neogia.facility.location.entities.StockItem" discriminator="link2Order"/>
    <comment>There are some OrderStockItem when,
in the shipping process, stock
is transfert from Facility to ShipmentFacility
(when pickinkList is validated)</comment>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.shipment.shipment.entities.ShipmentItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="ofbizEntityType" value="id-ne"/>
    </attribute>
  </class>
  <class name="EanCode" package="org.neogia.facility.location.entities">
    <stereotype name="entity"/>
    <attribute name="codeAI" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="primaryKey" value="true"/>
      <tagValue name="gui" value="idName"/>
      <tagValue name="ofbizEntityType" value="id-ne"/>
    </attribute>
    <attribute name="nbFloat" associationType="composite" visibility="protected" type="boolean"/>
    <attribute name="isoCode" associationType="composite" visibility="protected" type="java.math.BigDecimal"/>
    <attribute name="sizeCode" associationType="composite" visibility="protected" type="java.math.BigDecimal"/>
    <attribute name="variableSize" associationType="composite" visibility="protected" type="boolean"/>
    <attribute name="description" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="labelStr" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="documentation" value="&lt;p&gt;normal name is label but it's a reserved word&lt;/p&gt;"/>
    </attribute>
    <attribute name="relEntityName" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="relFieldName" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute visibility="public" associationClass="org.neogia.facility.location.entities.EanCodeProdAssoc" type="org.neogia.facility.location.entities.ProdGenCodType" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="ProdGenCodType" package="org.neogia.facility.location.entities">
    <stereotype name="entity"/>
    <superclass name="org.neogia.common.enumeration.entities.Enumeration" discriminator="enumTypeId"/>
    <attribute name="PRD_GENCOD_TYPE_01" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="documentation" value="&lt;p&gt;in french &quot;UC a mesure fixe&quot;&lt;/p&gt;"/>
    </attribute>
    <attribute name="PRD_GENCOD_TYPE_02" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="documentation" value="&lt;p&gt;In French &quot;Lot consommateur&quot;&lt;/p&gt;"/>
    </attribute>
    <attribute name="PRD_GENCOD_TYPE_03" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="documentation" value="&lt;p&gt;in french &quot;Colis mixte standard d'UC&quot;&lt;/p&gt;"/>
    </attribute>
    <attribute visibility="public" associationClass="org.neogia.facility.location.entities.EanCodeProdAssoc" type="org.neogia.facility.location.entities.EanCode" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="FacilityPurpose" package="org.neogia.facility.location.entities">
    <stereotype name="entity"/>
    <stereotype name="enumeration"/>
    <tagValue name="gui" value="drop-down"/>
    <superclass name="org.neogia.common.enumeration.entities.Enumeration" discriminator="enumTypeId"/>
    <attribute name="BACKFLUSH" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="FAC_P_BACKFLUSH"/>
    </attribute>
    <attribute name="ORDER" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="FAC_P_ORDER"/>
    </attribute>
    <attribute name="REWORK" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="FAC_P_REWORK"/>
    </attribute>
    <attribute name="SHIPMENT" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="FAC_P_SHIPMENT"/>
    </attribute>
    <attribute name="REPLANISHMENT" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="FAC_P_REPLANISH"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.product.store.entities.ProductStoreFacility" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="Facility" package="org.neogia.facility.location.entities">
    <stereotype name="entity"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <tagValue name="extensibilityPattern" value="true"/>
    <tagValue name="gui" value="list, edit, lookup, show"/>
    <tagValue name="documentation" value="&lt;p&gt;Facility Entity&lt;/p&gt; &lt;p&gt;--&lt;/p&gt; &lt;p&gt;&lt;/p&gt;"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <attribute name="facilityId" associationType="composite" visibility="public" type="java.lang.String" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="primaryKey" value="true"/>
      <tagValue name="value" value="nextSeqId"/>
      <tagValue name="ofbizEntityType" value="id-ne"/>
      <tagValue name="gui" value="indexed"/>
    </attribute>
    <attribute name="defaultInventoryItemTypeId" associationType="composite" visibility="public" type="java.lang.String" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="" value=""/>
    </attribute>
    <attribute name="facilityName" associationType="composite" visibility="public" type="java.lang.String" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="gui" value="idName, indexed"/>
    </attribute>
    <attribute name="primaryFacilityGroupId" associationType="composite" visibility="public" type="java.lang.String" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="" value=""/>
    </attribute>
    <attribute name="squareFootage" associationType="composite" visibility="public" type="long" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="" value=""/>
    </attribute>
    <attribute name="defaultDaysToShip" associationType="composite" visibility="public" type="long" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="" value=""/>
    </attribute>
    <attribute name="openedDate" associationType="composite" visibility="public" type="java.util.Date" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="" value=""/>
    </attribute>
    <attribute name="closedDate" associationType="composite" visibility="public" type="java.util.Date" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="" value=""/>
    </attribute>
    <attribute name="description" associationType="composite" visibility="public" type="java.lang.String" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="gui" value="description"/>
    </attribute>
    <attribute name="defaultWeightUomId" associationType="composite" visibility="public" type="java.lang.String" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="" value=""/>
    </attribute>
    <attribute name="facilitySize" associationType="composite" visibility="public" type="java.math.BigDecimal" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="addedToOfbiz" value="true"/>
    </attribute>
    <attribute name="facilityTreePath" associationType="composite" visibility="public" type="java.lang.String" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="addedToOfbiz" value="true"/>
      <tagValue name="gui" value="hidden"/>
      <tagValue name="derived" value="true"/>
    </attribute>
    <attribute visibility="protected" type="org.neogia.facility.location.entities.StatusFacility" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="gui" value="indexed"/>
      <tagValue name="addedToOfbiz" value="true"/>
    </attribute>
    <attribute visibility="protected" associationClass="org.neogia.facility.location.entities.ProductFacility" type="org.neogia.product.product.entities.Product" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered">
      <tagValue name="gui" value="editAssoc, listAssoc"/>
    </attribute>
    <attribute visibility="protected" associationClass="org.neogia.facility.location.entities.FacilityContactMech" type="org.neogia.party.contact.entities.ContactMech" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered">
      <tagValue name="gui" value="editAssoc, listAssoc"/>
    </attribute>
    <attribute visibility="public" associationClass="org.neogia.facility.location.entities.FacilityParty" type="org.neogia.party.party.entities.PartyRole" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.location.entities.FacilityType" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.product.store.entities.ProductStore" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.orderReturn.entities.ReturnHeader" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute name="owner" visibility="protected" type="org.neogia.party.party.entities.Party" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="ofbizAttributeName" value="ownerPartyId"/>
      <tagValue name="documentation" value="&lt;p&gt;Useable when facility is associated for one party, for stock on a supplier or delivery place for a customer&lt;/p&gt;"/>
    </attribute>
    <attribute name="location" visibility="protected" type="org.neogia.common.geo.entities.Geo" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute name="before" visibility="protected" type="org.neogia.facility.location.entities.StatusFacility" reverseAttribute="nFacility2" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="gui" value="hidden"/>
      <tagValue name="shortName" value="stBfFa"/>
      <tagValue name="addedToOfbiz" value="true"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.product.store.entities.ProductStoreFacility" reverseAttribute="" associationType="composite" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute name="size" visibility="protected" type="org.neogia.common.uom.entities.Uom" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute name="Child" visibility="public" type="org.neogia.facility.location.entities.Facility" reverseAttribute="Parent" associationType="aggregate" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered">
      <tagValue name="gui" value="hidden"/>
    </attribute>
    <attribute name="Parent" visibility="public" type="org.neogia.facility.location.entities.Facility" reverseAttribute="Child" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.location.entities.StockItem" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered">
      <tagValue name="gui" value="editAssoc, listAssoc"/>
    </attribute>
    <attribute visibility="public" associationClass="org.neogia.facility.inventory.entities.InventoryFacility" type="org.neogia.facility.inventory.entities.Inventory" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.picking.entities.TransfertList" reverseAttribute="defaultOrigin" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="false" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.picking.entities.TransfertList" reverseAttribute="defaultDestination" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="false" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.picking.entities.TransfertUnitModel" reverseAttribute="defaultOrigin" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="false" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.picking.entities.TransfertUnitModel" reverseAttribute="defaultDestination" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="false" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.picking.entities.TransfertListModel" reverseAttribute="defaultOrigin" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="false" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.picking.entities.TransfertListModel" reverseAttribute="defaultDestination" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="false" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.stockevent.entities.StockEventPlanned" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderHeader" reverseAttribute="originFacilityId" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="false" ordering="unordered"/>
    <attribute name="shipmentOrigin" visibility="protected" type="org.neogia.shipment.shipment.entities.Shipment" reverseAttribute="originFacility" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.shipment.shipment.entities.Shipment" reverseAttribute="destinationFacility" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.requirement.entities.Requirement" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.manufacturing.jobshopmgt.entities.RunComponent" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.manufacturing.jobshopmgt.entities.WRun" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <associationClass name="FacilityContactMechPurpose" package="org.neogia.facility.location.entities">
    <stereotype name="entity"/>
    <tagValue name="gui" value="edit"/>
    <tagValue name="setDefaultAssoc" value="NFacilityContactMech:1, ContactMechPurposeType:2"/>
    <tagValue name="shortName" value="fcmp"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <participant name="org.neogia.facility.location.entities.FacilityContactMech" attribute=""/>
    <participant name="org.neogia.party.contact.entities.ContactMechPurposeType" attribute=""/>
    <attribute name="fromDate" associationType="composite" visibility="protected" type="java.util.Date">
      <tagValue name="gui" value="now"/>
      <tagValue name="primaryKey" value="true"/>
    </attribute>
    <attribute name="thruDate" associationType="composite" visibility="public" type="java.util.Date" minMultiplicity="1" maxMultiplicity="1"/>
  </associationClass>
  <associationClass name="ProductFacility" package="org.neogia.facility.location.entities">
    <stereotype name="entity"/>
    <tagValue name="gui" value="listAssoc"/>
    <tagValue name="setDefaultAssoc" value="Product:1, NFacility:2"/>
    <tagValue name="shortName" value="prdtf"/>
    <tagValue name="orderBy" value="sequenceIndex"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <participant name="org.neogia.facility.location.entities.Facility" attribute=""/>
    <participant name="org.neogia.product.product.entities.Product" attribute=""/>
    <attribute name="sequenceIndex" associationType="composite" visibility="protected" type="int" minMultiplicity="1" maxMultiplicity="1"/>
    <attribute name="minimumStock" associationType="composite" visibility="protected" type="java.math.BigDecimal"/>
    <attribute name="reorderQuantity" associationType="composite" visibility="protected" type="java.math.BigDecimal"/>
    <attribute name="daysToShip" associationType="composite" visibility="protected" type="long"/>
    <attribute name="averageConsumption" associationType="composite" visibility="protected" type="java.math.BigDecimal"/>
    <attribute visibility="protected" type="org.neogia.product.product.entities.ProdReqMethod" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="protected" type="org.neogia.facility.location.entities.StockMgntOutMethod" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="shortName" value="StMgOuMe"/>
    </attribute>
  </associationClass>
  <associationClass name="FacilityContactMech" package="org.neogia.facility.location.entities">
    <stereotype name="entity"/>
    <tagValue name="shortName" value="Fcm"/>
    <tagValue name="setDefaultAssoc" value="NFacility:1, ContactMech:2"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <participant name="org.neogia.facility.location.entities.Facility" attribute=""/>
    <participant name="org.neogia.party.contact.entities.ContactMech" attribute=""/>
    <attribute visibility="protected" associationClass="org.neogia.facility.location.entities.FacilityContactMechPurpose" type="org.neogia.party.contact.entities.ContactMechPurposeType" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </associationClass>
  <associationClass name="FacilityParty" package="org.neogia.facility.location.entities">
    <stereotype name="entity"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <participant name="org.neogia.facility.location.entities.Facility" attribute=""/>
    <participant name="org.neogia.party.party.entities.PartyRole" attribute=""/>
  </associationClass>
  <associationClass name="EanCodeProdAssoc" package="org.neogia.facility.location.entities">
    <stereotype name="entity"/>
    <participant name="org.neogia.facility.location.entities.ProdGenCodType" attribute=""/>
    <participant name="org.neogia.facility.location.entities.EanCode" attribute=""/>
    <attribute name="sequenceNum" associationType="composite" visibility="protected" type="int"/>
  </associationClass>
  <class name="StockEvent" package="org.neogia.facility.stockevent.entities">
    <stereotype name="entity"/>
    <tagValue name="gui" value="list, show, edit"/>
    <attribute name="idName" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="gui" value="idName, description, indexed, list"/>
      <tagValue name="primaryKey" value="true"/>
      <tagValue name="value" value="nextSeqId"/>
    </attribute>
    <attribute name="quantity" associationType="composite" visibility="protected" type="java.math.BigDecimal">
      <tagValue name="gui" value="indexed, list"/>
    </attribute>
    <attribute name="quantityUom" associationType="composite" visibility="protected" type="java.math.BigDecimal"/>
    <attribute name="quantityPack" associationType="composite" visibility="protected" type="java.math.BigDecimal"/>
    <attribute name="dates" associationType="composite" visibility="protected" type="java.util.Date">
      <tagValue name="gui" value="indexed, list"/>
    </attribute>
    <attribute name="product" associationType="composite" visibility="protected" type="org.neogia.product.product.entities.Product">
      <tagValue name="derived" value="true"/>
      <tagValue name="gui" value="indexed, list"/>
    </attribute>
    <attribute name="comments" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="gui" value="list"/>
    </attribute>
    <attribute name="unitCost" associationType="composite" visibility="protected" type="java.math.BigDecimal">
      <tagValue name="gui" value="list"/>
    </attribute>
    <attribute visibility="protected" type="org.neogia.facility.location.entities.StockItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="gui" value="indexed, list"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.facility.stockevent.entities.StockEventType" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="gui" value="indexed, list"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.accounting.accintegration.entities.IntegTransactionItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute name="qty" visibility="protected" type="org.neogia.common.uom.entities.Uom" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="ofbizAttributeName" value="quantityUomId"/>
    </attribute>
    <attribute name="packaging" visibility="protected" type="org.neogia.product.product.entities.Product" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="ofbizAttributeName" value="packagingId"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.party.party.entities.Party" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="gui" value="indexed, list"/>
    </attribute>
  </class>
  <class name="OrderStockEvent" package="org.neogia.facility.stockevent.entities">
    <stereotype name="entity"/>
    <tagValue name="gui" value="edit, list, show"/>
    <tagValue name="shortName" value="osevt"/>
    <superclass name="org.neogia.facility.stockevent.entities.StockEvent" discriminator=""/>
    <attribute visibility="public" type="org.neogia.shipment.receipt.entities.RejectionReason" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.shipment.shipment.entities.ShipmentItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderItemShipGroupAssoc" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="RunStockEvent" package="org.neogia.facility.stockevent.entities">
    <stereotype name="entity"/>
    <tagValue name="gui" value="edit, list, show"/>
    <tagValue name="shortName" value="rse"/>
    <superclass name="org.neogia.facility.stockevent.entities.StockEvent" discriminator=""/>
    <attribute visibility="protected" type="org.neogia.manufacturing.jobshopmgt.entities.WRun" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.shipment.receipt.entities.RejectionReason" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.shipment.shipment.entities.ShipmentItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="StockEventPlanned" package="org.neogia.facility.stockevent.entities">
    <stereotype name="entity"/>
    <tagValue name="gui" value="list, edit, show, print"/>
    <tagValue name="shortName" value="sevtp"/>
    <comment>Used by all the reorder generation process
 to calculated when there wil be not enouth stock
some screen or report with stock prevision</comment>
    <attribute name="idName" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="gui" value="idName, description, indexed, list"/>
      <tagValue name="primaryKey" value="true"/>
      <tagValue name="value" value="nextSeqId"/>
    </attribute>
    <attribute name="quantity" associationType="composite" visibility="protected" type="java.math.BigDecimal" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="gui" value="indexed, list"/>
    </attribute>
    <attribute name="quantityUom" associationType="composite" visibility="protected" type="java.math.BigDecimal"/>
    <attribute name="quantityPack" associationType="composite" visibility="protected" type="java.math.BigDecimal"/>
    <attribute name="createDate" associationType="composite" visibility="protected" type="java.util.Date">
      <tagValue name="gui" value="indexed, list"/>
    </attribute>
    <attribute name="releaseDate" associationType="composite" visibility="protected" type="java.util.Date" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="gui" value="indexed, list"/>
    </attribute>
    <attribute name="delayedReleaseDate" associationType="composite" visibility="protected" type="java.util.Date">
      <tagValue name="gui" value="calculated, hidden"/>
    </attribute>
    <attribute name="comments" associationType="composite" visibility="protected" type="java.lang.String" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="gui" value="list"/>
    </attribute>
    <attribute visibility="protected" type="org.neogia.facility.location.entities.StockItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="gui" value="editAssoc, indexed, list"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.facility.stockevent.entities.StockEventType" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="gui" value="indexed, list"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.facility.stockevent.entities.StatusStockEventPanned" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="gui" value="indexed, list"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.facility.picking.entities.PickingList" reverseAttribute="pickingListItem" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute name="packaging" visibility="protected" type="org.neogia.product.product.entities.Product" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="ofbizAttributeName" value="packagingId"/>
    </attribute>
    <attribute name="qty" visibility="protected" type="org.neogia.common.uom.entities.Uom" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="ofbizAttributeName" value="quantityUomId"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.facility.stockevent.entities.StockEventPlanned" reverseAttribute="previousAllotted" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute name="previousAllotted" visibility="protected" type="org.neogia.facility.stockevent.entities.StockEventPlanned" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.location.entities.Facility" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="gui" value="editAssoc, indexed, list"/>
    </attribute>
    <attribute visibility="protected" type="org.neogia.product.product.entities.Product" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="gui" value="editAssoc, indexed, list"/>
    </attribute>
    <attribute name="generatePropOrders" visibility="protected" type="org.neogia.manufacturing.planning.entities.ProposedOrder" reverseAttribute="originStockEvPl" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="RunStockEventPlanned" package="org.neogia.facility.stockevent.entities">
    <stereotype name="entity"/>
    <tagValue name="gui" value="show, list, edit"/>
    <tagValue name="shortName" value="rsep"/>
    <superclass name="org.neogia.facility.stockevent.entities.StockEventPlanned" discriminator=""/>
    <attribute visibility="protected" type="org.neogia.manufacturing.jobshopmgt.entities.WRun" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.shipment.shipment.entities.ShipmentItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="OrderStockEventPlanned" package="org.neogia.facility.stockevent.entities">
    <stereotype name="entity"/>
    <tagValue name="gui" value="show, list, edit, print"/>
    <tagValue name="shortName" value="osep"/>
    <superclass name="org.neogia.facility.stockevent.entities.StockEventPlanned" discriminator=""/>
    <comment>associated to a StockItem</comment>
    <attribute name="requestedPickDate" associationType="composite" visibility="protected" type="java.util.Date"/>
    <attribute visibility="public" type="org.neogia.shipment.shipment.entities.ShipmentItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderItemShipGroupAssoc" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="FacilityStockEventPlanned" package="org.neogia.facility.stockevent.entities">
    <stereotype name="entity"/>
    <tagValue name="gui" value="list, edit, show"/>
    <tagValue name="shortName" value="fcep"/>
    <superclass name="org.neogia.facility.stockevent.entities.StockEventPlanned" discriminator=""/>
    <attribute name="parent" visibility="protected" type="org.neogia.facility.stockevent.entities.FacilityStockEventPlanned" reverseAttribute="child" reverseMaxMultiplicity="1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute name="child" visibility="protected" type="org.neogia.facility.stockevent.entities.FacilityStockEventPlanned" reverseAttribute="parent" reverseMaxMultiplicity="1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.stockevent.entities.FacilityStockEvent" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.stockevent.entities.FacilityStockEvent" reverseAttribute="" associationType="aggregate" reverseMaxMultiplicity="1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.stockevent.entities.FacilityStockEvent" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.inventory.entities.NInventoryItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="RunCompoStockEvent" package="org.neogia.facility.stockevent.entities">
    <stereotype name="entity"/>
    <tagValue name="gui" value="edit, list, show"/>
    <tagValue name="shortName" value="rcse"/>
    <superclass name="org.neogia.facility.stockevent.entities.StockEvent" discriminator=""/>
    <attribute visibility="protected" type="org.neogia.manufacturing.jobshopmgt.entities.RunComponent" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="StockEventType" package="org.neogia.facility.stockevent.entities">
    <stereotype name="entity"/>
    <tagValue name="gui" value="drop-down"/>
    <tagValue name="documentation" value="&lt;p&gt;For the StockEventPlannned it's use to calculated ATP quantity, only the Order StockEventPlanned Type are sum&lt;/p&gt; &lt;p&gt;In the next version it will be change, currently there is only one record for a planned transfert and not two&lt;/p&gt;"/>
    <tagValue name="shortName" value="sevttyp"/>
    <tagValue name="discriminatorValue" value="STOCKEVENTTYPE"/>
    <superclass name="org.neogia.common.enumeration.entities.Enumeration" discriminator="enumTypeId"/>
    <attribute name="INVENTORY_MOVEMENT" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="ST_EVT_TYPE_INV_MVT"/>
    </attribute>
    <attribute name="TRANSFERT" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="ST_EVT_TYPE_XFERT"/>
    </attribute>
    <attribute name="TRANSFERT_RECPT_DIFF" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="ST_EV_TY_X_RE_DI"/>
    </attribute>
    <attribute name="SHIPMENT" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="ST_EVT_TYPE_SHIP"/>
    </attribute>
    <attribute name="PURCHASE_ORDER" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="ST_EV_TYPE_PUR_OD"/>
    </attribute>
    <attribute name="SALE_ORDER" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="ST_EV_TYPE_SALE_OD"/>
    </attribute>
    <attribute name="RUN_MANUFACTURING" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="ST_EVT_TYPE_RUN_MAN"/>
    </attribute>
    <attribute name="RUN_COMPO_MAN" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="ST_EV_TY_RU_COM_MA"/>
    </attribute>
    <attribute name="QUOTE" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="ST_EVT_TYPE_QUOTE"/>
    </attribute>
    <attribute name="EXTERNAL" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="ST_EVT_TYPE_EXTERNAL"/>
    </attribute>
    <attribute name="PURCHASE_RETURN" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="ST_EV_TYPE_PU_RET"/>
    </attribute>
    <attribute name="SALES_RETURN" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="ST_EV_TYPE_ST_SA_RET"/>
    </attribute>
    <attribute name="REQUIREMENT" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="ST_EV_TYPE_REQ"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.facility.stockevent.entities.StockEventPlanned" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.stockevent.entities.StockEvent" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="FacilityStockEvent" package="org.neogia.facility.stockevent.entities">
    <stereotype name="entity"/>
    <tagValue name="gui" value="show, list, edit"/>
    <tagValue name="shortName" value="fcevt"/>
    <superclass name="org.neogia.facility.stockevent.entities.StockEvent" discriminator=""/>
    <comment>this association is used
 only to perform differt transfer</comment>
    <attribute name="to" visibility="protected" type="org.neogia.facility.location.entities.StockItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.stockevent.entities.FacilityStockEventPlanned" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute name="parent" visibility="protected" type="org.neogia.facility.stockevent.entities.FacilityStockEvent" reverseAttribute="child" reverseMaxMultiplicity="1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute name="child" visibility="protected" type="org.neogia.facility.stockevent.entities.FacilityStockEvent" reverseAttribute="parent" reverseMaxMultiplicity="1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.stockevent.entities.FacilityStockEventPlanned" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.stockevent.entities.FacilityStockEventPlanned" reverseAttribute="" associationType="aggregate" reverseMaxMultiplicity="1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="protected" type="org.neogia.facility.inventory.entities.NInventoryItem" reverseAttribute="" associationType="aggregate" reverseMaxMultiplicity="1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.inventory.entities.NInventoryItem" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="RunCompoStkEvPlan" package="org.neogia.facility.stockevent.entities">
    <stereotype name="entity"/>
    <tagValue name="gui" value="edit, list, show"/>
    <tagValue name="shortName" value="rcsep"/>
    <superclass name="org.neogia.facility.stockevent.entities.StockEventPlanned" discriminator=""/>
    <attribute visibility="protected" type="org.neogia.manufacturing.jobshopmgt.entities.RunComponent" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="ShipmentStockEvent" package="org.neogia.facility.stockevent.entities">
    <stereotype name="entity"/>
    <tagValue name="shortName" value="ssevt"/>
    <tagValue name="gui" value="edit"/>
    <superclass name="org.neogia.facility.stockevent.entities.StockEvent" discriminator=""/>
    <attribute visibility="public" type="org.neogia.shipment.shipment.entities.ShipmentItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="ofbizEntityType" value="id-ne"/>
    </attribute>
  </class>
  <class name="StatusStockEventPanned" package="org.neogia.facility.stockevent.entities">
    <stereotype name="entity"/>
    <tagValue name="shortName" value="stevtp"/>
    <superclass name="org.neogia.common.status.entities.StatusItem" discriminator="statusTypeId"/>
    <attribute name="PLANNED" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="S_STK_EP_PLANNED"/>
    </attribute>
    <attribute name="RESERVED" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="S_STK_EP_RESERVED"/>
    </attribute>
    <attribute name="CLOSERESERVED" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="S_STK_EP_CLOSERESERV"/>
    </attribute>
    <attribute name="REQUEST" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="S_STK_EP_REQUEST"/>
      <comment>Requested status will be replace by reserved</comment>
    </attribute>
    <attribute visibility="public" type="org.neogia.facility.stockevent.entities.StockEventPlanned" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="QuoteStockEventPlanned" package="org.neogia.facility.stockevent.entities">
    <stereotype name="entity"/>
    <tagValue name="shortName" value="QSEP"/>
    <superclass name="org.neogia.facility.stockevent.entities.StockEventPlanned" discriminator=""/>
    <attribute name="validThruDate" associationType="composite" visibility="protected" type="java.util.Date"/>
    <attribute visibility="public" type="org.neogia.order.quote.entities.QuoteItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="MpsStockEventPlan" package="org.neogia.facility.stockevent.entities">
    <stereotype name="entity"/>
    <tagValue name="gui" value="edit"/>
    <superclass name="org.neogia.facility.stockevent.entities.StockEventPlanned" discriminator=""/>
    <attribute visibility="public" type="org.neogia.manufacturing.mps.entities.MpsPPlanPeriod" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="ExternalStockEventPlanned" package="org.neogia.facility.stockevent.entities">
    <stereotype name="entity"/>
    <tagValue name="shortName" value="ESEP"/>
    <superclass name="org.neogia.facility.stockevent.entities.StockEventPlanned" discriminator=""/>
    <attribute name="externalId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="lotId" associationType="composite" visibility="protected" type="java.lang.String">
      <comment>Attributes is only used to have
 it when StockEvent is created</comment>
    </attribute>
    <attribute name="expireDate" associationType="composite" visibility="protected" type="java.util.Date"/>
    <attribute visibility="public" type="org.neogia.servicemgnt.receipt.entities.ChargeBack" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="ExternalStockEvent" package="org.neogia.facility.stockevent.entities">
    <stereotype name="entity"/>
    <tagValue name="shorName" value="ESE"/>
    <superclass name="org.neogia.facility.stockevent.entities.StockEvent" discriminator=""/>
    <attribute name="externalId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute visibility="public" type="org.neogia.servicemgnt.receipt.entities.ChargeBack" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="ReturnStockEventPlanned" package="org.neogia.facility.stockevent.entities">
    <stereotype name="entity"/>
    <tagValue name="shortName" value="RetSEP"/>
    <superclass name="org.neogia.facility.stockevent.entities.StockEventPlanned" discriminator=""/>
    <attribute visibility="public" type="org.neogia.order.orderReturn.entities.ReturnItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.shipment.shipment.entities.ShipmentItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="ReturnStockEvent" package="org.neogia.facility.stockevent.entities">
    <stereotype name="entity"/>
    <tagValue name="shortName" value="RetSE"/>
    <superclass name="org.neogia.facility.stockevent.entities.StockEvent" discriminator=""/>
    <attribute visibility="public" type="org.neogia.order.orderReturn.entities.ReturnItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.shipment.shipment.entities.ShipmentItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="RequirementStockEventPlan" package="org.neogia.facility.stockevent.entities">
    <stereotype name="entity"/>
    <tagValue name="shortName" value="ReqSEP"/>
    <superclass name="org.neogia.facility.stockevent.entities.StockEventPlanned" discriminator=""/>
    <attribute visibility="public" type="org.neogia.order.requirement.entities.Requirement" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="Inventory" package="org.neogia.facility.inventory.entities">
    <stereotype name="entity"/>
    <tagValue name="gui" value="list, edit, lookup, show"/>
    <attribute name="idName" associationType="composite" visibility="protected" type="java.lang.String" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="primaryKey" value="true"/>
      <tagValue name="gui" value="idName, indexed"/>
      <tagValue name="value" value="nextSeqId"/>
    </attribute>
    <attribute name="StartDate" associationType="composite" visibility="protected" type="java.util.Date">
      <tagValue name="gui" value="indexed"/>
    </attribute>
    <attribute name="EndDate" associationType="composite" visibility="protected" type="java.util.Date">
      <tagValue name="gui" value="indexed"/>
    </attribute>
    <attribute name="description" associationType="composite" visibility="protected" type="java.lang.String" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="gui" value="description"/>
    </attribute>
    <attribute visibility="public" associationClass="org.neogia.facility.inventory.entities.InventoryFacility" type="org.neogia.facility.location.entities.Facility" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered">
      <tagValue name="gui" value="editAssoc, listAssoc"/>
    </attribute>
    <attribute visibility="public" associationClass="org.neogia.facility.inventory.entities.InventoryRole" type="org.neogia.party.party.entities.PartyRole" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered">
      <tagValue name="gui" value="editAssoc, listAssoc"/>
    </attribute>
    <attribute visibility="protected" type="org.neogia.facility.inventory.entities.StatusInventory" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="gui" value="indexed, editAssoc"/>
    </attribute>
    <attribute visibility="protected" type="org.neogia.facility.inventory.entities.NInventoryItem" reverseAttribute="" associationType="composite" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered">
      <tagValue name="gui" value="listAssoc, editAssoc"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.facility.inventory.entities.InventoryType" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.party.party.entities.Party" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="protected" associationClass="org.neogia.facility.inventory.entities.InventoryProduct" type="org.neogia.product.product.entities.Product" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered">
      <tagValue name="gui" value="editAssoc, listAssoc"/>
    </attribute>
  </class>
  <class name="StatusInventory" package="org.neogia.facility.inventory.entities">
    <stereotype name="entity"/>
    <tagValue name="documentation" value="&lt;p&gt;Status of a physical inventory&lt;/p&gt; &lt;p&gt;--&lt;/p&gt; &lt;p&gt;Value : Encours,Closed.&lt;/p&gt; &lt;p&gt;Indicate if an inventory have been closed. All inventory item status must bee on &amp;quot;closed&amp;quot; if you want to close the physicall inventory.&lt;/p&gt;"/>
    <tagValue name="gui" value="drop-down, list, edit"/>
    <superclass name="org.neogia.common.status.entities.StatusItem" discriminator="statusTypeId"/>
    <attribute name="EDITING" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="S_INV_EDITING"/>
    </attribute>
    <attribute name="PERFORM" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="S_INV_PERFORM"/>
    </attribute>
    <attribute name="CLOSED" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="S_INV_CLOSED"/>
    </attribute>
    <attribute visibility="protected" type="org.neogia.facility.inventory.entities.Inventory" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="NInventoryItem" package="org.neogia.facility.inventory.entities">
    <stereotype name="entity"/>
    <tagValue name="gui" value="list, edit, lookup, show, print"/>
    <tagValue name="shortName" value="invIt"/>
    <attribute name="idName" associationType="composite" visibility="protected" type="java.lang.String" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="gui" value="idName, indexed, description"/>
      <tagValue name="mandatory" value="true"/>
      <tagValue name="value" value="nextSeqId"/>
    </attribute>
    <attribute name="facility" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="derived" value="true"/>
      <tagValue name="gui" value="indexed"/>
    </attribute>
    <attribute name="product" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="derived" value="true"/>
      <tagValue name="gui" value="indexed"/>
    </attribute>
    <attribute name="quantity" associationType="composite" visibility="protected" type="java.math.BigDecimal">
      <tagValue name="versioned" value="true"/>
    </attribute>
    <attribute name="quantityUom" associationType="composite" visibility="protected" type="java.math.BigDecimal"/>
    <attribute name="quantityPack" associationType="composite" visibility="protected" type="java.math.BigDecimal"/>
    <attribute name="inputDate" associationType="composite" visibility="protected" type="java.util.Date">
      <tagValue name="gui" value="indexed"/>
    </attribute>
    <attribute name="countNum" associationType="composite" visibility="protected" type="long">
      <tagValue name="primaryKey" value="true"/>
      <tagValue name="value" value="nextSeqId"/>
    </attribute>
    <attribute name="partyId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute visibility="protected" type="org.neogia.facility.location.entities.StockItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="protected" type="org.neogia.facility.stockevent.entities.FacilityStockEvent" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="gui" value="editAssoc, lisAssoc"/>
    </attribute>
    <attribute visibility="protected" type="org.neogia.facility.inventory.entities.StatusInventoryItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="protected" type="org.neogia.facility.inventory.entities.Inventory" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute name="before" visibility="protected" type="org.neogia.facility.location.entities.StatusStockItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="gui" value="hidden"/>
      <tagValue name="shortName" value="stBeNInIt"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.facility.stockevent.entities.FacilityStockEventPlanned" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute name="packaging" visibility="protected" type="org.neogia.product.product.entities.Product" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="ofbizAttributeName" value="packagingId"/>
    </attribute>
    <attribute name="qty" visibility="protected" type="org.neogia.common.uom.entities.Uom" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="ofbizAttributeName" value="quantityUomId"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.facility.stockevent.entities.FacilityStockEvent" reverseAttribute="" associationType="aggregate" reverseMaxMultiplicity="1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="StatusInventoryItem" package="org.neogia.facility.inventory.entities">
    <stereotype name="entity"/>
    <tagValue name="documentation" value="&lt;p&gt;Status of an Inventery Item&lt;/p&gt; &lt;p&gt;--&lt;/p&gt; &lt;p&gt;status of a inventory item&lt;/p&gt; &lt;p&gt;--&lt;/p&gt; &lt;p&gt;indicate if a inventory item have been count or not and save into the data base.&lt;/p&gt; &lt;p&gt;&lt;/p&gt;"/>
    <tagValue name="gui" value="drop-down, list, edit"/>
    <tagValue name="shortName" value="sii"/>
    <tagValue name="discriminatorValue" value="STATUSINVENTORYITEM"/>
    <superclass name="org.neogia.common.status.entities.StatusItem" discriminator="statusTypeId"/>
    <attribute name="EDITING" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="S_INV_ITEM_EDITING"/>
    </attribute>
    <attribute name="COUNT" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="S_INV_ITEM_COUNT"/>
    </attribute>
    <attribute name="RECOUNT" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="S_INV_ITEM_RECOUNT"/>
    </attribute>
    <attribute name="CLOSED" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="S_INV_ITEM_CLOSED"/>
    </attribute>
    <attribute visibility="protected" type="org.neogia.facility.inventory.entities.NInventoryItem" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="InventoryType" package="org.neogia.facility.inventory.entities">
    <stereotype name="entity"/>
    <tagValue name="gui" value="edit, list, drop-down"/>
    <tagValue name="shortName" value="invtyp"/>
    <tagValue name="discriminatorValue" value="INVENTORYTYPE"/>
    <superclass name="org.neogia.common.enumeration.entities.Enumeration" discriminator="enumTypeId"/>
    <attribute name="Permanent" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="INV_TYPE_PERMANENT"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.facility.inventory.entities.Inventory" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <associationClass name="InventoryFacility" package="org.neogia.facility.inventory.entities">
    <stereotype name="entity"/>
    <tagValue name="gui" value="listAssoc"/>
    <tagValue name="setDefaultAssoc" value="Inventory:1, NFacility:2"/>
    <tagValue name="shortName" value="invfac"/>
    <participant name="org.neogia.facility.location.entities.Facility" attribute=""/>
    <participant name="org.neogia.facility.inventory.entities.Inventory" attribute=""/>
    <attribute name="Before" visibility="protected" type="org.neogia.facility.location.entities.StatusFacility" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="gui" value="hidden"/>
      <tagValue name="shortName" value="stBeInFa"/>
    </attribute>
  </associationClass>
  <associationClass name="InventoryRole" package="org.neogia.facility.inventory.entities">
    <stereotype name="entity"/>
    <tagValue name="setDefaultAssoc" value="Inventory:1, RoleType:2"/>
    <participant name="org.neogia.facility.inventory.entities.Inventory" attribute=""/>
    <participant name="org.neogia.party.party.entities.PartyRole" attribute=""/>
  </associationClass>
  <associationClass name="InventoryProduct" package="org.neogia.facility.inventory.entities">
    <stereotype name="entity"/>
    <tagValue name="setDefaultAssoc" value="Inventory:1, Product:2"/>
    <tagValue name="shortName" value="invprdt"/>
    <participant name="org.neogia.facility.inventory.entities.Inventory" attribute=""/>
    <participant name="org.neogia.product.product.entities.Product" attribute=""/>
  </associationClass>
  <class name="PickingList" package="org.neogia.facility.picking.entities">
    <stereotype name="entity"/>
    <tagValue name="gui" value="edit, list"/>
    <comment>At the begining the OrderStockEventPlanned are associated
to FacilityStockItem
After PickingList validation there are associated 
to ShippingFacilityStockItem

There is the two when user capture data</comment>
    <attribute name="idName" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="primaryKey" value="true"/>
      <tagValue name="value" value="nextSeqId"/>
      <tagValue name="gui" value="description"/>
    </attribute>
    <attribute name="pickingListItem" visibility="protected" type="org.neogia.facility.stockevent.entities.StockEventPlanned" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered">
      <tagValue name="gui" value="editAssoc, listAssoc"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.facility.picking.entities.StatusPickingList" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="gui" value="indexed"/>
    </attribute>
  </class>
  <class name="StatusPickingList" package="org.neogia.facility.picking.entities">
    <stereotype name="entity"/>
    <tagValue name="shortName" value="spl"/>
    <superclass name="org.neogia.common.status.entities.StatusItem" discriminator="statusTypeId"/>
    <comment>PROPOSED is used if it's necessary
to manage the Selected Order list 
before user selection</comment>
    <attribute name="PROPOSED" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="ST_PI_LI_PROPOSED"/>
    </attribute>
    <attribute name="PRINTED" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="ST_PI_LI_PRINTED"/>
    </attribute>
    <attribute name="VALIDATE" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="ST_PI_LI_VALIDATE"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.facility.picking.entities.PickingList" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="TransfertList" package="org.neogia.facility.picking.entities">
    <stereotype name="entity"/>
    <tagValue name="gui" value="edit,list,show"/>
    <superclass name="org.neogia.facility.picking.entities.PickingList" discriminator=""/>
    <attribute name="releaseDate" associationType="composite" visibility="protected" type="java.util.Date">
      <tagValue name="gui" value="indexed"/>
    </attribute>
    <attribute name="comments" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="defaultOrigin" visibility="protected" type="org.neogia.facility.location.entities.Facility" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="gui" value="indexed"/>
    </attribute>
    <attribute name="defaultDestination" visibility="protected" type="org.neogia.facility.location.entities.Facility" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="gui" value="indexed"/>
    </attribute>
  </class>
  <class name="TransfertListModel" package="org.neogia.facility.picking.entities">
    <stereotype name="entity"/>
    <tagValue name="gui" value="list, edit,show"/>
    <comment>This is a model of TransfertList
It will permit to create a TransfertList 
via a model already existing </comment>
    <attribute name="idName" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="primaryKey" value="true"/>
      <tagValue name="value" value="nextSeqId"/>
    </attribute>
    <attribute name="description" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="gui" value="description, indexed"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.facility.picking.entities.TransfertUnitModel" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered">
      <tagValue name="gui" value="editAssoc"/>
    </attribute>
    <attribute name="defaultOrigin" visibility="protected" type="org.neogia.facility.location.entities.Facility" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="gui" value="indexed"/>
    </attribute>
    <attribute name="defaultDestination" visibility="protected" type="org.neogia.facility.location.entities.Facility" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="gui" value="indexed"/>
    </attribute>
  </class>
  <class name="TransfertUnitModel" package="org.neogia.facility.picking.entities">
    <stereotype name="entity"/>
    <tagValue name="gui" value="list, edit, show"/>
    <comment>This is some lign of Transfert 
in a TransfertListModel</comment>
    <attribute name="idName" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="primaryKey" value="true"/>
      <tagValue name="value" value="nextSeqId"/>
    </attribute>
    <attribute name="quantity" associationType="composite" visibility="protected" type="java.math.BigDecimal"/>
    <attribute name="createDate" associationType="composite" visibility="protected" type="java.util.Date"/>
    <attribute name="comments" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="description" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="gui" value="description"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.facility.picking.entities.TransfertListModel" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute name="defaultOrigin" visibility="protected" type="org.neogia.facility.location.entities.Facility" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute name="defaultDestination" visibility="protected" type="org.neogia.facility.location.entities.Facility" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.product.product.entities.Product" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="ProductStore" extern="true" package="org.neogia.product.store.entities">
    <stereotype name="entity"/>
    <attribute visibility="protected" type="org.neogia.facility.location.entities.Facility" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.product.store.entities.ProductStoreFacility" reverseAttribute="" associationType="composite" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="ProductStoreFacility" extern="true" package="org.neogia.product.store.entities">
    <stereotype name="entity"/>
    <attribute visibility="public" type="org.neogia.facility.location.entities.Facility" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="ofbizAttributeName" value="facilityId"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.facility.location.entities.FacilityPurpose" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.product.store.entities.ProductStore" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="Product" extern="true" package="org.neogia.product.product.entities">
    <stereotype name="entity"/>
    <attribute visibility="protected" associationClass="org.neogia.facility.location.entities.ProductFacility" type="org.neogia.facility.location.entities.Facility" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered">
      <tagValue name="gui" value="listAssoc, editAssoc"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.facility.location.entities.StockItem" reverseAttribute="packaging" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="false" ordering="unordered"/>
    <attribute visibility="protected" type="org.neogia.manufacturing.planning.entities.ProposedOrder" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.stockevent.entities.StockEventPlanned" reverseAttribute="packaging" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="false" ordering="unordered"/>
    <attribute visibility="protected" associationClass="org.neogia.facility.inventory.entities.InventoryProduct" type="org.neogia.facility.inventory.entities.Inventory" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered">
      <tagValue name="gui" value="listAssoc"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.facility.inventory.entities.NInventoryItem" reverseAttribute="packaging" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="protected" type="org.neogia.facility.stockevent.entities.StockEventPlanned" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="protected" type="org.neogia.facility.location.entities.StockItem" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.stockevent.entities.StockEvent" reverseAttribute="packaging" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="false" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.picking.entities.TransfertUnitModel" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" associationClass="org.neogia.manufacturing.jobshopmgt.entities.RunComponent" type="org.neogia.manufacturing.jobshopmgt.entities.WRun" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="ProdReqMethod" extern="true" package="org.neogia.product.product.entities">
    <stereotype name="entity"/>
    <tagValue name="shortName" value="PROD_REQ_METHOD"/>
    <attribute name="NONE" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String"/>
    <attribute name="AUTO" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String"/>
    <attribute name="STOCK" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String"/>
    <attribute name="MRP" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String"/>
    <attribute visibility="public" type="org.neogia.facility.location.entities.ProductFacility" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="WRun" extern="true" package="org.neogia.manufacturing.jobshopmgt.entities">
    <stereotype name="entity"/>
    <attribute visibility="protected" type="org.neogia.facility.stockevent.entities.RunStockEvent" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="false" ordering="unordered"/>
    <attribute visibility="protected" type="org.neogia.facility.stockevent.entities.RunStockEventPlanned" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="false" ordering="unordered"/>
    <attribute visibility="public" associationClass="org.neogia.manufacturing.jobshopmgt.entities.RunComponent" type="org.neogia.product.product.entities.Product" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.location.entities.Facility" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="MpsPlanningPeriod" extern="true" package="org.neogia.manufacturing.jobshopmgt.entities">
    <stereotype name="entity"/>
  </class>
  <associationClass name="RunComponent" extern="true" package="org.neogia.manufacturing.jobshopmgt.entities">
    <stereotype name="entity"/>
    <participant name="org.neogia.manufacturing.jobshopmgt.entities.WRun" attribute=""/>
    <participant name="org.neogia.product.product.entities.Product" attribute=""/>
    <attribute visibility="public" type="org.neogia.facility.stockevent.entities.RunCompoStockEvent" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="false" ordering="unordered"/>
    <attribute visibility="protected" type="org.neogia.facility.stockevent.entities.RunCompoStkEvPlan" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="false" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.location.entities.Facility" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </associationClass>
  <class name="ProposedOrder" extern="true" package="org.neogia.manufacturing.planning.entities">
    <stereotype name="entity"/>
    <comment>reorder proposal created
by automatic process,
MRP, Stock-reorder, ...</comment>
    <attribute visibility="protected" type="org.neogia.product.product.entities.Product" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute name="originStockEvPl" visibility="protected" type="org.neogia.facility.stockevent.entities.StockEventPlanned" reverseAttribute="generatePropOrders" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="MpsPPlanPeriod" extern="true" package="org.neogia.manufacturing.mps.entities">
    <stereotype name="entity"/>
    <attribute visibility="public" type="org.neogia.facility.stockevent.entities.MpsStockEventPlan" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="RoleType" extern="true" package="org.neogia.party.party.entities">
    <stereotype name="entity"/>
  </class>
  <class name="Party" extern="true" package="org.neogia.party.party.entities">
    <stereotype name="entity"/>
    <comment>Party who has realized the event</comment>
    <attribute visibility="public" type="org.neogia.facility.location.entities.Facility" reverseAttribute="owner" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.inventory.entities.Inventory" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.stockevent.entities.StockEvent" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="false" ordering="unordered"/>
  </class>
  <class name="PartyRole" extern="true" package="org.neogia.party.party.entities">
    <stereotype name="entity"/>
    <attribute visibility="public" associationClass="org.neogia.facility.location.entities.FacilityParty" type="org.neogia.facility.location.entities.Facility" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" associationClass="org.neogia.facility.inventory.entities.InventoryRole" type="org.neogia.facility.inventory.entities.Inventory" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="ContactMech" extern="true" package="org.neogia.party.contact.entities">
    <stereotype name="entity"/>
    <attribute visibility="protected" associationClass="org.neogia.facility.location.entities.FacilityContactMech" type="org.neogia.facility.location.entities.Facility" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="ContactMechPurposeType" extern="true" package="org.neogia.party.contact.entities">
    <stereotype name="entity"/>
    <attribute visibility="protected" associationClass="org.neogia.facility.location.entities.FacilityContactMechPurpose" type="org.neogia.facility.location.entities.FacilityContactMech" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="StatusItem" extern="true" package="org.neogia.common.status.entities">
    <stereotype name="entity"/>
    <tagValue name="gui" value="drop-down, dd-descriptionOnly"/>
    <tagValue name="orderby" value="sequenceId"/>
    <attribute name="statusId" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="primaryKey" value="true"/>
      <tagValue name="gui" value="idName"/>
      <tagValue name="ofbizEntityType" value="id-ne"/>
    </attribute>
    <attribute name="description" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="gui" value="description"/>
    </attribute>
  </class>
  <class name="Enumeration" extern="true" package="org.neogia.common.enumeration.entities">
    <stereotype name="entity"/>
    <tagValue name="gui" value="drop-down, dd-descriptionOnly"/>
    <tagValue name="orderBy" value="sequenceId"/>
    <attribute visibility="public" type="org.neogia.facility.location.entities.FacilityType" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="Geo" extern="true" package="org.neogia.common.geo.entities">
    <stereotype name="entity"/>
    <attribute visibility="public" type="org.neogia.facility.location.entities.Facility" reverseAttribute="location" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="Uom" extern="true" package="org.neogia.common.uom.entities">
    <stereotype name="entity"/>
    <attribute visibility="public" type="org.neogia.facility.location.entities.StockItem" reverseAttribute="qty" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="false" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.location.entities.Facility" reverseAttribute="size" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.stockevent.entities.StockEvent" reverseAttribute="qty" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="false" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.stockevent.entities.StockEventPlanned" reverseAttribute="qty" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="false" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.inventory.entities.NInventoryItem" reverseAttribute="qty" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="OrderHeader" extern="true" package="org.neogia.order.order.entities">
    <stereotype name="entity"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderItem" reverseAttribute="" associationType="composite" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute name="originFacilityId" visibility="protected" type="org.neogia.facility.location.entities.Facility" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="ofbizAttributeName" value="originFacilityId"/>
    </attribute>
  </class>
  <class name="OrderItem" extern="true" package="org.neogia.order.order.entities">
    <stereotype name="entity"/>
    <attribute visibility="public" type="org.neogia.facility.location.entities.ShipmentStockItem" reverseAttribute="" associationType="aggregate" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderHeader" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" associationClass="org.neogia.order.order.entities.OrderShipment" type="org.neogia.shipment.shipment.entities.ShipmentItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered">
      <tagValue name="ofbizEntityType" value="id-ne"/>
    </attribute>
    <attribute visibility="public" associationClass="org.neogia.order.order.entities.OrderItemShipGroupAssoc" type="org.neogia.order.order.entities.OrderItemShipGroup" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="OrderItemShipGroup" extern="true" package="org.neogia.order.order.entities">
    <stereotype name="entity"/>
    <tagValue name="shortName" value="OSG"/>
    <attribute visibility="public" associationClass="org.neogia.order.order.entities.OrderItemShipGroupAssoc" type="org.neogia.order.order.entities.OrderItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <associationClass name="OrderShipment" extern="true" package="org.neogia.order.order.entities">
    <stereotype name="entity"/>
    <participant name="org.neogia.order.order.entities.OrderItem" attribute=""/>
    <participant name="org.neogia.shipment.shipment.entities.ShipmentItem" attribute=""/>
  </associationClass>
  <associationClass name="OrderItemShipGroupAssoc" extern="true" package="org.neogia.order.order.entities">
    <stereotype name="entity"/>
    <participant name="org.neogia.order.order.entities.OrderItemShipGroup" attribute=""/>
    <participant name="org.neogia.order.order.entities.OrderItem" attribute=""/>
    <attribute visibility="public" type="org.neogia.facility.stockevent.entities.OrderStockEvent" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.stockevent.entities.OrderStockEventPlanned" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </associationClass>
  <class name="QuoteItem" extern="true" package="org.neogia.order.quote.entities">
    <stereotype name="entity"/>
    <attribute visibility="public" type="org.neogia.facility.stockevent.entities.QuoteStockEventPlanned" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="ReturnHeader" extern="true" package="org.neogia.order.orderReturn.entities">
    <stereotype name="entity"/>
    <attribute visibility="public" type="org.neogia.facility.location.entities.Facility" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="ReturnItem" extern="true" package="org.neogia.order.orderReturn.entities">
    <stereotype name="entity"/>
    <attribute visibility="public" type="org.neogia.facility.stockevent.entities.ReturnStockEventPlanned" reverseAttribute="" associationType="aggregate" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.stockevent.entities.ReturnStockEvent" reverseAttribute="" associationType="aggregate" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="Requirement" extern="true" package="org.neogia.order.requirement.entities">
    <stereotype name="entity"/>
    <attribute visibility="public" type="org.neogia.facility.stockevent.entities.RequirementStockEventPlan" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.location.entities.Facility" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="ShipmentItem" extern="true" package="org.neogia.shipment.shipment.entities">
    <stereotype name="entity"/>
    <attribute visibility="public" type="org.neogia.facility.location.entities.ShipmentStockItem" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" associationClass="org.neogia.order.order.entities.OrderShipment" type="org.neogia.order.order.entities.OrderItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.stockevent.entities.ShipmentStockEvent" reverseAttribute="" associationType="aggregate" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.stockevent.entities.OrderStockEventPlanned" reverseAttribute="" associationType="aggregate" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.stockevent.entities.OrderStockEvent" reverseAttribute="" associationType="aggregate" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.stockevent.entities.RunStockEventPlanned" reverseAttribute="" associationType="aggregate" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.stockevent.entities.RunStockEvent" reverseAttribute="" associationType="aggregate" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.stockevent.entities.ReturnStockEventPlanned" reverseAttribute="" associationType="aggregate" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.stockevent.entities.ReturnStockEvent" reverseAttribute="" associationType="aggregate" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.shipment.shipment.entities.Shipment" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="Shipment" extern="true" package="org.neogia.shipment.shipment.entities">
    <stereotype name="entity"/>
    <attribute visibility="public" type="org.neogia.shipment.shipment.entities.ShipmentItem" reverseAttribute="" associationType="composite" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute name="originFacility" visibility="protected" type="org.neogia.facility.location.entities.Facility" reverseAttribute="shipmentOrigin" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute name="destinationFacility" visibility="protected" type="org.neogia.facility.location.entities.Facility" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="RejectionReason" extern="true" package="org.neogia.shipment.receipt.entities">
    <stereotype name="entity"/>
    <attribute visibility="public" type="org.neogia.facility.stockevent.entities.OrderStockEvent" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.stockevent.entities.RunStockEvent" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="IntegTransactionItem" extern="true" package="org.neogia.accounting.accintegration.entities">
    <stereotype name="entity"/>
    <attribute visibility="public" type="org.neogia.facility.stockevent.entities.StockEvent" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="ChargeBack" extern="true" package="org.neogia.servicemgnt.receipt.entities">
    <stereotype name="entity"/>
    <attribute visibility="public" type="org.neogia.facility.stockevent.entities.ExternalStockEventPlanned" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.stockevent.entities.ExternalStockEvent" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
</objectModel>
