Académique Documents
Professionnel Documents
Culture Documents
O2C C ycle
P2P C ycle
Apps Installation
Apps Technical
ERP Questions
Video Tutorials
Posted by Jagadeesan M
0 comments
While Defining Values for Natural Account segment in General Ledger. We observe that
Segment Qualifier gets default value as "Expense". Here the requirement is to change that
default value to "Assets".
Search
Solution:
O2C Cycle
OBIEE
OPM
Oracle 11i
oracleerpfunctional.blogspot.in/search/label/API Integration
1/15
8/1/13
After Clicking on Qualifier Button. Query the Natural Account Segment for which value to be
default. After querying the Natural Account you will find the Default Value column with
"Expense" as shown in below screenshot.
Warehouse Management
XML Publisher
Blog Archive
2013 (44)
June (44)
New and Changed Features in Oracle
Financials of 1...
RXi Sales register completes in
warning with Error...
AP/AR Netting for different currencies
Error: Encumbrance Accounting has
been turned off
Companies providing Oracle Apps and
Oracle BI Cons...
Oracle E-Business Tax: Regime to
Rate Flow in Orac...
Change the Value from "Expense" to "Asset". Save the Work and close the forms
oracleerpfunctional.blogspot.in/search/label/API Integration
2/15
8/1/13
For Checking the default value. Go to General Ledger Responsibility. Navigate to Setup >
Financial > Flexfield > Key > Value. Enter a new Value and in Segment Qualifier you observe
Account type as "Asset" as default value.
Followers
Join this site
w ith Google Friend Connect
Members (17)
Account Payables, Account Receivables, API Integration, General Ledger, Oracle Apps r12 User
Guides, Oracle R12
Posted by Jagadeesan M
0 comments
oracleerpfunctional.blogspot.in/search/label/API Integration
3/15
8/1/13
Visitor
During this Conversion the approach followed was standard three Stage approach
1. Insertion of Data into staging table from legacy Tables
2. Validation of Data
3. Insertion of Data into Oracle tables using Standard Insert Packages.
Creation of Schedules and Items
The conversion was carried out for creation of Prime and Sub leases with lease status as
Active and approval status as Final. Also it was required to generate the Payment
Schedule and Items for the leases.
Different Programs with similar conversion approach were used for conversion of Sublease
and Prime Leases as different details were required to be populated.
The Conversion was done to populate following details in the leases
1. Lease Header
2. Lease Details
3. Milestones
4. Party Roles
5. Contacts
6. Rights and Obligations
7. Options
8. Payments/Billings and its Account Distribution
9. Notes
Following is the detailed approach for the Property Manager Conversion.
1. Insertion:
First the Data from legacy system was put into the Staging Tables. Different Tables
were used to populate different details of the Leases. The different staging tables
that were created as a part of the Conversion Process are
a) Header staging table: Data for creating Lease Header and Lease Details was stored
in this table.
b) Payments staging table: Data for creating Payments/Billings was stored in this
table. The Payments/Billings account Distribution and Payments Milestones was
also created using the data from this table.
c) Other Charges staging table: The Data for creating other charges payment
streams along with the account Distribution was stored in this table.
d) Comments staging table: Data for Lease notes Creation.
e) Options staging table: Data for Creation of Renewal and Original terms Option
along with Options Milestones.
f) Lease Contacts staging table
2. Columns such as Process status, Error flag and Error description were created in the
staging table. The value in the column Process status indicates the
stage at which data is being processed by the Conversion program. Following are
oracleerpfunctional.blogspot.in/search/label/API Integration
4/15
8/1/13
the Process status values that were followed during this conversion Process
a. 1 Insertion of Data into Staging Tables
b. 2 Validation
c. 3 API insertion into the Base Tables
d. 4 - Completion of Processing
The columns process status, error flag and error description were updated
whenever the errors were encountered for the record at different stages of
processing.
3. Validation:
Once the Data was inserted into the Staging tables the process status was updated
to 1. Various validations such as Business specific validations, Mandatory values,
etc... were performed on the Data.
For validation only those Header records and corresponding Payments, Milestones,
Options and Notes records which have error flag as N were picked and processed.
Then the next header and corresponding records from other staging tables were
picked and validated.
If the record is validated successfully the process status was updated to 2. Incase
the record failed validation the process status was updated to 2, also the error flag
and error description columns for the record were updated for the specific validation
failure Message.
4. APIS insertion into Base Tables:
Those Lease header records which are validated successfully were picked for further
processing. Corresponding to Header record, Payments, Milestones, Options and Notes
records which have error flag as N were picked and using the Standard Insert
Packages the data was inserted into the Oracle Base tables. Incase of any errors the
insertion for that particular Lease record was roll back and then record was updated
as process status 3 along with error flag and error description.
For all successfully inserted records the process status was updates as 4.
5. Schedules and Items:
Once the Lease record was created successfully the Schedules and Items program
was submitted with lease context as 'ABS' to finalize the Lease. This Program finalizes
the Lease and creates the Payment Schedules and items for that lease.
Setups for Property Manager Conversion
oracleerpfunctional.blogspot.in/search/label/API Integration
5/15
8/1/13
3) Define Contacts:
The Contacts for each company was defined in this screen. A single company can
have number of roles and each role can have different contact person all these
data can be entered here. The details such as Contact Roles, Site address,
Telephone number and Contact names were defined.
Responsibility: Property Manager User
Agents>Contacts
Standard Insert packages were used for the conversion. The details of the APIS used are
given below in the sequence which they were used in the Conversion Program.
1. Lease Header and Details API
This API creates the Lease Header and Details.
pn_leases_pkg.insert_row
Tables populated:
PN_LEASES
PN_LEASE_DETAILS
PN_LEASE_CHANGES
Parameters for API:
pn_leases_pkg.insert_row
(
/*Output Parameter for Row Id*/
x_rowid
=> v_chr_rowid
oracleerpfunctional.blogspot.in/search/label/API Integration
6/15
8/1/13
=> v_num_detail_id
=> 'Test1'
=> v_chr_lease_num
=> NULL
/*Input lease type and class code set in the above lookups*/
,x_lease_type_code
=> v_chr_lease_code
,x_lease_class_code
=> v_chr_lease_class
/*Input the Proration rule Value*/
,x_payment_term_proration_rule
,x_abstracted_by_user
=> 365
=> g_num_user_id
=> g_dte_sysdate
=> g_num_user_id
=> g_dte_sysdate
=> g_num_user_id
=> g_num_login_id
=> g_num_user_id
,x_expense_account_id
,x_accrual_account_id
,x_receivable_account_id
,x_term_template_id
=> NULL
=> NULL
=> NULL
=> NULL
=> g_num_org_id
oracleerpfunctional.blogspot.in/search/label/API Integration
7/15
8/1/13
=> v_num_tenancy_id
=> v_num_location_id
/*Input the Lease Id and Lease Change Id from the Lease Header
API*/
,x_lease_id
=> v_num_lease_id
,x_lease_change_id
=> v_num_lease_ch_id
/*Input Property Class Lookup Code*/
,x_tenancy_usage_lookup_code
,x_primary_flag
=> property_class
=> 'N'
oracleerpfunctional.blogspot.in/search/label/API Integration
8/15
8/1/13
,x_location_usable_area
=> NULL
,x_location_assignable_area
=> NULL
,x_location_load_factor
=> NULL
);
This API returns tenancy id for the location.
3. Options APIs:
This APIs was used to create the various Options such as Renewal, Original terms for
the Lease.
pn_options_pkg.insert_row
Tables populated:
PN_OPTIONS
Parameters for API:
/*Creation of Lease Orignal Terms for Header*/
pn_options_pkg.insert_row(
/*Output parameter Row id*/
x_rowid
=> v_chr_row_id2
/*Output parameters Option Id and Option Number*/
,x_option_id
=> v_num_option_id
,x_option_num
=> v_chr_option_num
/*Input parameter Lease Id and Lease Change Id*/
,x_lease_id
=> v_num_lease_id
,x_lease_change_id
=> v_num_lease_ch_id
/*Input Option type Code from PN_LEASE_OPTION_TYPE */
,x_option_type_code
=> v_chr_option_type_code
/*Start date and End Date*/
,x_start_date
=> c_xshs_rec.begin_date
,x_expiration_date
=>
c_xshs_rec.end_date1
,x_option_size
=> NULL
,x_uom_code
=> NULL
/*Input Option status lookup from PN_OPTION_STATUS_TYPE*/
,x_option_status_lookup_code
=> v_chr_option_status_code
/*Input attributes*/
,x_attribute_category
=> NULL
,x_attribute1
=> NULL
,x_attribute2
=> NULL
,x_attribute3
=> NULL
,x_attribute4
=> NULL
,x_attribute5
=> NULL
,x_attribute6
=> NULL
,x_attribute7
=> NULL
,x_attribute8
=> NULL
,x_attribute9
=> NULL
,x_attribute10
=> NULL
,x_attribute11
=> NULL
,x_attribute12
=> NULL
,x_attribute13
=> NULL
,x_attribute14
=> NULL
,x_attribute15
=> NULL
/*WHO columns*/
,x_creation_date
=> g_dte_sysdate
,x_created_by
=> g_num_user_id
,x_last_update_date
=> g_dte_sysdate
,x_last_updated_by
=> g_num_user_id
,x_last_update_login
=> g_num_login_id
,x_option_exer_start_date
=> NULL
,x_option_exer_end_date
=> NULL
,x_option_action_date
=> NULL
,x_option_cost
=> NULL
,x_option_area_change
=> NULL
,x_option_reference
=> NULL
,x_option_notice_reqd
=> NULL
,x_option_comments
=> NULL
,x_org_id
=>
g_num_org_id
);
This API returns the Option id and Option Number for the lease.
4. Rights APIs:
This APIs was used to create the type of Rights such as Buyout, Purchase, etc... for
the Lease.
PN_RIGHTS_PKG.Insert_Row
oracleerpfunctional.blogspot.in/search/label/API Integration
9/15
8/1/13
=>
NULL,
'N',
/*Input Lease Commencement Date and Termination Date as start and End
date for the lease*/
x_start_date
=> v_dte_ls_com_dte,
x_expiration_date
=> v_dte_ls_ter_dte,
x_right_comments
x_attribute_category
x_attribute1
x_attribute2
x_attribute3
x_attribute4
x_attribute5
x_attribute6
x_attribute7
x_attribute8
x_attribute9
x_attribute10
x_attribute11
x_attribute12
x_attribute13
x_attribute14
x_attribute15
=>
=>
=>
=>
=>
=>
=>
=>
=>
=>
=>
=>
=>
=>
=>
=> NULL,
=> NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
/*WHO Columns*/
x_creation_date
=> g_dte_sysdate,
x_created_by
=> g_num_user_id,
x_last_update_date
=> g_dte_sysdate,
x_last_updated_by
=> g_num_user_id,
x_last_update_login
=> g_num_login_id,
x_org_id
=> g_num_org_id
);
This API returns the Right Id and Right Number for the Lease.
5. Contacts APIs:
This APIs was used to create the type of Rights such as Buyout, Purchase, etc... for
the Lease.
PN_CONTACT_ASSIGNMENTS_PKG.Insert_Row
Tables populated:
PN_CONTACT_ASSIGNMENTS
Parameters for API:
PN_CONTACT_ASSIGNMENTS_PKG.Insert_Row(
/*Output Parameter for Row id*/
x_rowid
=> v_chr_row_id7,
/*Ouput parameter for Contact assignment Id*/
x_contact_assignment_id
=> v_num_cnt_assig_id,
/*WHO Columns*/
x_last_update_date
=> g_dte_sysdate,
x_last_updated_by
=> g_num_user_id,
x_creation_date
=> g_dte_sysdate,
x_created_by
=> g_num_user_id,
x_last_update_login
=> g_num_login_id,
/*Input the Company Id and Company Site Id for the Contact defined in
the Contacts screen*/
oracleerpfunctional.blogspot.in/search/label/API Integration
10/15
8/1/13
x_company_id
=> v_num_company_id,
x_company_site_id
=> v_num_comp_site_id,
/*Input lease Header Id and change Id*/
x_lease_id
=> v_num_lease_id,
x_lease_change_id
=> v_num_lease_ch_id,
x_location_id
=> NULL,
x_status
=> 'A', --Active Status
/*Attribute Columns*/
x_attribute_category
=> NULL,
x_attribute1
=> NULL,
x_attribute2
=> NULL,
x_attribute3
=> NULL,
x_attribute4
=> NULL,
x_attribute5
=> NULL,
x_attribute6
=> NULL,
x_attribute7
=> NULL,
x_attribute8
=> NULL,
x_attribute9
=> NULL,
x_attribute10
=> NULL,
x_attribute11
=> NULL,
x_attribute12
=> NULL,
x_attribute13
=> NULL,
x_attribute14
=> NULL,
x_attribute15
=> NULL,
x_org_id
=> g_num_org_id
);
This API returns the Contact assignment Id for the Lease as output parameter.
6. Payment/Billings and Account Distribution APIs:
This APIs was used to create the Billing streams for Sublease and Payment streams
for Prime Lease. In order to create the Account Distribution for the Payment stream
pn_distributions_pkg.insert_row was used.
First payment streams were created for each lease by calling the Payments API.
Then the Account distribution was created for the Payment stream calling the
Distribution API for each account entry. Payment streams were created for Regular
and Other Charges Payments.
pnt_payment_terms_pkg.insert_row
Tables populated:
PN_PAYMENT_TERMS
Parameters for API:
pnt_payment_terms_pkg.insert_row (
/*Output parameter for Row Id*/
x_rowid
=> v_chr_row_id6
/*Output Parameter for Payment Term Id*/
,x_payment_term_id
=> v_num_payment_term_id
/*Input Billing Purpose Code and the Billing term*/
,x_payment_purpose_code
=> v_chr_billing_purpose
,x_payment_term_type_code
=> v_chr_billing_term
/*Input the frequency as Montly, One time, etc... */
,x_frequency_code
=> v_chr_billing_frequency
/*Input parameter Lease Id and lease Change Id*/
,x_lease_id
=> v_num_lease_id
,x_lease_change_id
=> v_num_lease_ch_id
/*Input Start and End date for the Payment Stream*/
,x_start_date
=> v_dte_mon_start_date
,x_end_date
=> v_dte_mon_end_date
,x_vendor_id
=> NULL
,x_vendor_site_id
=> NULL
,x_customer_id
=> v_num_customer_id
,x_customer_site_use_id
=> v_num_site_use_id
,x_target_date
=> NULL
/*Input the Amount for Payment Stream*/
,x_actual_amount
=> c_xsos_rec.payment_amount
,x_estimated_amount
=> NULL
/*Input Set of Books and Currency*/
,x_set_of_books_id
=> g_num_set_books_id
,x_currency_code
=> g_chr_currency
,x_rate
=> 1
/*Input Normalize flag value as Y if the payment stream needs to be
Normalized*/
,x_normalize
=>Y
,x_location_id
=> NULL
/*Input Special terms and Customer ship to Site*/
oracleerpfunctional.blogspot.in/search/label/API Integration
11/15
8/1/13
oracleerpfunctional.blogspot.in/search/label/API Integration
12/15
8/1/13
oracleerpfunctional.blogspot.in/search/label/API Integration
13/15
8/1/13
oracleerpfunctional.blogspot.in/search/label/API Integration
14/15
8/1/13
Click on Details tab to check the Payment Items for each Payment Schedule.
This Payment Schedule can be approved and then exported to the Oracle Payables by
using the Export to Payables in the same menu option.
You might also like:
Oracle password recovery method
GL Funds check functionality
Period Types
Procure to Pay - Order to Cash - End to End Cycle Functional Documents
Purchasing Setup: Min-Max Planning
LinkWithin
Home
Older Posts
C opyright 2008-2009
Wordpress Theme by NeoEase. Blogger Templates by Blogcrowds.
oracleerpfunctional.blogspot.in/search/label/API Integration
15/15