Wednesday, July 16, 2014

How to enable debugging / tracing?

 

How to enable debugging / tracing?

Do the following steps to enable the BNE logging.
- Login to the System Administrator Responsibility.
- Open the System -> Profiles form.
- Search for profiles using '%BNE%LOG%'
This should return three profiles.

  • BNE Server Log Level - This should be set to 'Trace'.
  • BNE Server Log Filename - Specify the log file name here (eg: 'bne.log').
  • BNE Server Log Directory - Provide the path of the log file directory here.

In older versions the profiles may be named:

  • BNE Debug Log Level
  • BNE Debug Log Filename
  • BNE Debug Log Directory
  1. Set the above three values on SITE level (use a unique file name, to insure only information for your problem is included)
  2. Set profiles Bounce the Web server (so that the changes take effect)
  3. Reproduce the issue
  4. Change the file name profile option value after reproducing the issue, so that the BNE log file will have log messages related to this issue only.
  5. If the log file is being generated for a related Service Request then also upload the BNE log to that SR.

Also set Profile Option: FRM: Debug Mode to Yes on Site level.

LOV For Inventory Org Contains No Values In Locations Form

 

SYMPTOMS

Need to assign new Inventory Orgs to a location on the locations form on the "Other Details" tab.  However, an error message is received when this is attempted:
LOV contains no values.

CAUSE

There must be a row in the view FINANCIALS_SYSTEM_PARAMETERS for the SET_OF_BOOKS_ID associated with the organization if it is to be selected on the Locations form.
This query returns the set_of_books_id associated with the organization:
select organization_id, business_group_id, organization_name, set_of_books_id
from ORG_ORGANIZATION_DEFINITIONS;

This query determines if there is a row for the set_of_books_id identified in the first query:
select *
from FINANCIALS_SYSTEM_PARAMS_ALL
where set_of_books_id in (<set_of_books_ids from previous query>);

The FINANCIALS_SYSTEM_PARAMS_ALL table populates the FINANCIALS_SYSTEM_PARAMETERS view. 

select *
from FINANCIALS_SYSTEM_PARAMETERS
where set_of_books_id in (<set_of_books_ids from previous query>);

Also, the inventory organization field can only be entered in the Location form if either (or both) INV or PO is fully installed.
The following query returns the installation status of these two modules:

select p.application_id, p.status, a.application_short_name
from fnd_product_installations p, fnd_application a
where  p.application_id = a.application_id
and a.application_short_name in ('PO','INV')

 

SOLUTION

Using an Inventory or Purchasing responsibility, navigate Setup > Organizations > Set of Books to ensure a set of books has been selected.
This creates a row in the FINANCIALS_SYSTEM_PARAMS_ALL table, which populates the FINANCIALS_SYSTEM_PARAMETERS view.

Once the set of books has a row in this view, the inventory organization will appear in the LOV on the Locations form.

Location is not Coming in the List of Values (LOV) in Default Bill Only Location in Organization Additional Information

 

GOAL

   Default Bill Only Location List of Values not showing the location. What is the cause?

SOLUTION

   The cause of the issue is Organization is not selected in the Location Definition form. Attaching organization to location
   is mandatory. Please perform the following steps to resolve the issue:-

   1. Navigate to India Local Inventory.

   2. Oracle Inventory > Setup > Location > Query the location.

   3. Click on Other Tab and select the organization. Save changes.

   4. Retest the issue.

   5. Migrate the solution to appropriate environment.