CustVoucher.setTransRef Method [AX 2012]
Sets the type and ID for the corresponding record in the CustTransIdRef table.
Syntax
public void setTransRef(CustTransRefType _transRefType, Num _transRefId)
Run On
Server
Parameters
- _transRefType
Type: CustTransRefType Enumeration
The type of the transaction reference.
- _transRefId
Type: Num Extended Data Type
The ID of the transaction reference.
Remarks
The transaction reference holds the ID value most well-known to the user for a record in the CustTrans table. It is created during posting.