/
(v1) Generate Service ID Range Event
(v1) Generate Service ID Range Event
The Generate Service ID Range Event can be triggered using Custom Logic. The following parameters are Required to execute the Event.
Generate Service ID Range
/** * Event: Service ID range generation requested * Listener Class: Application_Model_Service_Service * Listener Method: generateRangeOfServices */ PCR_Event::attachDb( 'service-id-generation', ['Application_Model_Service_Service' => 'generateRangeOfServices'] ); PCR_Event::trigger( 'service-id-generation', [ "serv_cat_type" => "2", //RecID of selected Service Catalog "RECID" => "addNew", "serviceNumberStart" => "1000000001", //Start of range entered "serviceNumberFinish" => "1000000010", //End of range entered "udf" => [ "1" => [ "VALUE" => null, "DATATYPE" => "INTEGER" ], "51" => [ "VALUE => null, "DATATYPE" => "INTEGER" ], "148" => [ "VALUE" => null, "DATATYPE" => "VARCHAR" ], "164" => [ "VALUE" => null, "DATATYPE" => "INTEGER" ], "208" => [ "VALUE" => null, "DATATYPE" => "VARCHAR" ], "209" => [ "VALUE" => null, "DATATYPE" => "INTEGER" ], "210" => [ "VALUE" => null, "DATATYPE" => "INTEGER", "udf-210-VALUE_display" => null ], "211" => [ "VALUE" => null, "DATATYPE" => "INTEGER" ], "212" => [ "VALUE" => null, "DATATYPE" => "CLOB" ], "225" => [ "VALUE" => null, "DATATYPE" => "VARCHAR" ], "226" => [ "VALUE" => null, "DATATYPE" => "VARCHAR" ], "255" => [ "VALUE" => null, "DATATYPE" => "VARCHAR" ] ], "serv_cat_type_display" => "1FB Business Line", //Service Catalog "pools" => [], "save-new" => "true", "serviceTypeName" => "PHONE", "generateNum" => 10, "contact" => "216121", //RecID of Contact that initiated the Service ID generation "comment" => "This is a comment", "eventBroadcastBy" => "216121", "eventBroadcastTime" => "Oct 4, 2022, 10:32 am", "eventBroadcastDayofWeek" => "2", "eventBroadcastHourMin" => "1032", ] );
, multiple selections available,
Related content
(2024.1) Generate Service ID Range Event
(2024.1) Generate Service ID Range Event
More like this
(v1) .Generate Service ID Range Event v2022.2
(v1) .Generate Service ID Range Event v2022.2
More like this
(v1) .Generate Service ID Range Event v2022.1
(v1) .Generate Service ID Range Event v2022.1
More like this
(v1) Service Alias Range Generation Event
(v1) Service Alias Range Generation Event
More like this
(v1) .Service Alias Range Generation Event v2022.2
(v1) .Service Alias Range Generation Event v2022.2
More like this
(2024.1) Service Alias Range Generation Event
(2024.1) Service Alias Range Generation Event
More like this
Help Desk Portal - Email: help@pcr.com - Phone: 616.259.9242