The Bill Approve Event can be triggered using Custom Logic. The following parameters are Required to execute the Event.{
Code Block |
---|
language | php |
---|
title | Bill Approve |
---|
linenumbers | true |
---|
|
/**
* Event: Approve Bill
* Listener Class: Application_Model_Bill_Bill
* Listener Method: eventApprove
*/
PCR_Event::attachDb(
"approve-bill",
["Application_Model_Bill_Bill" => "eventApprove"]
);
PCR_Event::trigger(
"approve-bill",
[
"BILLS_RECID" |
...
=> "443", //RecID of Bill being approved |
...
...
...
...
...
...
=> "Sep 30, 2022, 10:26 am", |
...
"eventBroadcastDayofWeek" |
...
...
...
...