Class InventoryEventModel

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AllocationEventModel, CancellationEventModel, IncreaseEventModel, ReservationEventModel, ShrinkageEventModel, WastageEventModel

public class InventoryEventModel extends ItemModel
Generated model class for type InventoryEvent first defined at extension warehousing.

Holds events that affect OMS Inventory and therefore ATP (Available To Promise).

See Also:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • _STOCKLEVEL2INVENTORYEVENTRELATION

      public static final String _STOCKLEVEL2INVENTORYEVENTRELATION
      Generated relation code constant for relation StockLevel2InventoryEventRelation defining source attribute stockLevel in extension warehousing.
      See Also:
    • _CONSIGNMENTENTRY2INVENTORYEVENTRELATION

      public static final String _CONSIGNMENTENTRY2INVENTORYEVENTRELATION
      Generated relation code constant for relation ConsignmentEntry2InventoryEventRelation defining source attribute consignmentEntry in extension warehousing.
      See Also:
    • _ORDERENTRY2INVENTORYEVENTRELATION

      public static final String _ORDERENTRY2INVENTORYEVENTRELATION
      Generated relation code constant for relation OrderEntry2InventoryEventRelation defining source attribute orderEntry in extension warehousing.
      See Also:
    • QUANTITY

      public static final String QUANTITY
      Generated constant - Attribute key of InventoryEvent.quantity attribute defined at extension warehousing.
      See Also:
    • EVENTDATE

      public static final String EVENTDATE
      Generated constant - Attribute key of InventoryEvent.eventDate attribute defined at extension warehousing.
      See Also:
    • STOCKLEVEL

      public static final String STOCKLEVEL
      Generated constant - Attribute key of InventoryEvent.stockLevel attribute defined at extension warehousing.
      See Also:
    • CONSIGNMENTENTRY

      public static final String CONSIGNMENTENTRY
      Generated constant - Attribute key of InventoryEvent.consignmentEntry attribute defined at extension warehousing.
      See Also:
    • ORDERENTRY

      public static final String ORDERENTRY
      Generated constant - Attribute key of InventoryEvent.orderEntry attribute defined at extension warehousing.
      See Also:
  • Constructor Details

    • InventoryEventModel

      public InventoryEventModel()
      Generated constructor - Default constructor for generic creation.
    • InventoryEventModel

      public InventoryEventModel(ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      Parameters:
      ctx - the model context to be injected, must not be null
    • InventoryEventModel

      @Deprecated(since="4.1.1", forRemoval=true) public InventoryEventModel(StockLevelModel _stockLevel)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _stockLevel - initial attribute declared by type InventoryEvent at extension warehousing
    • InventoryEventModel

      @Deprecated(since="4.1.1", forRemoval=true) public InventoryEventModel(ItemModel _owner, StockLevelModel _stockLevel)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _owner - initial attribute declared by type Item at extension core
      _stockLevel - initial attribute declared by type InventoryEvent at extension warehousing
  • Method Details

    • getConsignmentEntry

      @Accessor(qualifier="consignmentEntry", type=GETTER) public ConsignmentEntryModel getConsignmentEntry()
      Generated method - Getter of the InventoryEvent.consignmentEntry attribute defined at extension warehousing.
      Returns:
      the consignmentEntry
    • getEventDate

      @Accessor(qualifier="eventDate", type=GETTER) public Date getEventDate()
      Generated method - Getter of the InventoryEvent.eventDate attribute defined at extension warehousing.
      Returns:
      the eventDate
    • getOrderEntry

      @Accessor(qualifier="orderEntry", type=GETTER) public OrderEntryModel getOrderEntry()
      Generated method - Getter of the InventoryEvent.orderEntry attribute defined at extension warehousing.
      Returns:
      the orderEntry
    • getQuantity

      @Accessor(qualifier="quantity", type=GETTER) public long getQuantity()
      Generated method - Getter of the InventoryEvent.quantity attribute defined at extension warehousing.
      Returns:
      the quantity
    • getStockLevel

      @Accessor(qualifier="stockLevel", type=GETTER) public StockLevelModel getStockLevel()
      Generated method - Getter of the InventoryEvent.stockLevel attribute defined at extension warehousing.
      Returns:
      the stockLevel
    • setConsignmentEntry

      @Accessor(qualifier="consignmentEntry", type=SETTER) public void setConsignmentEntry(ConsignmentEntryModel value)
      Generated method - Setter of InventoryEvent.consignmentEntry attribute defined at extension warehousing.
      Parameters:
      value - the consignmentEntry
    • setEventDate

      @Accessor(qualifier="eventDate", type=SETTER) public void setEventDate(Date value)
      Generated method - Setter of InventoryEvent.eventDate attribute defined at extension warehousing.
      Parameters:
      value - the eventDate
    • setOrderEntry

      @Accessor(qualifier="orderEntry", type=SETTER) public void setOrderEntry(OrderEntryModel value)
      Generated method - Setter of InventoryEvent.orderEntry attribute defined at extension warehousing.
      Parameters:
      value - the orderEntry
    • setQuantity

      @Accessor(qualifier="quantity", type=SETTER) public void setQuantity(long value)
      Generated method - Setter of InventoryEvent.quantity attribute defined at extension warehousing.
      Parameters:
      value - the quantity
    • setStockLevel

      @Accessor(qualifier="stockLevel", type=SETTER) public void setStockLevel(StockLevelModel value)
      Generated method - Setter of InventoryEvent.stockLevel attribute defined at extension warehousing.
      Parameters:
      value - the stockLevel