java.lang.Object
com.tectonica.jonix.onix3.OnHand
- All Implemented Interfaces:
OnixElement<Integer>
,OnixTag
,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> |
- <
Stock
>
Product
⯈ProductSupply
⯈SupplyDetail
⯈Stock
⯈OnHand
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription__v()
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field insteadboolean
exists()
indicates whether this tag exists in the ONIX recordvoid
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.tectonica.jonix.common.OnixElement
equal, is, isNull, value
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
datestamp
(type: dt.DateOrDateTime) -
sourcename
(type: dt.NonEmptyString) -
sourcetype
-
value
This is the raw content of OnHand. Could be null ifexists() == false
. UseOnixElement.value()
instead if you want to get this as anOptional
.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
-
-
Constructor Details
-
OnHand
public OnHand() -
OnHand
-
-
Method Details
-
__v
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field instead- Specified by:
__v
in interfaceOnixElement<Integer>
-
exists
public boolean exists()Description copied from interface:OnixTag
indicates whether this tag exists in the ONIX record -
ifExists
-