BSCS Provisioning V1
BSCS Provisioning V1
BSCS Provisioning V1
BSCS Provisioning
1) Service Activation
2) Service Deactivation
3) GPRS Activation
4) GPRS Deactivation
5) AGB Activation
6) AGB Deactivation
7) Contact Extension
8) Tariff Change
9) MSISDN Change
10) SIM Change
11) Brand Change
12) Deactivate Promotions
13) Contract Takeover
14) Contract Passivation
15) Repassivation
16) Service Pack Change
17) Other useful Queries
1) Service Activation:
First find out the co_id with the help of below query:
select co_id,customer_id,tmcode,co_activated ,
co_moddate,co_entdate, co_expir_date from contract_all where co_id in
(select CO_ID from CONTR_SERVICES_CAP where DN_ID in
(select DN_ID from directory_number where DN_NUM='<MSISDN>'))
Check the SN code. Valid from date should be of orders date and status should be A.
OR
select * from mpusntab where sncode in(select sncode from contract_service where CO_ID
='<Contract_ID>')
2) Service Deactivation:
3) GPRS Activation:
We have 3 SN codes (143,163,172) for GPRS services. The assignment to a particular customer is
based on selection from Kubis Front end.
select * from pr_serv_status_hist where CO_ID ='<Contract_id>' and sncode in
(143,163,172)
Valid from date should be of orders date and status should be A for respective SN code..
For co_id use the below query:
select co_id,customer_id,tmcode,co_activated ,
co_moddate,co_entdate, co_expir_date from contract_all where co_id in
(select CO_ID from CONTR_SERVICES_CAP where DN_ID in
(select DN_ID from directory_number where DN_NUM='<MSISDN>'))
4) GPRS Deactivation:
Follow the same steps as in GPRS activation
The only change is when we check the status of the SN code in pr_serv_status_hist table ,the
status should be D (Decativate).
5) AGB Activation:
First we need to verify the customer status. The cstype should be A. Also the csactivated should
be the date of activation.
select customer_id,cstype, csactivated from customer_all where customer_id=’Customer_id’
Then we should verify the associated contract with the customer. Co_activated should be the
date of activation.
select co_id, co_activated from contract_all where customer_id=’Customer_id’
We should verify the SIM status. Sim status sm_status should be A and sm_status_mod_date
should be the date of activation.
select sm_id, sm_serialnum, sm_status_mod_date,sm_status from storage_medium where
sm_serialnum=’SIM Serival num’
We should verify the MSISDN status. MSISDN status dn_status should be A and
dn_status_mod_date should be the date of activation.
select dn_num, dn_status, dn_status_mod_date from directory_number where dn_num
='491772890144'
6) AGB Deactivation:
First we verify if the customer in customer_all table.
select csactivated, csdeactivated, customer_id from customer_all
where customer_id = '<customer_id>';
Verify if the contract is deactivated completely. The value "ch_status" should be set to 'd' for
deactivation.
Use the following statement:
select co_id, ch_status, ch_validfrom
FROM contract_history where co_id = <'co_id'>;
7) Contract Extension:
We can find the customer_id and co_id with the help of below query:
select co_id,customer_id,tmcode,co_activated ,
co_moddate,co_entdate, co_expir_date from contract_all where co_id in
(select CO_ID from CONTR_SERVICES_CAP where DN_ID in
(select DN_ID from directory_number where DN_NUM='<MSISDN>'))
8) Tariff Change:
9) MSISDN Change:
We can find the customer_id and co_id with the help of below query:
select co_id,customer_id,tmcode,co_activated ,
co_moddate,co_entdate, co_expir_date from contract_all where co_id in
(select CO_ID from CONTR_SERVICES_CAP where DN_ID in
(select DN_ID from directory_number where DN_NUM='<MSISDN>'))
We should check for the status of new and old MSISDN. For Old MSISDN the status should be
deactivated (d) or free (f). For new MSISDN the status should be ‘a’.
select DN_ID, DN_NUM, DN_STATUS, dn_status_mod_date from directory_number where
DN_NUM= '<MSISDN>'
We verify the deactivation date of old and new Sim in “CONTR_DEVICES” table. For old SIM it
should not be null and for new SIM it should be Null.
select CO_ID, CD_SEQNO, CD_ACTIV_DATE, CD_DEACTIV_DATE
FROM CONTR_DEVICES
WHERE CO_ID = ‘<Contract_id>’
and CD_SM_NUM = '<SIM>'
We also verify the sm_status (SIM status) for both Old and New SIM. For new SIM it should be
activated and for old it should be deactivated.
select sm_id,sm_serialnum,sm_status_mod_date,sm_status from STORAGE_MEDIUM where
sm_serialnum='<sim no>'
Contract will be deactivated under the old customer and will be added under the new customer.
We can also check the contract information with the help of MSISDN.
We verify the status of service which is activated to passivate the contract with the help of
co_id. Generally the contract is passivated with service “Passivierung / Fraud” . The status of
service should be ‘A’.
select a1.co_id,
a1.sncode,
b1.des,
a1.status,
a1.entry_date,
a1.valid_from_date,
a1.request_id
from pr_serv_status_hist a1, mpusntab b1
WHERE a1.CO_ID = ‘<co_id>’
and a1.sncode = b1.sncode
order by a1.entry_date desc;
15) Repassivation:
We can find the customer_id and co_id with the help of below query:
select co_id, customer_id, tmcode, co_activated ,
co_moddate,co_entdate, co_expir_date from contract_all where co_id in
(select CO_ID from CONTR_SERVICES_CAP where DN_ID in
(select DN_ID from directory_number where DN_NUM='<MSISDN>'))
We verify the status of service which is activated to passivate the contract with the help of
co_id. Generally the contract is passivated with service “Passivierung / Fraud” . The status of
service should be ‘D’.
select a1.co_id,
a1.sncode,
b1.des,
a1.status,
a1.entry_date,
a1.valid_from_date,
a1.request_id
from pr_serv_status_hist a1, mpusntab b1
WHERE a1.CO_ID = ‘<co_id>’
and a1.sncode = b1.sncode
order by a1.entry_date desc;
Using the contract_ID we can check for the new SP_code. Use the below Query. Entry
date should be the orders date.
The output should come for the below Query and the CS_TYPE should be ‘a’.
select CU.customer_id,CU.cstype,Co.co_id,MP.TMCODE,MP.VSDATE,MP.DES,DN.DN_NUM
from customer_all CU, contract_all CO, CONTR_SERVICES_CAP CONT, directory_number DN,
MPUTMTAB MP where
CU.customer_id=Co.customer_id
And Co.co_id=CONT.co_id
And CONT.dn_id=DN.dn_id
And CU.CSDEACTIVATED is null and CU.cstype='a'
And CO.CO_ACTIVATED is NOT NULL and CO.CO_EXPIR_DATE is NULL
And CONT.CS_DEACTIV_DATE is NULL
And DN.DN_STATUS='a'
And CO.TMCODE=MP.TMCODE
And MP.STATUS='P'
And DN.DN_NUM in (4915738945216)
--CO.co_id in ()
--CU.customer_id in ()
For pending orders in BSCS, use the below query. No output should come for this query.
select * from mdsrrtab where co_id in
( select co_id from contr_services_cap where dn_id in
(select dn_id from directory_number where dn_num='491773053477'))
Fee class.
Gives the information about the reason for the fee generation.
Domain:
1 - the fee is a credit on the invoice
2 - the fee is a credit on the call
3 - the fee is a credit/charge, based on an event service, generated by a user (OCC)
4 - the fee is a charge, based on an event service, generated by the system
5 - the fee is a free unit credit"