InventTrackingShippedSalesReportDataGen.findOrCreateHeader Method [AX 2012]

Finds or creates the header information for an InventTrackingTmpShippedSalesReportLine record.

Syntax

private InventTrackingTmpShippedSalesReportLine findOrCreateHeader(
    ProdId _prodId, 
    InventTrackingProductType _type, 
    InventTable _inventTable, 
    InventDim _inventDim)

Run On

Server

Parameters

  • _inventTable
    Type: InventTable Table
    Inventory record associated with the Traced or Parent item.
  • _inventDim
    Type: InventDim Table
    Inventory dimension associated with the Traced or Parent item.

Return Value

Type: InventTrackingTmpShippedSalesReportLine Table
An InventTrackingTmpShippedSalesReportLine record with the header portion of the record populated.

Remarks

The parameters _type, _inventTable, and _inventDim are only necessary if the header must be created; otherwise, the parameters are ignored.

As headers are subsequentially created, they are stored in a map where the production number serves as the key to that map.

See Also

Reference

InventTrackingShippedSalesReportDataGen Class