Share via


RetailTransactionServiceOrders::FindOrCreateInventDim Method [AX 2012]

Finds (or Creates) the InventDim record for the given item details

Syntax

client server private static InventDim FindOrCreateInventDim(
    ItemId _itemId, 
    InventBatchId _batchId, 
    InventSerialId _serialId, 
    RetailVariantId _variantId, 
    XmlElement _xmlRecord, 
    InventLocationId _inventLocation)

Run On

Called

Parameters

  • _xmlRecord
    Type: XmlElement Class
    XML record containing additional dimension details

Return Value

Type: InventDim Table
InventDim record

Remarks

Finds an InventDim record if it exists, or creates a new one, using the given item and location details.

See Also

Reference

RetailTransactionServiceOrders Class