Share:
Developers » Scripting Code Samples » Assign Null Value to Commissions Fields

PREVIOUS  |  NEXT

Assign Null Value to Commissions Fields


Workflow enables you to assign a null value to generic and extended Commissions fields using the setNullField() method. This method is available to all objects that support generic and extended fields. 

The following example sets the fields to null in the Participant object: 

participant.setNullField("genericAttribute3");
participant.setNullField("genericBoolean3");
participant.setNullField("genericNumber3");
participant.setNullField("genericDate3");
participant.setNullField("extendedGenericAttribute3");
participant.setNullField("extendedGenericBoolean3");
participant.setNullField("extendedGenericNumber3");
participant.setNullField("extendedGenericDate3");