ReleaseUpdateDB60_Retail.updateToRetailGroupMemberLine Method [AX 2012]

Takes a record which used to use RetailItemGroupDepartmentAllBase enum to relate to items or groups, uses the specified fields to read the type and relation, looks up the entity, creates the proper RetailGroupMemberLine, and returns the RecId of the new RetailGroupMemberLine record.

private RefRecId updateToRetailGroupMemberLine(
    RetailItemGroupDepartmentAllBase _type, 
    Common _recordToReadFrom, 
    FieldId _relationFieldId)

Run On

Server

Parameters

_type
Type: RetailItemGroupDepartmentAllBase Enumeration
RetailItemGroupDepartmentAllBase
_recordToReadFrom
Type: Common Table
Table buffer.
_relationFieldId
Type: FieldId Extended Data Type
Field ID.

Return Value

Type: RefRecId Extended Data Type
RecId of the new RetailGroupMemberLine record.

Community Additions

ADD
Show: