Bug #1629

HD00012900 - Rentas File CMS not generated

Added by Lim Pek Keng about 12 years ago. Updated almost 10 years ago.

Status:Work Completed-End life cycleStart date:May 17, 2012
Priority:HighDue date:August 31, 2012
Assignee:Vincent Devethas% Done:

0%

Category:-Spent time:2.00 hours
Target version:-

Description

From: Vincent Devethas <>
To:
Cc: Shuhaida Subri <>, , , , , ,
Date: 06/22/2012 01:05 AM
Subject: Re: AutoCare : Your case has been received by KFH IT - HD00012900 (Rentas File CMS not generated)

Dear Kamaruddin,

Please provide us the new directory to place the rentas file. We will change in the application as well to drop the generated file into the new folder.

Thanks,

On Tue, May 29, 2012 at 2:37 PM, <> wrote:

Salam..

Dear Su,

The same problem happen today for yesterday's Rentas trxn (after 3pm). There were 2 transsaction and the files were not generated as well.

The normal Rentas notification email sent at 10am today mentioning no record, but in fact there were.

Pls check and fix accordingly ASAP:
1) the folder & path of the files.
2) email content wrongly mentioned (no files but actually there is).
3) pls insert the path into the email content.

On Thu, May 17, 2012 at 9:02 AM, <> wrote:

Dear Vince,

As discuss yesterday, pls investigate and fix the Rentas file as per issue log attached.

Need prompt solution and response.

CMS Rentas transaction:
- The Rentas file was NOT generated into the dedicated folder at KFHIB06:
- path: /export/home/bvadmin/shared/rentas/
- Transaction on: 11/05/12


Related issues

Related to KFH Projects - Task #5504: Patch 2 of Production Fixes Closed - End of life cycle September 28, 2015

History

#1 Updated by Vincent Devethas about 12 years ago

  • Due date set to August 31, 2012

Suspected the root cause of it is because of lack of disk space. Highlighted to KFH IT on this to do housekeeping.

#2 Updated by Lim Pek Keng about 12 years ago

  • Status changed from Development / Work In Progress to Pending Customer Feedback

KFH IT has been advised to housekeep files from the server and pending KFH IT feedback on the current server capacity.

#3 Updated by Lim Pek Keng about 12 years ago

  • Status changed from Pending Customer Feedback to User Acceptance Test

Fixed and deployed to staging. Pending UAT

#4 Updated by Lim Pek Keng about 12 years ago

-------- Original Message --------
Subject: Re: Rentas file Generation
Date: Fri, 7 Sep 2012 10:25:04 +0800
From: Vincent Devethas <>
To: Lee Yong Tan <>
CC: kfh.support <>

Hi Lee Yong,

Sorry, I missed out the (<) symbol in the query.

SELECT RENTAS_DETAIL.*,
DET.BENE_EMAIL,
DET.BENE_BANK_NAME,
DET.PAYMENT_AMOUNT,
DET.PAYMENT_REF_NO,
DET.PAYMENT_DETAIL,
DET.BATCH_ID
FROM BIB_BULK_PAYMENT BULK
FULL JOIN BIB_BULK_PAYMENT_DETAIL DET ON BULK.BATCH_ID = DET.BATCH_ID
FULL JOIN RENTAS_DETAIL RTS DET.TRNX_ID = RTS.OID
WHERE RTS.STATUS = ? AND
RTS.VALUE_DATE <= TO_CHAR(SYSDATE, 'YYYYMMDD');

I've change the query to full join. Doesn't matter records available in all three table, its will still pull the records filter by status and value_date.

On Fri, Sep 7, 2012 at 8:16 AM, Lee Yong Tan <> wrote:

Hi Vicent,
Great finding. Do you know why the < is not working as expected?
On Sep 6, 2012 10:12 PM, "Vincent Devethas" &lt;&gt; wrote:
Lee Yong,
The issue happens when a single Rentas transaction created (via Interbank Transfer - selected payment type as RENTAS) in BIB. Here is the scenario, When a Rentas transaction uploaded via Bulkpayment, it stored into 3 tables:
  • BIB_BULK_PAYMENT
  • BIB_BULK_PAYMENT_DETAIL
  • RENTAS_DETAIL
But when a single Rentas transaction created it only stored into RENTAS_DETAIL table.
Rentas file generation program will combine search from the above mentioned 3 tables filter by STATUS (T - Transferred) and VALUE_DATE (Must be lesser or equal to System Date). So, program unable to retrieve and data from DB since it doesn't meet the criteria. Due to no records are available, there was no file generated.
Noticed that the SQL Query inside Rentas.java file was last modified back in 03/05/2011. Since then the same query has been tested and moved to production. But now it become an issue.
I've simulated in Development and Staging. As expected the same problem happens. So, I've amended the query and gonna test in development tomorrow.
For you reference I've included the SQL Query:
================================================================================
Before Change ================================================================================
SELECT RENTAS_DETAIL.*,
BIB_BULK_PAYMENT_DETAIL.BENE_EMAIL,
BIB_BULK_PAYMENT_DETAIL.BENE_BANK_NAME,
BIB_BULK_PAYMENT_DETAIL.PAYMENT_AMOUNT,
BIB_BULK_PAYMENT_DETAIL.PAYMENT_REF_NO,
BIB_BULK_PAYMENT_DETAIL.PAYMENT_DETAIL,
BIB_BULK_PAYMENT_DETAIL.BATCH_ID
FROM
BIB_BULK_PAYMENT,
RENTAS_DETAIL JOIN BIB_BULK_PAYMENT_DETAIL ON BIB_BULK_PAYMENT_DETAIL.TRNX_ID=RENTAS_DETAIL.OID
WHERE BIB_BULK_PAYMENT.BATCH_ID = BIB_BULK_PAYMENT_DETAIL.BATCH_ID
AND RENTAS_DETAIL.STATUS = ?
AND RENTAS_DETAIL.VALUE_DATE <= TO_CHAR(SYSDATE, 'YYYYMMDD')
ORDER BY RENTAS_DETAIL.OID; ================================================================================
================================================================================
After Change ================================================================================
SELECT RENTAS_DETAIL.*,
DET.BENE_EMAIL,
DET.BENE_BANK_NAME,
DET.PAYMENT_AMOUNT,
DET.PAYMENT_REF_NO,
DET.PAYMENT_DETAIL,
DET.BATCH_ID
FROM BIB_BULK_PAYMENT BULK
FULL JOIN BIB_BULK_PAYMENT_DETAIL DET ON BULK.BATCH_ID = DET.BATCH_ID
FULL JOIN RENTAS_DETAIL RTS DET.TRNX_ID = RTS.OID
WHERE RTS.STATUS = ? AND
RTS.VALUE_DATE = TO_CHAR(SYSDATE, 'YYYYMMDD'); ================================================================================
Thanks,

#5 Updated by Tan Lee Yong almost 10 years ago

  • Status changed from User Acceptance Test to Work Completed-End life cycle

Expired issue

Also available in: Atom PDF