Created
January 11, 2019 14:13
-
-
Save daniel0397/e2a31c9e6fe7bf024cb78f217127299a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Model->getAuditMessage(){ | |
EBSLoanPK | |
CasePK | |
ProductSubTypePK | |
LoanReference | |
PaymentReference | |
NextStageDue | |
AdvisorPK | |
StagePK | |
MortgageSourcePK | |
LoanAmount | |
GrossLoanAmount | |
DrawnDownAmount | |
EarliestDrawdownDate | |
PurposeOfLoanPK | |
LoanUse | |
DateAbandon | |
AbandonText | |
} | |
$arrAuditMessage = Model->getAuditMessage(); | |
\Helper\Alfi\Product:create | |
{ | |
"class": "JLGAudit\\Message\\Common_Message_Audit", | |
"TimeStamp": 1544606276, | |
"EmailAddress": "c3e82@example.com", | |
"Application": "AlfiCRM", | |
"ActionPerformed": "Product", | |
"SubActionPerformed": "Create", | |
"DataChanged": "{ | |
"DataAfterCreating": "{ | |
"EBSLoanPK" : $arrAuditMessage["EBSLoanPK"], | |
"CasePK" : $arrAuditMessage["CasePK"], | |
"ProductSubTypePK" : $arrAuditMessage["ProductSubTypePK"], | |
"LoanReference" : $arrAuditMessage["LoanReference"], | |
"PaymentReference" : $arrAuditMessage["PaymentReference"], | |
"NextStageDue" : $arrAuditMessage["NextStageDue"], | |
"AdvisorPK" : $arrAuditMessage["AdvisorPK"], | |
"StagePK" : $arrAuditMessage["StagePK"], | |
"MortgageSourcePK" : $arrAuditMessage["MortgageSourcePK"], | |
"LoanAmount" : $arrAuditMessage["LoanAmount"] | |
}" | |
}", | |
"Message": "Product {ProductRef} created and added to Case {CaseReference}" | |
} | |
\crm_CaseController::productAction_DELETE | |
{ | |
"class": "JLGAudit\\Message\\Common_Message_Audit", | |
"TimeStamp": 1544606276, | |
"EmailAddress": "c3e82@example.com", | |
"Application": "AlfiCRM", | |
"ActionPerformed": "Product", | |
"SubActionPerformed": "Delete", | |
"DataChanged": "{ | |
"DataBeforeDeleting" : Model->getAuditMessage | |
}", | |
"Message": "Product {ProductRef} deleted form case {CaseReference}" | |
} | |
\crm_CaseController::productAction_DELETE | |
{ | |
"class": "JLGAudit\\Message\\Common_Message_Audit", | |
"TimeStamp": 1544606276, | |
"EmailAddress": "c3e82@example.com", | |
"Application": "AlfiCRM", | |
"ActionPerformed": "Product", | |
"SubActionPerformed": "Delete", | |
"DataChanged": "{ | |
"DataBeforeDeleting" : Model->getAuditMessage | |
}", | |
"Message": "Product {ProductRef} deleted form case {CaseReference}" | |
} | |
\crm_CaseController::productAction_PUT | |
{ | |
"class": "JLGAudit\\Message\\Common_Message_Audit", | |
"TimeStamp": 1544606276, | |
"EmailAddress": "c3e82@example.com", | |
"Application": "AlfiCRM", | |
"ActionPerformed": "Product", | |
"SubActionPerformed": "Update", | |
"DataChanged": "{ | |
"DataBeforeUpdating" : Model->getAuditMessage, | |
"DataAfterUpdating" : Model->getAuditMessage | |
}", | |
"Message": "Product {ProductRef} updated on case {CaseReference}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment