Skip to content

Commit

Permalink
Merge pull request #26 from jenshp/inventory
Browse files Browse the repository at this point in the history
Inventory
  • Loading branch information
jonesde authored Nov 5, 2016
2 parents 214d090 + d9d4766 commit a8feb7d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions entity/ProductAssetEntities.xml
Original file line number Diff line number Diff line change
Expand Up @@ -465,9 +465,18 @@ along with this software (see the LICENSE.md file). If not, see
<entity entity-name="PhysicalInventory" package="mantle.product.asset" cache="never">
<field name="physicalInventoryId" type="id" is-pk="true"/>
<field name="physicalInventoryDate" type="date-time"/>
<field name="statusId" type="id" default="PIPlanning" enable-audit-log="true"/>
<field name="partyId" type="id"/>
<field name="comments" type="text-long"/>
<relationship type="one" related="mantle.party.Party" short-alias="party"/>
<relationship type="one" title="PhysicalInventory" related="moqui.basic.StatusItem" short-alias="status" fk-name="physicalInventoryStatusId"/>
<seed-data>
<moqui.basic.StatusType description="Physical Inventory Status" statusTypeId="PhysicalInventory"/>
<moqui.basic.StatusItem description="In Planning" sequenceNum="1" statusId="PIInPlanning" statusTypeId="PhysicalInventory"/>
<moqui.basic.StatusItem description="In Progress" sequenceNum="2" statusId="PIInProgress" statusTypeId="PhysicalInventory"/>
<moqui.basic.StatusItem description="In Validation" sequenceNum="3" statusId="PIInValidation" statusTypeId="PhysicalInventory"/>
<moqui.basic.StatusItem description="Complete" sequenceNum="4" statusId="PIComplete" statusTypeId="PhysicalInventory"/>
</seed-data>
</entity>
<entity entity-name="PhysicalInventoryCount" package="mantle.product.asset" cache="never">
<field name="physicalInventoryCountId" type="id" is-pk="true"/>
Expand All @@ -478,6 +487,7 @@ along with this software (see the LICENSE.md file). If not, see
<field name="countDate" type="date-time"/>
<field name="quantityOnHand" type="number-decimal"/>
<field name="comments" type="text-medium"/>
<relationship type="one" related="mantle.product.asset.PhysicalInventory" short-alias="physicalInventory"/>
<relationship type="one" related="mantle.facility.Facility" short-alias="facility"/>
<relationship type="one-nofk" related="mantle.facility.FacilityLocation" short-alias="facilityLocation"/>
<relationship type="one" related="mantle.product.Product" short-alias="product"/>
Expand Down

0 comments on commit a8feb7d

Please sign in to comment.