Document toolboxDocument toolbox

(v1) .Bill Delete Event v2022.2

The Bill Delete Event can be triggered using Custom Logic. The following parameters are Required to execute the Event.

BIll Delete
/**
* Event: Delete Bill
* Listener Class: Application_Model_Bill_Bill
* Listener Method: eventDeleteBill
*/

PCR_Event::attachDb(
    "delete-bill",
    ["Application_Model_Bill_Bill" => "eventDeleteBill"]
);
PCR_Event::trigger(
    "delete-bill",  	
	[
		"contact" => "216121",	//RecID of Contact that initiated the Bill Deletion
		"BILLS_RECID" => "445", //RecID of Bill being run

		"eventBroadcastBy" => "216121",
		"eventBroadcastTime" => "Sep 30, 2022, 10:20 am",
		"eventBroadcastDayofWeek" => "5",
		"eventBroadcastHourMin" => "1020",
	] 
);

Help Desk Portal - Email: help@pcr.com - Phone: 616.259.9242