PriceDiscPolicyFindOrCreate.create Method [AX 2012]

Creates a record in the PriceDiscChangePolicy table and related records in the PriceDiscPolicyFields table.

protected RefRecId create(container _policyFields, int _searchKey)

Run On

Called

Parameters

_policyFields
Type: container
A container that contains the list of field IDs that represent the policy.
_searchKey
Type: int
A hash key that represents the policy fields.

Return Value

Type: RefRecId Extended Data Type
The record ID of the record in the PriceDiscChangePolicy table.

The hash key is used to fast lookup in the PriceDiscChangePolicy table.

Community Additions

ADD
Show: