Sunteți pe pagina 1din 2

11i

OKS_REPROCESSING table
Service Contracts Order Capture Integration program

R12
Service Contracts Order Processing Program

OKS_HEADERS_INTERFACE
OKS_LINES_INTERFACE
OKS_COVERED_LEVELS_INTERFACE
OKS_USAGE_COUNTERS_INTERFACE
OKS_SALES_CREDITS_INTERFACE
OKS_NOTES_INTERFACE]

Billing Concurrent Program (Service Contracts Main Billing),

SELECT * FROM OKS_BILL_CONT_LINES WHERE ROWNUM<6;


SELECT * FROM OKS_BILL_TXN_LINES WHERE ROWNUM<6;

Which tables and views contains the contract lines, billings schedule
and invoices of a service contracts?
Table: OKC_K_HEADERS_B Product: OKC - Contracts Core
Description: Top level of a contract structure and groups all the
lines and terms and conditions of acontract.
Table: OKC_K_ITEMS Product: OKC - Contracts Core
Description: Contract items
Table: OKC_K_LINES_B Product: OKC - Contracts Core
Description: Deliverable ITEMS grouped into a logical set usually
defined by unitary price,delivery or some other classification.

Table: OKS_BILL_SUB_LINES Product: OKS - Service Contracts


Description: Related to a lower level contract line eg. coverage level
or product.
Table: OKS_BILL_CONT_LINES Product: OKS - Service Contracts
Description: Records which are sent to AR.
Table: OKS_BILL_SUB_LINE_DTLS Product: OKS - Service Contracts
Description: The detail of quantities and monetary amounts either
regular or adjustment.
Table: OKS_BILL_TRANSACTIONS Product: OKS - Service Contracts
Description: The transaction (invoice, credit etc.) which is
eventually received from AR.
Table: OKS_BILL_TXN_LINES Product: OKS - Service Contracts
Description: Holds the actual transaction amount and tax returned from
AR.

Table: OKS_STREAM_LEVELS_B Product: OKS - Service Contracts


Description: Service Contracts Billing Stream Levels

OKS_CONTRACTS_PUB.Create_Contract_Header:This API is used to create


contract header information.
The API is called using P_K_Header_Rec,P_Header_Contacts_Tbl,
P_Header_Sales_Crd_Tbl and P_Header_Articles_Tbl.
These contracts can be brought in as �ENTERED�, which would mean the
process owners would have tosubmit the contract for approval
using Contracts Approval Workflow.

OKS_CONTRACTS_PUB.Create_Service_Line
This API is used to create Contract Service Line for each contract header.
The API is called usingP_K_Line_Rec, P_Contact_Tbl and P_Line_Sales_Crd_Tbl.

OKS_CONTRACTS_PUB.Create_Covered_Line
This API is used to create Covered Lines for each service line you create.
Before you call this API you arerequired to set values for
P_K_Covered_Rec and P_Price_Attribs_In.Standard APIs in SC Module

OKC_CONTRACT_PUB (headers, lines, sub-lines) � This is used for


creating Headers etc.
OKC_RULE_PUB (rule groups, rules)OKC_CONTRACT_ITEM_PUB (items)
OKC_CONTRACT_PARTY_PUB (customers, contacts)
OKC_CONTRACT_GROUP_PUB (groupings)
OKS_SALES_CREDIT_PUB (sales credits)
OKS_CONTRACTS_PUB (billing schedule)Core

Tables

OKC.OKC_K_HEADERS_B
OKC_K_HEADERS_TL
OKC.OKC_K_LINES_B
OKC.OKC_K_LINES_TL
OKC.OKC_RULE_GROUPS_B
OKC.OKC_K_RULES_B
OKC.OKC_K_ITEMS
OKC.OKC_K_GRPINGS
OKC.OKC_K_PARTY_ROLES_B
OKC.OKC_K_HISTORY_B
OKC.OKC_K_PROCESSES
OKS.OKS_K_SALES_CREDITS
OKS.OKS_LEVEL_ELEMENTS
To create billing schedules through the API:

OKS_CONTRACTS_PUB.CREATE_BILL_SCHEDULE.

This API creates billing schedules for both sub line and service line.
It createsbilling streams and individual billing lines.
For updating billing schedules, we can use:OKS_BILL_SCH.CREATE_BILL_SCH_RULES.
This API also creates billing schedules for both sub line and service line
The only difference between the two API�s is that the second API
always deletesalready existing billing schedules if present and then
creates fresh ones.
Whenschedule is already created and if you call
OKS_BILL_SCH.CREATE_BILL_SCH_RULES

S-ar putea să vă placă și