Professional Documents
Culture Documents
IN CUSTUAT:
1)select m.msg_id,m.correlation_id,
sr1.account_id,sr1.new_account_id,i.subrequest_id,
pd.target_system,
pd.name,
decode(m.process_status,0,'TO_BE_PROCESSED',1,'PROCESSED',2,'ERROR',3,'WAITIN
G_FOR_REPLY',4,'BLOCKED') status,
m.request_xml,
m.response_xml,
m.process_error,
m.sequence,sr1.sub_request_type_id,sr1.account_number,
m.modified_date,
i.product_id
from t_soh_bscs_interface i,
t_cbcm_bscs_process_definition pd,
t_soh_bscs_process_map pm,
t_cbcm_bscs_messages m,
t_soh_subrequest sr1,
t_soh_subrequest sr2
where sr1.subrequest_id =296015663
(sr1.account_id = 701147812 or sr1.new_account_id = 701147812)
and sr2.request_id = sr1.request_id
and i.subrequest_id = sr2.subrequest_id
and m.interface_id = i.interface_id
and m.map_id = pm.process_map_id
and pd.process_id = pm.process_id
order by m.modified_date,m.sequence;
STATUS 1: Processed
STATUS 2: FAIL
STATUS 0: TO BE PROCESSED
IN BSCS:
In t_cbcm_bscs_messages table for Seq 2 (Target system :EBWFIX) in CUATUAT if the status is
PROCESSED then proceed with below validation.
VERIFICATION:
select * from T_EBW_ORDER_TRANSACTION_DTLS where subrequest_id =296015663
(for large market product like alshamil take the MST_TRANS_ID and search)
Take the TRANSACTION_ID and put in the below table and process status should be 2 for all the
records
STATUS 2: PROCESSED
STATUS 3: FAILED
IN CDB:
Update the status in t_cbcm_bscs_messages to 0 for seq 2 (Target system: CDB) in CUSTUAT.
After some time the status will processed it mean customer will be registered in CDB table.
Records should be there in the below tables
select * from CDB_ACCOUNT where account_id in (‘702255374’)
Once all the verification have been completed we can proceed with BILLING .
BILLING PROCESS:
In BSBS by using account_id from below table we can take the cutomer_id
select * from customer_all where custnum = '702255138'(Customer id : 1601533)
Replace the customer id in the below Query
LOG IN to PUTTY:d
Run Pre-Billing Script for Prorated charges go to the below location and run the command.
After successful execution of PBS then only prorated charges will be applied to the customer.
cd /export/home/bscsu2r2/BSCSiXR3/BSCSR2U2/ESU_PRG/Billing
./START_PRE_SIMULATION.sh
If you want to PBS for desired month then go to the below path and modify the month in
mrc_refund.sql
/export/home/bscsu2r2/BSCSiXR3/BSCSR2U2/ESU_PRG/Billing/PLSQL
Then run the below query to generate the regrouped XML file
cd /export/home/bscsu2r2/BSCSiXR3/BSCSR2U2/ESU_PRG/Billing/StreamServAdaptor/ctrl
rm -r SSA.*
cd /export/home/bscsu2r2/BSCSiXR3/BSCSR2U2/ESU_PRG/Billing/StreamServAdaptor/script
sh ./PreprocessBillingDocDB_Throtling_Disable.sh /falconapp5/ssdevp56/streamserve-
5.6.1.GA.272/root/applications/DROP5_SSDEV_PREPROC_1/Devp/In
sh ./PreprocessBillingDocDB_Throtling_Disable.sh
/export/home/bscsu2r2/BSCSiXR3/BSCSR2U2/ESU_PRG/Billing/StreamServAdaptor/script/
There should be record with the cutomer_id and will be having DR_ASS_DOC_NUMBER_EXTERNAL_ID
select * from dr_documents where DR_ADDRESSEE_CUSTOMER_ID=1601672--- SIM0000009599SIM
And verify the same regrouped XML should have been created in the below location
/export/home/bscsu2r2/BSCSiXR3/BSCSR2U2/ESU_PRG/Billing/StreamServAdaptor/script
The status should be F in the below query,If its R then delete all the control files once again and
change the status to I and proceed with the all the steps once again.
Dx266:ssdevp56/test12345
Take the regroup XML from above location and place in the below location (SSH) input path
/falconapp5/ssdevp56/streamserve-
5.6.1.GA.272/root/applications/DROP5_SSDEV_PREPROC_1/Devp/In
POST PROC 3
/falconapp5/ssdevp56/streamserve-5.6.1.GA.272/root/applications/Drop5_SSDEV_PREPROC_3/Devp/In
cd /falconapp5/ssdevp56/streamserve-5.6.1.GA.272/root/applications/DROP5_SSDEV_POSTPROC_1/
------------------------------------------------------------------------------------------------------------------------------------------
/falconapp5/ssdevp56/streamserve-5.6.1.GA.272/root/applications/Drop5_SSDEV_POSTPROC_1_new/
cp *.ppq ppq
PDF invoice will be generated in the below location or we can search with the PDF name by
using search command.
/falconapp1/ssdevp56/Out/0116/CONSUMER
INVZB1300001675
/export/home/bscsu2r2/BSCSiXR3/BSCSR2U2/ESU_PRG/PREACTIVATED
VERIFICATION:
After pushing the details still you are facing error then remove the old records with SM_id
/export/home/ssdevp56/StreamServ/root/applications/tables
Once Account has been activated then we can check in EBW for below table
select * from fees where customer_id='1603848 '(valid from column)
The date in the data base will reflect in the PDF invoice.
Note : If the customer has been activated in CBCM in 25th of FEB but got processed in MARCH 3rd then
Recurring charges will populate on 25th FEB but One time charges/instalments will post on 3rd of
march.(Change the activation date i )
promo_assign_state
promo_assign
2)If customer is having any prepayment then check in the below table there should be record.
3) After stream server deployment check in the below table,the status should be C means successful.
If S means its failing.
One time charges should be there in the below table(If One time charges are missed out then check as
below)
If any transaction is missing the check is the request has been interfaced through COMS or not
-- coms interface
6)If you are unable to generate the PDF Invoice then check the billMedium.
If we are getting below means OCC is getting skipped and check in T_EBw_WF_STAGE_DTLS tablw also.
<NoticeOccWrite>
<errorCode>3003</errorCode>
</NoticeOccWrite>