Service Contracts Coverage Templates.
Hi ,
In coverage template block(Coverage block of form oksaucvt) from which table coverage name,coverage description and transfer fileds are coming up.
Please reply.
Thanks!...
Hi Alka T,
Thanks for yo
Database Server
RDBMS : 10.2.0.3.0
Oracle Applications : 11.5.10.2
I have a question here, In OKC_K_LINES_TL table the Coverage Name is in Column - 'NAME', and Coverage Id is attached to it in Column - 'ID'.
Example :
SELECT NAME,ID,TEMPLATE_COVERAGE_CHR_ID CHR_ID,DESCRIPTION
FROM OKS_COVERAGES_V WHERE template_coverage_chr_id in (-1,-2) and (NAME LIKE 'GTW SERVICE') order by name;
OUTPUT :
NAME - GTW SERVICE
ID - 364716284199949405991768109831650038195
CHR_ID - ' -1'
DESCRIPTION - GATEWAY SERVICE PLAN
In OKC_K_LINES_B table this id is stored in cle_id.
Also in mtl_system_items_b table this ID is stored in Column- ' coverage_schedule_id'.
Also, this ID is stored in oks_k_lines_b table in column - 'cle_id' and Column - TRANSFER_OPTION has a value in it.
In Form the Transfer item is set according to this TRANSFER_OPTION value.
Can you please help me in Understanding When this Coverage ID is created.
Right now for coverage name - 'GTW SERVICE' my transfer option is 'TERM'.
I need to update it to TRANS, for this what i need to do here ? and What will be the impact if i update here ?
Can you please explain in detail, and my main question is how this coverage id is attached to Coverage name in OKC_K_LINES_TL table and how the transfer_option is set to TRANS in oks_k_lines_b ?
Thanks!
Sanga Kiran.
Edited by: Kiran Sanga on Jul 22, 2009 11:05 PM
Edited by: Kiran Sanga on Jul 22, 2009 11:06 PM
Similar Messages
-
How to delete the coverages for an ACTIVE service contract ?
Hi ,
I have created coverages for few service lines for a service contract in R12. The contract is in ACTIVE status. If it was in ENTERED state, I could use OKS_COVERAGES_PUB.DELETE_COVERAGE to delete the coverages. But this contract is in ACTIVE status.
Basically I want the lines lse_id=2,3 removed for a particular line (lse_id=1) which were created by using OKS_CONTRACTS_PUB.CREATE_SERVICE_LINE. This contract has a standard coverage and hence there should not be lines with lse_id=2,3 for that particular service line .
Also, I am not able to delete a coverage for an EXPIRED contract.
Please let me know if you need more information on this.Hi 2619098
Did you find a solution for this? I am having the same problem. Please advice.
Regards -
Exception to contract coverage times - Service Contracts.
Service contracts are allowed to have exceptions to coverage hours. This is defined in the "Exception Coverage" section of Lines -> Effectivities tab. When I query for the coverages attached to the contract in the form, I see the exception coverage, but when I query in SQL, I do not see this exception coverage in the list. I'm using OKS_ENT_COVER_TIMES_V and OKS_ENT_COVERAGES_V to get the list of coverages for a given contract. Is there any other place that I should be looking at? Any help is greatly appreciated.
TIA
Alka.The place to look is in okc_rule_groups_b and okc_rules_b. The column okc_rules_b.rule_information_category holds the value of 'ECE' for exception coverage line (Got it from Oracle Forms code - OKSAUDET.fmb and related .pll). The conditions go somewhat like this in the following SQL:
SELECT ln.name, cv.COVERAGE_ON, cv.COVERAGE_FROM, cv.COVERAGE_TO
FROM okc_rule_groups_b rg
,okc_rules_b rl
,okc_k_lines_v ln
,oks_ent_cover_times_v cv
WHERE rg.cle_id = <The contract line id that has exception to coverage>
AND rl.rgp_id = rg.ID
AND to_char(ln.ID) = rl.rule_information1
AND rl.rule_information_category = 'ECE'
AND cv.COVERAGE_ID = ln.ID
AND cv.BUSINESS_PROCESS_ID = <Value of busi. proc. id for contract line>
I hope this will help someone in the forum.
Alka. -
How to create service items and sales order for service contracts.
Hi,
I have created item using Purchased Item template and one more item(service item) using service /warranty program template. Then I have used these items to create sales order with service item in it and closed that order , but Iam not getting this order in service contracts. Is this right way to create sales order for service items. I
item name:- personal_computer
copied from purchased order template. service is enabled and install base is checked and enable service coverage is enabled.
item name:- service_item
copied from service /warranty program template
service is selected to inactive,
service type: service
duration: 1 year
template: Gold
and saved the item.
Then I have used these two items in sales order for service contracts. But that sales order is not hitting in service contracts. Is there any error with item creation.
Thanks,
Bharat G.Following SAP Notes to be referred for Service Tax:
1. 778976 u2013 Service Tax and Ecess on Service Tax
2. 1032265 - SEcess on Service Tax
Regards
AK -
Need Help in Oracle Service Contracts API -- OKS_COVERAGES_PUB
Hi All
We have a requirement in service contracts module, wherein we have to delete the old coverage template of service line of a contract and attach the new template with the service line.
For this, we are using OKS_COVERAGES_PUB (“OKS_COVERAGES_PUB.DELETE_COVERAGE”, “OKS_COVERAGES_PUB.CREATE_ACTUAL_COVERAGE”) API but not able to get the desired results.
The API Works for only those service line ids of the contract which has the status “Entered”.
For service line ids of status other than “Entered” the API throws an error.Error Message Details – (x_return_status – ‘E’, x_msg_count – 1, x_msg_data – ‘OKC’).
We don’t know exactly the limitation of the API and there is no detail available about these API in both Service Contracts Development and API reference guide.
If anyone come across similar requirement or known any details about this API, Kindly mail the details to this id : [email protected]
Thanks in Advance
Thanks & Regards
SivakumarHi,
i want to add the lines and covered product to the existing contract.
Cuold you please suggest me the API for the same.
Thanking you in anticipation.
Regards,
Reena
Edited by: user10829701 on Mar 27, 2009 1:34 AM -
Documentation of Service Contracts API -- OKS_COVERAGES_PUB
Hi All
We have a requirement in the OKS Service Contracts Module, in which a Concurrent Program has to be created, such that it will detach the old coverage template and attach the new coverage template to the existing contracts.
We tried with the Standard API (“OKS_COVERAGES_PUB.DELETE_COVERAGE”, “OKS_COVERAGES_PUB.CREATE_ACTUAL_COVERAGE”)
but we are not able to get the desired results.
The API Works for only those service line ids of the contract which has the status “Entered”. For service line ids of status other than “Entered” the API throws an error.
Error Message Details – (x_return_status – ‘E’, x_msg_count – 1, x_msg_data – ‘OKC’)
We don’t know exactly the limitation of the API and there is no detail available about these API in both Service Contracts Development and API reference guide.
Kindly provide me some documentation related to this API to this mail id [email protected]
Thanks in Advance.
Thanks & Regards
SivakumarHi,
i want to add the lines and covered product to the existing contract.
Cuold you please suggest me the API for the same.
Thanking you in anticipation.
Regards,
Reena
Edited by: user10829701 on Mar 27, 2009 1:34 AM -
How is Returns handled For service contract
Hi All,
I have return Scenario from OM and requirment is as follows
A poduct is sold and Contarct for 1 year is cretaed. Now after 4 months porduct is returned and new product is replaced.Now Original COntract should remain as it is, with remaining duration 8 mths, just it has to swap the new Product .
Can this be possible?
Any workarounds?
Regards
PreetiHi Preeti
Check the coverage template. Go to (R) Service Contracts Manager -> (N) Coverage Template.
Query the coverage template attached to your warranty service item. "Warranty" section in this form drives the behavior you are looking for.
What is the OKS version? 11.5.10.2? Refer OKS 11.5.10 user guide. Page 20-6 (Setting up coverage and subscription template)
Thanks
Sid. -
Tables to Verify the Coverage Template, Business Process and Reaction Times
Hi,
I am working on Oracle Service Agreements 11.5.10.2 version. I am new to this Module.
Please let me know the appropriate Service Contract Table names where the
Coverage Template , Business Process , Reaction times , Billing Rates etc.... details would be stored, when they are defined/setup from the Oracle Apps UI (Coverage Template form).
Thanks for your help in advance.
Regards,
-SantoshHi Gustavo Bortoloti,
That's right, the SAP BPC version 5.x SP x not have the specific setting.
Thanks,
Wandi Sutandi -
Hi,
How can we link multiples line items is OM to a single service contracts while creating a contract from OM?
When entering service line item in order management we can link service line to a particular line within the Order. Is there a way to link it to all the lines within same order?
Thanks in advance for your help!
Sid.Alex
Item A, B and C will have a bom definiton in this fashion
A-->component is D (number of period in qty field and unit of mesure is period (month or year or so on)
B-->Component D
C-->Component D
Here D is also an item but in the service tab of item master you enable contact item type as Warranty.
When order is entered for A or B or C automatically warranty is created when IB is updated from sales order saying it is shipped.
No you want to sell extended warranty for B and C. You create another item E which definited as Service as contract type in the service tab. Both D and E require coverage template (one warranty type and another normal).
Now you enter the order in this fashion:
A
B
E-->in service tab enter order line number of B with period details for service
C
E-->in service tab enter order line number of C with period details for service
Once you ship A, B and C one warranty is created for A, B and C with warranty item D as service item.
Now you need to run the program Service Contracts Order Capture Integration to create another contact for extended warranty that coverd B and C. This uses E as the service item.
Thanks
Nagamohan -
Service Contract header, line level and party data report.
Using 11.5.9.
In Service Contracts Module, trying to create a query that extracts header data, party data (role and name) and the name of the service from the lines/account tab, ie Full Service, Gold Service etc...
Created query that retrieve Service Contract header and party data, but when I try to join to mtl_system_items_b, I am getting a product description instead of the name of the service. I also include code below this that pulls in the lines from the lines/account tab which captures line 1.1 and has the correct service name. Note this code does not have the header data and party data built into it, but I am willing to modify either piece of code to create the need join and get the data returned.
SELECT
distinct (okhb.contract_number) contract_number,
nvl(okhb.contract_number_modifier,'-') contract_modifier,
okhb.sts_code,
okhb.start_date start_date,
okhb.end_date end_date,
okprb.rle_code ROLE,
msib.description,
(msib.segment1) item_number,
hp.party_name
FROM
hz_party_sites ps,
hz_party_sites ps9,
hz_locations l,
hz_locations l9,
hz_cust_acct_sites_all ca,
hz_cust_acct_sites_all ca9,
hz_cust_site_uses_all cs,
hz_cust_site_uses_all cs9,
hz_parties hp,
hz_parties hp9,
okc_rules_b orb,
okc_rules_b orb9,
okc_rule_groups_b ogb,
okc_k_headers_b okhb,
okc_k_party_roles_b okprb,
okc_k_lines_b oklb,
ra_customer_Trx_all rcta,
mtl_system_items_b msib
WHERE
PS.LOCATION_ID = L.LOCATION_ID AND
ps9.location_id = l9.location_id and
L.CONTENT_SOURCE_TYPE = 'USER_ENTERED' AND
l9.content_source_type = 'USER_ENTERED' and
PS.PARTY_SITE_ID = CA.PARTY_SITE_ID AND
ps9.party_site_id = ca9.party_site_id and
CA.CUST_ACCT_SITE_ID = CS.CUST_ACCT_SITE_ID and
ca9.cust_acct_site_id = cs9.cust_acct_site_id and
ps9.party_id = hp9.party_id and
ps.party_id = hp.party_id and
cs.site_use_id=orb.object1_id1 and
cs9.site_use_id = orb9.object1_id1 and
orb.jtot_object1_code in ('OKX_SHIPTO'/*,'OKX_BILLTO'*/) and
orb9.jtot_object1_code = 'OKX_BILLTO' and
orb.rgp_id = ogb.id and
orb9.rgp_id = ogb.id and
okhb.id = okprb.chr_id and
msib.inventory_item_id = orb.object1_id1 and
okhb.contract_number = rcta.interface_header_attribute1 and
nvl(okhb.contract_number_modifier,'-') = nvl(rcta.interface_header_attribute2,0) and
ogb.chr_id = okhb.id and
okhb.sts_code = 'ACTIVE' and
okhb.contract_number in ('VO-7001','VO-7078') and
okprb.rle_code in ('CUSTOMER','END_USER')
--oklb.line_number||'.'||oklbs.line_number = '1.1'
order by okhb.contract_number;
select
to_char(oklb.line_number)||'.'||to_char(oklbs.line_number) subline_number,
okhb.contract_number,
okhb.sts_code,
(msi.segment1) item_number,
msi.description,
okcis.number_of_items,
round(months_between(element.date_completed , element.date_start)) billable_days,
oklbs.start_date start_date,
oklbs.end_date end_date,
to_date(oklbs.attribute1, 'YYYY/MM/DD HH24:MI:SS') warranty_start_date,
to_date(oklbs.attribute2, 'YYYY/MM/DD HH24:MI:SS') warranty_end_date,
oklbs.attribute4 sales_order
from oks_level_elements_v element,
okc_rules_v rule,
okc_rule_groups_v grp,
oks_bill_cont_lines_v obcl,
okc_k_lines_v oklbs,
okc_k_items_v okcis,
mtl_system_items_vl msi,
okc_k_items_v okci,
okc_k_lines_v oklb,
okc_k_headers_v okhb,
OKS_BILL_TRANSACTIONS_V obtrx
where trunc(element.date_start) = trunc(obcl.date_billed_from) and
rule.id = element.rul_id and
rule.rgp_id = grp.id and
grp.rgp_type = 'KRG' and
grp.rgd_code = 'SVC_K' and
grp.cle_id = oklbs.id and
oklbs.cle_id = oklb.id and
oklbs.lse_id <> '2' and
okhb.sts_code = 'ACTIVE' and
msi.inventory_item_id = okci.object1_id1 and
msi.organization_id = 3 and
okcis.cle_id = oklbs.id and
okci.cle_id = oklb.id and
obcl.cle_id = oklb.id and
oklb.chr_id = okhb.id and
obcl.btn_id = obtrx.id and
okhb.contract_number like 'VO-7078' and
oklb.line_number||'.'||oklbs.line_number = '1.1'
order by okhb.contract_number, to_number(oklb.line_number), to_number(oklbs.line_number), oklbs.id;
Code that pulls in the correct description as seen at line level in Service Contracts Module.
OUTPUT of this query
CONTRACT_NUMBER STS_CODE ITEM_NUMBER DESCRIPTION
XX-XXXX ACTIVE FULL SERVICE FULL SERVICEI guess you are looking for coverage name. You need to add two more table to join with items like as in
select inventory_item_id,a.name,a.item_description from mtl_system_Items_b c,okc_k_lines_tl a,okc_k_lines_b b
where organization_id=<organization_id>
and contract_item_type_code in ('SERVICE','WARRANTY')
and a.id=b.id
and b.chr_id=-1
and coverage_schedule_id=b.id;
Thanks
Nagamohan -
Major/Minor Line Relationships in Oracle Service Contracts&Install Base.
Hi,
We have come across a scenario where, based on some business validations, Coverage of a Major Line needs to be TERMINATED.
So, In that case if the Major Line has child lines(Minor) within, then do we need to 'EXPIRE' the 'COMPONENT-OFF' relationship between the Major and its Minor's, which helps in synchronising the data in Service Contracts and the Install Base for that Major Line.
Any inputs would be of great help.
Thanks,
-Santosh.yes, please define major and minor terms here. are you referring to model (major) and component (minor) relationship?
Also if you just remove component-of relationship, you will end up with orphans. is that ok from business perspective?
~Amol -
Terms and Conditions with a Service Contracts
Hello,
I like to use the Sales Contracts (11.5.10) templates that I created for Sales Quote and Service Contracts. There is a great layout template (XML) for Quoting. I could not find any documentation on how to attach T*Cs to a Service Contract output.
Any help in this direction will be appreciated.Yes, I did. I had to insert a page break for this. Here is how I have done this
<fo:block break-before="page" >
</fo:block>
Thanks,
Sharmila -
HI,
Could you please Provide me solution where we find Service Contract templates screen ( T code) for renewal.
Please provide me the customization process for Renewal process in service contract.
Thanks,
Miku.
Edited by: miku143 on Nov 27, 2010 2:59 AMHI,
Could you please Provide me solution where we find Service Contract templates screen ( T code) for renewal.
Please provide me the customization process for Renewal process in service contract.
Thanks,
Miku.
Edited by: miku143 on Nov 27, 2010 2:59 AM -
Hi,
I have a question about Service Contracts. My client performs the installation of pipes and fittings (none have serial numbers)and warranties his work for one year after installation. I would like to have a Service Contract created automatically when he provides an "Installation" which would be a non inventory Item. I created the Contract Template for an Item Group that the "Installation" would be the only component of. How do I tie the Service Contract with the defined Contract Template at the time when the I sell an "Installation" to a customer?
How do I get this to work?
thx,
Richard.Hi,
Check this documentation if of help for your scenario :
https://websmp110.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_HIER_KEY=701100035871000371280&_OBJECT=011000358700004490702004E&_SCENARIO=01100035870000000183&
Regards,
Jitin -
Updating service contract line item's end date
Hi,
I am trying to extend the end date on a line item in a service contract via the DI and it is giving me the following error: 'Item's end date cannot be greater than contract's end date' and I don't understand why.
I retrieve the service contract object, change the header end date then find the line item I need, update it with the same end date and then issue call the SC update method. Here's my code:
Try
SC.Lines.SetCurrentLine(SerialNbrLineNumber)
NewStartDate = LineEndDate
'calculate new end date & extend service contract
NewEndDate = NewStartDate.AddYears(Warranty_Duration)
'never make the contract end date earlier than it had been
SC.EndDate = IIf(NewEndDate > SC.EndDate, _
NewEndDate, _
SC.EndDate)
'update service contract detail with new end date
If NewEndDate > LineEndDate Then
SC.Lines.EndDate = NewEndDate
End If
If SC.Update() <> 0 Then
rs.RtnCode = -1
rs.RtnMessage = B1Comp.GetLastErrorDescription()
End If
I did see something in the di help that mentions that B1 calcs an end date based on the "duration of coverage" field but I don't think I could use that because I might only change the end date for one line item.
BTW I can do this in the application with no problem.
Thanks in advance for any assistance.Known B1 bug. Should have checked support first. More info on note # 1026540
Maybe you are looking for
-
Allow iTunes upgrades for non admins
How can I setup Windows XP Pro so that non-admins can upgrade iTunes? Thanks
-
Hello.. Let me define my final goal: building a modern spectrum analyzer by the SR-760 model. The Problem: i need to add a MARKER to the Spectrum graph output. MARKER mean that in the real spectrum analyzer there is a "turning scroll button" that you
-
PSE can't open Canon .CR2
Hi, I have recently bought Photoshop Elements 12. I have uninstalled PSE 9 and installed PSE 12 on my Windows 8.1 computer. But it crashes about 80% of the times when I open Canons .CR2 (raw) files from my Canon 550D. Any suggestions, or should I ret
-
How to search for movies on apple tv 2
The movie section does not appear beside "internet - Computers - settings" .... just bought it brand new , signed into my apple account and connect to wifi and all i see in the home screen is "internet - Computers - setting". idk *** is going on or h
-
How do i update my first generation ipad to iOS5 vs. What it is currently?