ProductProcess

The ProductProcess trigger is responsible for recalculating CPG Groups of CT Products.


API name: ProductProcess


Context Method Codename Description

after insert[au]

calculateGroupMembers()

gm

Verify that the created record of the CTCPG__Product__с object is matched the conditions of the existing CPG Group records.

If found, a CPG Group Member record is created for this particular record and the corresponding CPG Group.

after update[au]

calculateGroupMembers()

gm

Verify that the updated record of the CTCPG__Product__с object is matched the conditions of the existing CPG Group records.

If found, a CPG Group Member record is created for this particular record and the corresponding CPG Group.

after undelete [aud]

calculateGroupMembers()

gm

Verify that the restored record of the CTCPG__Product__с object is matched the conditions of the existing CPG Group records.

If found, a CPG Group Member record is created for this particular record and the corresponding CPG Group.

before delete[bd]

deleteteGroupMembers()

gm

Search and delete the CPG Group Members records of CTCPG__Product__с object that are being deleted.

``