Calling convention: processPIMSDataGenNewEventAtStart(ObjectName, Debug: Integer, DeletePims: Integer)
Description: Processes staged continuous-process PIMS events like processPIMSData, but forces creation of a new target event at the beginning of the processed sequence.
Parameters:
ObjectName: target object name.
Debug: 1 writes progress messages; 0 disables them. NULL defaults to 0.
DeletePims: 1 deletes processed tempEventData rows; 0 keeps them. NULL defaults to 1.
Returns: NULL. The function inserts, updates and recalculates target records but does not return a success value.
Availability: Default; PEKA/continuous-process specific and dependent on setupCockpit, tempEventData, fixed setup entries and select lists.
Example:
processPIMSDataGenNewEventAtStart("ProductionEvents", 0, 1);