Skip to content

Commit

Permalink
fix IUR on modType=1 (#2121)
Browse files Browse the repository at this point in the history
Co-authored-by: Pasquale Spica <[email protected]>
  • Loading branch information
esposimo and pasqualespica authored Jun 10, 2024
1 parent 5e601bd commit 94457f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
"source": {
"type": "CosmosDbSqlApiSource",
"query": {
"value": "@concat('SELECT c.debtorPosition.noticeNumber as NOTICE_ID, c.debtorPosition.iuv as IUV, \nc.debtorPosition.iur as IUR, c.creditor.idPA as PA_EMITTENTE, c.creditor.idBrokerPA as PT_EMITTENTE, \nc.psp.idPsp as ID_PSP,c.psp.idBrokerPsp as ID_BROKER_PSP, c.paymentInfo.amount as AMOUNT, c.timestamp as TIMESTAMP, \n c.eventStatus as EVENT_STATUS, t.fiscalCodePA as PA_TRANSFER, t.amount as AMOUNT_TRANSFER, t.IBAN, t.idTransfer as ID_TRANSFER, c.debtorPosition.modelType as MOD_TYPE, \nc.paymentInfo.paymentDateTime as DATA_PAGAMENTO FROM c JOIN t in c.transferList WHERE ( c.paymentInfo.paymentDateTime between \"', variables('date_start'), '\" and \"', variables('date_end'), '\")')",
"value": "@concat('SELECT c.debtorPosition.noticeNumber as NOTICE_ID, c.debtorPosition.iuv as IUV, IS_DEFINED(t.IUR) ? t.IUR : c.debtorPosition.iur as IUR, c.creditor.idPA as PA_EMITTENTE, c.creditor.idBrokerPA as PT_EMITTENTE, \nc.psp.idPsp as ID_PSP,c.psp.idBrokerPsp as ID_BROKER_PSP, c.paymentInfo.amount as AMOUNT, c.timestamp as TIMESTAMP, \n c.eventStatus as EVENT_STATUS, t.fiscalCodePA as PA_TRANSFER, t.amount as AMOUNT_TRANSFER, t.IBAN, t.idTransfer as ID_TRANSFER, c.debtorPosition.modelType as MOD_TYPE, \nc.paymentInfo.paymentDateTime as DATA_PAGAMENTO FROM c JOIN t in c.transferList WHERE ( c.paymentInfo.paymentDateTime between \"', variables('date_start'), '\" and \"', variables('date_end'), '\")')",
"type": "Expression"
},
"preferredRegions": [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
"source": {
"type": "CosmosDbSqlApiSource",
"query": {
"value": "@concat('SELECT c.debtorPosition.noticeNumber as NOTICE_ID, c.debtorPosition.iuv as IUV, \nc.debtorPosition.iur as IUR, c.creditor.idPA as PA_EMITTENTE, c.creditor.idBrokerPA as PT_EMITTENTE, \nc.psp.idPsp as ID_PSP,c.psp.idBrokerPsp as ID_BROKER_PSP, c.paymentInfo.amount as AMOUNT, c.timestamp as TIMESTAMP, \n c.eventStatus as EVENT_STATUS, t.fiscalCodePA as PA_TRANSFER, t.amount as AMOUNT_TRANSFER, t.IBAN, t.idTransfer as ID_TRANSFER, c.debtorPosition.modelType as MOD_TYPE, \nc.paymentInfo.paymentDateTime as DATA_PAGAMENTO FROM c JOIN t in c.transferList WHERE ( c.paymentInfo.paymentDateTime between \"', variables('date_start'), '\" and \"', variables('date_end'), '\")')",
"value": "@concat('SELECT c.debtorPosition.noticeNumber as NOTICE_ID, c.debtorPosition.iuv as IUV, \nIS_DEFINED(t.IUR) ? t.IUR : c.debtorPosition.iur as IUR, c.creditor.idPA as PA_EMITTENTE, c.creditor.idBrokerPA as PT_EMITTENTE, \nc.psp.idPsp as ID_PSP,c.psp.idBrokerPsp as ID_BROKER_PSP, c.paymentInfo.amount as AMOUNT, c.timestamp as TIMESTAMP, \n c.eventStatus as EVENT_STATUS, t.fiscalCodePA as PA_TRANSFER, t.amount as AMOUNT_TRANSFER, t.IBAN, t.idTransfer as ID_TRANSFER, c.debtorPosition.modelType as MOD_TYPE, \nc.paymentInfo.paymentDateTime as DATA_PAGAMENTO FROM c JOIN t in c.transferList WHERE ( c.paymentInfo.paymentDateTime between \"', variables('date_start'), '\" and \"', variables('date_end'), '\")')",
"type": "Expression"
},
"preferredRegions": [],
Expand Down

0 comments on commit 94457f0

Please sign in to comment.