Sei sulla pagina 1di 6

AIM

RCA –GOL CUSTOMER PAYMENT


HOLD RELEASE
GOL Customer Payment Term Release
Hold Order Level

Author: Priti Deshmukh


Creation Date: Apr 26, 2018
Last Updated: Apr 26, 2018
Document Ref: NA
Version: 1.0

Approvals:

Copy Number _____

GOL Customer Payment Term Release Hold Document Control Page | 1


File Ref:
Company Confidential - For internal use only
Document Control

Change Record
3

Date Author Version Change Reference

26-Apr-18 Priti Deshmukh 1.0

Reviewers

Name Position

Mayilsamy
Rajkumar Kurumala
Priti Deshmukh Technical Project Manager –Clover Infotech

Distribution

Copy No. Name Location

1 Library Master Project Library


2
3
4

Note To Holders:
If you receive an electronic copy of this document and print it out, please write your name on
the equivalent of the cover page, for document control purposes.
If you receive a hard copy of this document, please write your name on the front cover, for
document control purposes.

GOL Customer Payment Term Release Hold Document Control Page | 2


File Ref:
Company Confidential - For internal use only
Contents

Document Control ..................................................................................................................... 2


Business Overview .................................................................................................................... 4
Requirement ....................................................................................................................... 4
Technical ............................................................................................................................ 4

Open and Closed Issues for this Deliverable ............................................................................. 7


Open Issues ......................................................................................................................... 7
Closed Issues ...................................................................................................................... 7

GOL Customer Payment Term Release Hold Document Control Page | 3


File Ref:
Company Confidential - For internal use only
Business Overview
This document defined the basic business requirement of custom report ‘GOL Customer
Payment Terms Release Hold Order Level’ and details the root cause analysis of
handled issues.

Requirement
Credit hold on customer profile level should be released using custom program in
case customer is having balance amount to pay and due date is exhausted.
We can consider following scenarios to meet the requirement
1. Custom program will work for all credit customer. It should not consider any
cash customer.
2. Logic should not consider customer ‘B05_BANGALORE
MOTOR OWNERS CO_OP SOCIETY _ BNC’
3. If customer is having more than 1 transactions and any or all transactions will
be having balance amount to pay after due date, credit hold should not get
released.
4. If customer is having more than 1 transactions and all transaction will be
having balance to pay within due date, credit hold should get released.
5. For credit memo transactions, amount will be negative and program logic
should not consider such transactions for pending balance calculation.
6. Calculation of due days should be based on payment terms.
7. Credit release hold should work only for customers who have balance amount
to pay within the due date.

Technical

Existing Logic
1. Procedure developed to select customers who will be having credit hold locked
and which are eligible to release credit hold.
2. For selecting such customers, query is written where it is retrieving all customers
and minus those customers which are not eligible for credit hold, so remaining
will be considered as eligible for credit hold.
3. (part I) Select all customer having credit hold = ‘Y’ – (Part II) select customers
who are not eligible for release credit hold ‘N’ = customers who are eligible for
release hold ‘N’
4. Part II of above query was handled such that it was selected wrong customer list.
5. API is used to release such customer’s credit hold.
6. Minus query selection was having condition -
And (trunc(sysdate)-due_date) > (due_date - trx_date) which was retrieving
wrong customer list.

GOL Customer Payment Term Release Hold Business Overview Page | 4


File Ref:
Company Confidential - For internal use only
Cases Trx Date Due Date Sysdate Balance Remark

Case 1 12-Feb-18 14-apr- 27-Apr-18 1234 13>60 which is false, hence


18 customer was not selected in minus
query and was not getting minus
from all customers. And therefore
was coming as eligible for release
hold.

Case 2 25-May- 25-Jul-18 27-Apr-18 1234 -89 > 60 which is false, hence
18 customer was not selected in minus
query and was not getting minus
from all customers. And therefore
was coming as eligible for release
hold.

Whether sysdate – due_date is +ve or –ve value, logic was considering all those
customers for release hold.

Changed Logic
1. Handled condition in procedure for selecting those customers in minus query
whose due date is exhausted and balance is remaining.
2. And (trunc(sysdate)-due_date) > (due_date - trx_date) changed to And
(trunc(sysdate)-due_date) > 0
3. For above cases, logic is considering case 1 customer not eligible for release and
case 2 customer, eligible for release.

Cases Trx Date Due Date Sysdate Balance Remark

Case 1 12-Feb-18 14-apr- 27-Apr-18 1234 13>0 which is true, hence customer
18 is getting selected in minus query
and get minus from all customers,
therefore is not considered as
eligible for release hold.

Case 2 25-May- 25-Jul-18 27-Apr-18 1234 -89 > 0 which is false hence
18 customer is not getting selected in
minus query and hence it will come
as a customer who is eligible for
release hold.

Future Cases
1. Need to monitor developed logic for few days for exceptional cases if any.

GOL Customer Payment Term Release Hold Business Overview Page | 5


File Ref:
Company Confidential - For internal use only
Open and Closed Issues for this Deliverable

Open Issues

ID Issue Resolution Responsibility Target Date Impact


Date

Closed Issues

ID Issue Resolution Responsibility Target Date Impact


Date

GOL Customer Payment Term Release Hold Open and Closed Issues for this Deliverable Page | 6
File Ref:
Company Confidential - For internal use only

Potrebbero piacerti anche