Destination Table - Condition Amount 0
Anthony Apollis <anthony.apollis@gmail.com>
From: Anthony Apollis <anthony.apollis@gmail.com>
To: pgsql-general@lists.postgresql.org
Date: 2024-08-08T16:35:00Z
Lists: pgsql-general
Attachments
- POSTGRES.txt (text/plain)
- invoices raised.png (image/png)
- LEC Invoices Raised NCD.xlsx (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
- Key PD Movements.xlsx (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
- Turkey - NCD Revenue Reporting Model_Table_Model.xlsx (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
- Data of Both Tables Till Insert Data Into Task.xlsx (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
I need your assistance with an ETL process that runs every six months. Currently, we are in Calendar Year/FY 2025, which started in July 2024. The issue is with the "Condition Amount" for FY 2025. Data comes through correctly until the "Insert Data Into Task" step (please see the attached screenshot). However, it appears that the code responsible for the "Update PD Credit" step is not functioning as expected. [image: image.png] The destination table [Turkey - NCD Revenue Reporting Model_Table_Model] is receiving data for FY 2025, but the "*Condition Amount*" column contains zeros for 2025. Please see the attached sample data for reference. To help diagnose the issue, I have included the following: DDL for all three tables. Insert/Update scripts for the two tasks as depicted in the screenshot above. Sample raw data for the two tables. SSIS can also be found attached for better understanding Sample data for the "Insert Data Into