Module jonix.onix3

Class OnHand

java.lang.Object
com.tectonica.jonix.onix3.OnHand
All Implemented Interfaces:
OnixElement<Integer>, OnixTag, Serializable

public class OnHand extends Object implements OnixElement<Integer>, Serializable

Quantity on hand

The quantity of stock on hand and available to fulfill new orders. Either <StockQuantityCoded> or <OnHand> is mandatory in each occurrence of the <Stock> composite, even if the quantity on hand is zero. Non-repeating.

Format Positive or negative integer or zero, suggested maximum length 7 digits. Negative numbers indicate order commitments in excess of the copies on hand for which no further stock has been ordered
Reference name <OnHand>
Short tag <j350>
Cardinality 0…1
Example <OnHand>4259</OnHand>

This tag may be included in the following composites:

Possible placements within ONIX message:

See Also:
  • Field Details

    • refname

      public static final String refname
      See Also:
    • shortname

      public static final String shortname
      See Also:
    • datestamp

      public String datestamp
      (type: dt.DateOrDateTime)
    • sourcename

      public String sourcename
      (type: dt.NonEmptyString)
    • sourcetype

      public RecordSourceTypes sourcetype
    • value

      public Integer value
      This is the raw content of OnHand. Could be null if exists() == false. Use OnixElement.value() instead if you want to get this as an Optional.

      Raw Format: Positive or negative integer or zero, suggested maximum length 7 digits. Negative numbers indicate order commitments in excess of the copies on hand for which no further stock has been ordered

      (type: dt.Integer)

    • EMPTY

      public static final OnHand EMPTY
  • Constructor Details

    • OnHand

      public OnHand()
    • OnHand

      public OnHand(Element element)
  • Method Details