You are on page 1of 2

ACCOUNT_no, created_t, deal name, product name, purchase start time, plan name

ACCOUNT_NO, PRODUCT_NAME, PURCHASE_START_T

Account_t, bill_t, billinfo_t

account_t, service_t , service_alias_list_t

0 PIN_FLD_POID POID [0] 0.0.0.1 /account 256266 1


0 PIN_FLD_BILLINFO_OBJ POID [0] 0.0.0.1 /billinfo 256778 1
0 PIN_FLD_PROGRAM_NAME STR [0] "Testnap"

Account_t, event_t, event_bal_impacts_t, item_t

W5H
Billing:

What - Sum(Charges + Purchases) - (Payements+Adjustments+Disputes+refunds)

When - Billing Date of the month (BDOM).


When was last billed,
when he will be billed next,
when is the future billing date.
billinfo_t
LAST_BILL_T, NEXT_BILL_T, FUTURE_BILL_T,
ACTG_CYCLE_DOM,BDOM,ACTG_LAST_T, ACTG_NEXT_T, ACTG_FUTURE_T
To_date('01-JAN-1970','dd-mon-yyyy')+(last_bill_t/60/60/24)
Why - Revenue Capture.
Where - In BRM, Customer Centre, CRM
Who - All the customer who are falling on the Bill cycle/BDOM.
How - ?

From Srikanth Vaddiparthi to Everyone 01:33 PM


1 min.
Me to jogi.dileep (Direct Message) 01:58 PM
what is the task?
From jogi.dileep to Me (Direct Message) 03:35 PM
select to_date('01-JAN-1970','dd-mon-yyyy')+(last_bill_t/60/60/24),to_date('01-JAN-
1970','dd-mon-yyyy')+(next_bill_t/60/60/24),
to_date('01-JAN-1970','dd-mon-yyyy')+(future_bill_t/
60/60/24) ,actg_cycle_dom,to_date('01-JAN-1970','dd-mon-yyyy')+(actg_last_t/
60/60/24),
to_date('01-JAN-1970','dd-mon-yyyy')+(actg_next_t/60/60/24),to_date('01-JAN-
1970','dd-mon-yyyy')+(actg_future_t/60/60/24)
from billinfo_t;
Me to Srikanth Vaddiparthi (Direct Message) 03:41 PM
done
From Srikanth Vaddiparthi to Everyone 04:47 PM
select To_date('01-JAN-1970','dd-mon-yyyy')+(last_bill_t/60/60/24) as last_bill,
To_date('01-JAN-1970','dd-mon-yyyy')+(next_bill_t/60/60/24) as next_bill,
To_date('01-JAN-1970','dd-mon-yyyy')+(future_bill_t/60/60/24) as future_bill,
actg_cycle_dom, bill_when, b.*
from billinfo_t b where account_obj_id0 = 222974;
pin_virtual_time -m2 02012023

Opcode: PCM_OP_BILL_MAKE_BILL
Input Flist:
database 0.0.0.1 from pin.conf "userid"
nap(9724)> r << a 1
0 PIN_FLD_POID POID [0] 0.0.0.1 /account 222974 1
0 PIN_FLD_BILLINFO_OBJ POID [0] 0.0.0.1 /billinfo 222718 1
0 PIN_FLD_PROGRAM_NAME STR [0] "Testnap"
a
nap(9724)> xop PCM_OP_BILL_MAKE_BILL 0 1

You might also like