Global::con2Buf Method [AX 2012]
Converts a container into a record.
Syntax
client server public static Common con2Buf(container _container, [Common _rec])
Run On
Called
Parameters
- _container
Type: container
Container to be converted
- _rec
Type: Common Table
Optional record to which the container is converted, if specified, the conversion is only carried out if the record is the same concrete type of that in the container.
Return Value
Type: Common Table
The record to which the container is converted. A new record will be created and returned if the optional record parameter is not specified or of a different concrete type from that in the container.
Remarks
The conversion is only performed if the record is the same concrete type of that in the container.
A new record will be created and returned if the optional record parameter is not specified or the optional record parameter is of a different concrete type from that in the container.