Skip to main content

MGCLatticeInventOwnershipJournalLineContract

Data contract for one line of an ownership change journal request: an item, the quantity, the vendor that owns it now, and where the stock is.

Methods​

construct​

Creates a new instance of the MGCLatticeInventOwnershipJournalLineContract class.

  • Visibility: public
  • Returns: MGCLatticeInventOwnershipJournalLineContract A new MGCLatticeInventOwnershipJournalLineContract instance.

No parameters.

parmItemId​

Gets or sets the item; it must track the Owner inventory dimension.

  • Visibility: public
  • Returns: ItemId The ItemId value.
NameTypeOptionalDescription
_itemIdItemIdYesThe ItemId value.

parmItemIdExternalKey​

Gets or sets the external system's key of the released product, in place of ItemId. Uses the request's ExternalSystem.

  • Visibility: public
  • Returns: MGCLatticeExternalKey The ItemIdExternalKey value.
NameTypeOptionalDescription
_itemIdExternalKeyMGCLatticeExternalKeyYesThe ItemIdExternalKey value.

parmQty​

Gets or sets the quantity whose ownership changes, in the item's inventory unit; it must be greater than zero.

  • Visibility: public
  • Returns: Qty The Qty value.
NameTypeOptionalDescription
_qtyQtyYesThe Qty value.

parmVendAccount​

Gets or sets the vendor that owns the stock now; its inventory owner becomes the line's owner dimension. Optional when InventDimId already carries the vendor's owner.

  • Visibility: public
  • Returns: VendAccount The VendAccount value.
NameTypeOptionalDescription
_vendAccountVendAccountYesThe VendAccount value.

parmVendAccountExternalKey​

Gets or sets the external system's key of the vendor, in place of VendAccount. Uses the request's ExternalSystem.

  • Visibility: public
  • Returns: MGCLatticeExternalKey The VendAccountExternalKey value.
NameTypeOptionalDescription
_vendAccountExternalKeyMGCLatticeExternalKeyYesThe VendAccountExternalKey value.

parmInventDimId​

Gets or sets the inventory dimensions of the vendor-owned stock. Optional; SiteId, WarehouseId and the vendor's owner are applied on top of it.

  • Visibility: public
  • Returns: InventDimId The InventDimId value.
NameTypeOptionalDescription
_inventDimIdInventDimIdYesThe InventDimId value.

parmSiteId​

Gets or sets the site of the vendor-owned stock. Optional; a warehouse without a site uses the warehouse's site.

  • Visibility: public
  • Returns: InventSiteId The SiteId value.
NameTypeOptionalDescription
_siteIdInventSiteIdYesThe SiteId value.

parmWarehouseId​

Gets or sets the warehouse of the vendor-owned stock. Optional.

  • Visibility: public
  • Returns: InventLocationId The WarehouseId value.
NameTypeOptionalDescription
_warehouseIdInventLocationIdYesThe WarehouseId value.