Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Code Block
languagephp
titleBIll Delete
linenumberstrue
collapsetrue
/**
* 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",
}
	] 
);