ProductGenerator: OnProductCreate

Invoked when the product is created (may be in a product schedule queue).

Note: This event does not support multiple subscription. Previous subscription will be lost if subscribe twice.

Note: This event is subscribed to via the ‘SubscribeAll’ global function. As product components are transient using the ‘Subscribe’ method will result in an error.

Event

void xxxxxxxxxxxxxxxxx (product: Product, generator: ProductGenerator);

Parameters

Name Type Description
product Product The product object created
generator ProductGenerator The Product Generator that created the product