diff --git a/codbex-payments/events/CustomerPayment/CustomerPaymentToRecordHandler.ts b/codbex-payments/events/CustomerPayment/CustomerPaymentToRecordHandler.ts index 4c4b768..7881046 100644 --- a/codbex-payments/events/CustomerPayment/CustomerPaymentToRecordHandler.ts +++ b/codbex-payments/events/CustomerPayment/CustomerPaymentToRecordHandler.ts @@ -14,7 +14,7 @@ export const trigger = (event: EntityEvent): void => { const record = { Date: item.Date!, Valor: item.Valor!, - CompanyIBAN: item.CompanyIBAN, + CompanyIBAN: item.OurPartyIBAN, CounterpartyIBAN: item.CounterpartyIBAN, CounterpartyName: item.CounterpartyName, Amount: item.Amount, @@ -33,4 +33,4 @@ export const trigger = (event: EntityEvent): void => { } else { throw new Error("Unknown operation: " + operation); } -} \ No newline at end of file +} diff --git a/codbex-payments/events/EmployeePayment/EmployeePaymentToRecordHandler.ts b/codbex-payments/events/EmployeePayment/EmployeePaymentToRecordHandler.ts index ce9e98c..4bdf20a 100644 --- a/codbex-payments/events/EmployeePayment/EmployeePaymentToRecordHandler.ts +++ b/codbex-payments/events/EmployeePayment/EmployeePaymentToRecordHandler.ts @@ -14,7 +14,7 @@ export const trigger = (event: EntityEvent): void => { const record = { Date: item.Date!, Valor: item.Valor!, - CompanyIBAN: item.CompanyIBAN, + CompanyIBAN: item.OurPartyIBAN, CounterpartyIBAN: item.CounterpartyIBAN, CounterpartyName: item.CounterpartyName, Amount: item.Amount, @@ -33,4 +33,4 @@ export const trigger = (event: EntityEvent): void => { } else { throw new Error("Unknown operation: " + operation); } -} \ No newline at end of file +} diff --git a/codbex-payments/events/SupplierPayment/SupplierPaymentToRecordHandler.ts b/codbex-payments/events/SupplierPayment/SupplierPaymentToRecordHandler.ts index 8f150f1..4bdf20a 100644 --- a/codbex-payments/events/SupplierPayment/SupplierPaymentToRecordHandler.ts +++ b/codbex-payments/events/SupplierPayment/SupplierPaymentToRecordHandler.ts @@ -14,7 +14,7 @@ export const trigger = (event: EntityEvent): void => { const record = { Date: item.Date!, Valor: item.Valor!, - CompanyIBAN: item.CompanyIBAN, + CompanyIBAN: item.OurPartyIBAN, CounterpartyIBAN: item.CounterpartyIBAN, CounterpartyName: item.CounterpartyName, Amount: item.Amount, diff --git a/codbex-payments/project.json b/codbex-payments/project.json index 450de09..b8cb829 100644 --- a/codbex-payments/project.json +++ b/codbex-payments/project.json @@ -1 +1,4 @@ -{"guid":"codbex-payments","actions":[{"name":"Build TypeScript","commands":[{"os":"unix","command":"tsc"},{"os":"windows","command":"cmd /c tsc"}],"registry":"true"}]} \ No newline at end of file +{ + "guid":"codbex-payments", + "actions":[] +}