- All Implemented Interfaces:
OnixComposite
,OnixComposite.OnixSuperComposite
,OnixTag
,Serializable
Stock quantity composite
A repeatable group of data elements which together specify a quantity of stock and, where a supplier has more than one warehouse, a supplier location. Optional.
Reference name | <Stock> |
Short tag | <stock> |
Product
⯈SupplyDetail
⯈Stock
- Since:
- Onix-2.1
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.tectonica.jonix.common.OnixComposite
OnixComposite.OnixDataComposite<V extends JonixStruct>, OnixComposite.OnixDataCompositeUncommon, OnixComposite.OnixDataCompositeWithKey<V extends JonixKeyedStruct<K>,
K extends Enum<K> & OnixCodelist>, OnixComposite.OnixSuperComposite -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
This is an internal API.cbo()
The quantity of stock on order which is already committed to meet backorders.boolean
exists()
indicates whether this tag exists in the ONIX recordFor advanced use-cases only.void
A group of data elements which together define the identifier of a stock location in accordance with a specified scheme, and allowing different types of location identifier to be supported without defining additional data elements.The name of a stock location.onHand()
The quantity of stock on hand.onOrder()
The quantity of stock on order.A repeatable group of data elements which together specify details of a stock shipment currently awaited, normally from overseas.A group of data elements which together specify coded stock level without stating the exact quantity of stock.
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
textformat
-
textcase
-
language
-
transliteration
-
datestamp
(type: DateOrDateTime) -
sourcetype
-
sourcename
-
EMPTY
-
-
Constructor Details
-
Stock
public Stock() -
Stock
-
-
Method Details
-
_initialize
public void _initialize()Description copied from interface:OnixComposite
This is an internal API. Since Jonix 8.0, composite objects are being populated lazily. This method initiates the population process, and is invoked internally by the accessor APIs of the composites- Specified by:
_initialize
in interfaceOnixComposite
-
exists
public boolean exists()Description copied from interface:OnixTag
indicates whether this tag exists in the ONIX record -
ifExists
-
getXmlElement
Description copied from interface:OnixComposite
For advanced use-cases only.- Specified by:
getXmlElement
in interfaceOnixComposite
- Returns:
- native representation of the XML element underlying to this tag
-
stockQuantityCoded
A group of data elements which together specify coded stock level without stating the exact quantity of stock. Either <StockQuantityCoded> or <OnHand> is mandatory in each occurrence of the <Stock> composite, even if the onhand quantity is zero. Non-repeating.
Jonix-Comment: this field is required -
locationIdentifier
A group of data elements which together define the identifier of a stock location in accordance with a specified scheme, and allowing different types of location identifier to be supported without defining additional data elements. Optional and non-repeating.
Jonix-Comment: this field is optional -
locationName
The name of a stock location. Optional and non-repeating.
Jonix-Comment: this field is optional -
onHand
The quantity of stock on hand. Either <StockQuantityCoded> or <OnHand> is mandatory in each occurrence of the <Stock> composite, even if the onhand quantity is zero. Non-repeating.
Jonix-Comment: this field is optional -
onOrder
The quantity of stock on order. Optional and non-repeating.
Jonix-Comment: this field is optional -
cbo
The quantity of stock on order which is already committed to meet backorders. Optional and non-repeating.
Jonix-Comment: this field is optional -
onOrderDetails
A repeatable group of data elements which together specify details of a stock shipment currently awaited, normally from overseas. Optional.
Jonix-Comment: this list may be empty
-