Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

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

Bill Approve
/**
* 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
    "INVOICE_DATE":"09\/30\/2022",

    "eventBroadcastBy":"216121",
    "eventBroadcastTime":"Sep 30, 2022, 10:26 am",
    "eventBroadcastDayofWeek":"5",
    "eventBroadcastHourMin":"1026",

]
);
  • No labels