EngChgCaseProduct::product Method [AX 2012]

Computes the RecId of the Product in the associations.

In case it is Item type associations it takes the Product field of InventTable table otherwise it just take the RefRecId field of CaseAssociation.

server public static str product()

Run On

Server

Return Value

Type: str
The sql string to get RecId of the Product master of given association entity.

(Range is added on the CaseAssociation to make sure we have only Product and Item asssociations)

Show: