inventory reports and xml

27
nventory August 2, 2011 What is Inventory In simple terms it is a stock of items that your business is selling in order to make a living. Almost every non-IT related business has some physical items to sell and hence Inventory is at the heart of almost any business and is central to the planning process. The considerations in setting it up are at least as complex as those for any other single application. Commonly, Inventory will be installed during the implementation of Order Entry, Purchasing, Manufacturing, or Supply Chain Management but it is an extremely complex module in its own right with several important setup considerations. Inventory System: The simplest function of an Inventory system is to keep track of your items i.e. which item came in and which item went out of inventory and when the item count reaches below a certain threshold value then alert the responsible person to replenish it soon. So how does items go in and out of the warehouse? Let say your company manufactures office chairs. When a customer orders 5 chairs and when you ship them to the customer the count of the item goes down and when you manufacture them internally and when the finished chair is ready and moved to the warehouse the item count increases. An item can be internally consumed too. An inventory system provides physical management of a company‘s stock until it is either used up or sold. It also performs a logical, cataloging function. This stock is referred to by its item number (usually item number is the segment1 column of mtl_system_items) and has many attributes that affect the transactions that the modules can process against the item. Every other module within Oracle Applications that needs to name types of objects looks to the Inventory Item Master for details regarding an item. These objects include products ordered through Oracle Order Entry, items invoiced through Oracle Receivables, items purchased through Oracle Purchasing, items paid for through Oracle Payables, items maintained through Oracle Service, and items charged against projects in Oracle Projects. Every module in the Manufacturing suite (Engineering, Bills of Material, Work in Process, Master Production Schedule/Material Requiremen ts Planning, and Cost Management) deals with items named in Inventory.

Upload: surendra-babu

Post on 02-Jun-2018

216 views

Category:

Documents


0 download

TRANSCRIPT

8/10/2019 Inventory Reports and XML

http://slidepdf.com/reader/full/inventory-reports-and-xml 1/27

nventoryAugust 2, 2011 

What is Inventory 

In simple terms it is a stock of items that your business is selling in order to make a living. Almost

every non-IT related business has some physical items to sell and hence Inventory is at the heart of

almost any business and is central to the planning process.

The considerations in setting it up are at least as complex as those for any other single application.

Commonly, Inventory will be installed during the implementation of Order Entry, Purchasing,

Manufacturing, or Supply Chain Management but it is an extremely complex module in its own right

with several important setup considerations.

Inventory System: 

The simplest function of an Inventory system is to keep track of your items i.e. which item came in

and which item went out of inventory and when the item count reaches below a certain threshold

value then alert the responsible person to replenish it soon. So how does items go in and out of the

warehouse? Let say your company manufactures office chairs. When a customer orders 5 chairs and

when you ship them to the customer the count of the item goes down and when you manufacture

them internally and when the finished chair is ready and moved to the warehouse the item count

increases. An item can be internally consumed too.

An inventory system provides physical management of a company‘s stock until it is either used up or

sold. It also performs a logical, cataloging function. This stock is referred to by its item numberÂ

(usually item number is the segment1 column of mtl_system_items) and has many attributes that

affect the transactions that the modules can process against the item.

Every other module within Oracle Applications that needs to name types of objects looks to the

Inventory Item Master for details regarding an item. These objects include products ordered through

Oracle Order Entry, items invoiced through Oracle Receivables, items purchased through Oracle

Purchasing, items paid for through Oracle Payables, items maintained through Oracle Service, and

items charged against projects in Oracle Projects.

Every module in the Manufacturing suite (Engineering, Bills of Material, Work in Process, Master

Production Schedule/Material Requirements Planning, and Cost Management) deals with items named

in Inventory.

8/10/2019 Inventory Reports and XML

http://slidepdf.com/reader/full/inventory-reports-and-xml 2/27

Inventory‘s can also track intangibles like magazine subscriptions. The company can sell these items

along with physical objects. Assemblies that are never stocked can also be defined in Inventory. A

phantom item, for example, represents an intermediate step in manufacture, an assembly that is

never stocked in inventory because it is used immediately in a higher-level assembly.

Oracle Inventory‘s on-hand balance is increased when an item is bought or made. Inventory

relinquishes control and decreases its balance when items are sold or put to their final use within the

company. Pads of paper in the stock room are inventory; the same pad of paper on somebody‘s desk

is not-as far as the company is concerned, it is already used. A new desk in the warehouse belongs to

inventory; a desk in somebody‘s office is no longer in inventory. Many major purchases, such as plant

and equipment, never have an on-hand balance because they are put to their final use

as soon as they are bought.

 Inventory Tables: 

MTL_CATEGORIES_B

MTL_CATEGORIES_B is the code combinations table for item categories. Items are grouped into

categories with in the context of a category set to provide flexible grouping schemes. The item

category is a key flex field with a flex code of MCAT.

The flexfield structure identifier is also stored in this table.MTL_CATEGORY_SETS_B 

MTL_CATEGORY_SETS_B contains the entity definition for category sets. A category set is a

categorization scheme for a group of items.Items may be assigned to different categories in different

category sets to represent the different groupings of items used for different purposes.An item may be assigned to only one category within a category set, however. STRUCTURE_ID

identifies the flexfield structure associated with the category set. Only categories with the same

flexfield structure may be grouped into a category set.

CONTROL_LEVEL defines whether the category set is controlled at the item or the item/organization

level. When an item is assigned to an item level category set within the item master organization, the

category set assignment is propagated to all other organizations to which the item is assigned.

VALIDATE_FLAG defines whether a list of valid categories is used to validate category usage within the

set. Validated category sets will not allow item assignment to the category set in categories that are

not in a predefined list of valid categories. Category Sets now support multilingual category set name

and description.

MLS is implemented with a pair of tables: MTL_CATEGORY_SETS_B and MTL_CATEGORY_SETS_TL.

MTL_ITEM_CATEGORIES:

8/10/2019 Inventory Reports and XML

http://slidepdf.com/reader/full/inventory-reports-and-xml 3/27

MTL_ITEM_CATEGORIES stores the item assignments to categories within a category set. For each

category assignment, this table stores the item, the category set, and the category. Items may be

assigned to multiple categories and category sets but may be assigned to only one category in a given

category set. This table may be populated through the Master Items and Organization Items windows.

It can also be populated by performing item assignments when a category set is defined. It is alsopopulated when an item is transferred from engineering to manufacturing.

MTL_ITEM_SUB_INVENTORIES

MTL_ITEM_SUB_INVENTORIES maintains a listing of subinventories assigned to an inventory or

engineering item. These sub inventories make up the list of valid subinventories when transacting this

specific item and the user has specified (in the master window) that the item must use subinventories

restricted to a pre–defined list.

Oracle Inventory Interfaces • Customer Item Interface 

• Open Item Interface 

• Open Replenishment Interface 

• Open Transaction Interface 

• Cycle Count Open Interface 

• Reservations Open Interface 

• Move Orders Open Interface 

§ Item import (Itemconversion)

The Item Interface lets you

import items into OracleInventory.

Pre-requisites:

8/10/2019 Inventory Reports and XML

http://slidepdf.com/reader/full/inventory-reports-and-xml 4/27

1.  Creating an Organization

2.  Code Combinations

3.  Templates

4.  Defining Item Status Codes

5.  Defining Item TypesInterface tables:

1.  MTL_SYSTEM_ITEMS_INTERFACE

2.  MTL_ITEM_REVISIONS_INTERFACE (If importing revisions)

3.  MTL_ITEM_CATEGORIES_INTERFACE (If importing categories)

4.  MTL_INTERFACE_ERRORS (View errors after import)

Concurrent Program : => Item import 

In the item import parameters form, for the parameter ‗set process id‘, specify the ‗set process id‘

value given in the mtl_item_categories_interface table. The parameter ‗Create or Update‘ can have

any value. Through the import process, we can only create item category assignment(s). Updating orDeletion of item category assignment is not supported.

Base Tables:

1. 

MTL_SYSTEM_ITEMS_B

2.  MTL_ITEM_REVISIONS_B

3.  MTL_CATEGORIES_B

4.  MTL_CATEGORY_SETS_B

5.  MTL_ITEM_STATUS

6.  MTL_ITEM_TEMPLATES

Validations:

1.  Check for valid part_id/segment of the source table.

2.  Validate part_id/segment1 for master org.

3.  Validate and translate template id of the source table.

4. 

Check for valid item type.

5.  Check for valid template id. (Attributes are already set for items, default attributes for that template

i.e., purchasable, stockable, etc )

6.  Check for valid item status.

7.  Validate primary uom of the source table.

8.  Validate attribute values.

9.  Validate other UOMs of the source table.

10. Check for unique item type. Discard the item, if part has non-unique item type.

11. Check for description, inv_um uniqueness

12. Validate organization id.

13. Load master records and category records only if all

8/10/2019 Inventory Reports and XML

http://slidepdf.com/reader/full/inventory-reports-and-xml 5/27

8/10/2019 Inventory Reports and XML

http://slidepdf.com/reader/full/inventory-reports-and-xml 6/27

IMPLEMENTATION_DATE

IMPLEMENTED_SERIAL_NUMBER

EFFECTIVITY_DATE

ATTRIBUTE_CATEGORY

ATTRIBUTEnREVISED_ITEM_SEQUENCE_ID

DESCRIPTION

PROCESS_FLAG = 1

TRANSACTION_TYPE = ‗CREATE‘  

SET_PROCESS_ID = 1

Each row in the mtl_item_revisions_interface table must have the REVISION and

EFFECTIVITY_DATE in alphabetical (ASCII sort) and chronological order.

§ Inventory On-handquantity Interface

This interface lets you import the on hand inventory into Oracle.

Interface tables: 

MTL_TRANSACTIONS_INTERFACE

MTL_MTL_TRANSACTION_LOTS_INTERFACE (If the item is Lot Controlled)

MTL_SERIAL_NUMBERS_INTERFACE (If the item is Serial Controlled)

Concurrent Program: 

Launch the Transaction Manager through Interface Manager or explicitly call the API – 

INV_TXN_MANAGER_PUB.PROCESS_TRANSACTIONS () to launch a dedicated transaction worker to

process them.

The Transaction Manager picks up the rows to process based on the LOCK_FLAG,

TRANSACTION_MODE, and PROCESS_FLAG.

Only records with TRANSACTION_MODE of 3, LOCK_FLAG of ‘2′, and PROCESS_FLAG of ‘1′ will be

picked up by the Transaction Manager and assigned to a Transaction Worker.

If a record fails to process completely, then PROCESS_FLAG will be set to ‘3′ and ERROR_CODE and

ERROR_EXPLANATION will be populated with the cause for the error.

Base Tables: 

MTL_ON_HAND_QUANTITIES

MTL_LOT_NUMBERS

8/10/2019 Inventory Reports and XML

http://slidepdf.com/reader/full/inventory-reports-and-xml 7/27

MTL_SERIAL_NUMBERS

Validations: 

Validate organization_id

Check if item is assigned to organization

Validate disposition_idCheck if the item for the org is lot controlled before inserting into the Lots interface table.

Check if the item for the org is serial controlled before inserting into Serial interface table.

Check if inventory already exists for that item in that org and for a lot.

Validate organization_id, organization_code.

Validate inventory item id.

Transaction period must be open.

Some important columns that need to be populated in the interface tables:

MTL_TRANSACTIONS_INTERFACE: 

TRANSACTION_SOURCE_NAME (ANY USER DEFINED VALUE),TRANSACTION_HEADER_ID (MTL_MATERIAL_TRANSACTIONS_S.NEXTVAL)

TRANSACTION_INTERFACE_ID (MTL_MATERIAL_TRANSACTIONS_S.NEXTVAL – 

If item is lot or serial controlled, use this field to link to mtl_transactions_interface otherwise leave it

as NULL),

TRANSACTION_DATE,

TRANSACTION_TYPE_ID,

PROCESS_FLAG

(

1 = Yet to be processed,2 = Processed,

3= Error

)

TRANSACTION_MODE

(

2 = Concurrent – to launch a dedicated transaction worker to explicitly process a set of transactions,

3 = Background – will be picked up by transaction manager polling process and assigned to

transaction worker. These will not be picked up until the transaction manager is running

)

SOURCE_CODE,

SOURCE_HEADER_ID,

SOURCE_LINE_ID (Details about the source like Order Entry etc for tracking purposes)

TRANSACTION_SOURCE_IDSource Type  Foreign Key Reference 

Account GL_CODE_COMBINATIONS.CODE_COMBINATION_IDAccount Alias MTL_GENERIC_DISPOSITIONS.DISPOSITION_ID

8/10/2019 Inventory Reports and XML

http://slidepdf.com/reader/full/inventory-reports-and-xml 8/27

Job or schedule WIP_ENTITIES.WIP_ENTITY_IDSales Order MTL_SALES_ORDERS.SALES_ORDER_ID

ITEM_SEGMENT1 TO 20,

TRANSACTION_QTY,

TRANSACTION_UOM,

SUBINVENTORY_CODE,

ORGANIZATION_ID,

LOC_SEGMENT1 TO 20.

MTL_TRANSACTION_LOTS_INTERFACE: 

TRANSACTION_INTERFACE_ID,

LOT_NUMBER,

LOT_EXPIRATION_DATE,

TRANSACTION_QUANTITY,

SERIAL_TRANSACTION_TEMP_ID (This is required for items under both lot and serial control to

identify child records in mtl_serial_numbers_interface)MTL_SERIAL_NUMBERS_INTERFACE: 

TRANSACTION_INTERFACE_ID

,

FM_SERIAL_NUMBER,

TO_SERIAL_NUMBER,

VENDOR_SERIAL_NUMBER

R12 INVENTORY 

Define Key Flexfields. 

1.  System Items2.  Item Categories

Setup Locations 

1.  Define Locations

Setup Calendar 

1.  Define Calendar

Units of Measure 

1.  Define Units of Measure Classes

2.  Define Units of Measure

3.  Define Units of Measure ConversionInventory Organizations 

1.  Define Organizations

2.  Define Organization Parameters

3. 

Define Subinventories

4.  Define Stock Locators

Item Attributes 

8/10/2019 Inventory Reports and XML

http://slidepdf.com/reader/full/inventory-reports-and-xml 9/27

8/10/2019 Inventory Reports and XML

http://slidepdf.com/reader/full/inventory-reports-and-xml 10/27

1. What is item import? How is it done?

A) The process of converting inventory items from another inventory system, migrating assembly and

component items from a legacy manufacturing system, converting purchase items from a custom

purchasing system and importing new items from a product data management package into Oracle

Inventory. This import mechanism is achieved through a concurrent program called Open ItemInterface.

Custom programs are executed prior to item interface and this gets data from the external systems

into the interface tables such as MTL_SYSTEM_ITEMS _INTERFACE and

MTL_ITEM_REVISIONS_INTERFACE. Item Interface program is then run which actually imports the

items and revision information from the above mentioned interface face tables into the base tables

such as MTL_SYSTEM_ITEMS_B, MTL_ITEM_REVISIONS. Item Interface assigns defaults and validates

the data to ensure data integrity before feeding data into base tables.

2. What are Interface and Base Tables?

Interface Tables :

MTL_SYSTEM_ITEMS_INTERFACE

MTL_ITEM_REVISIONS_INTERFACE (Oracle Defaults)

MTL_ITEM_CATEGORIES_INTERFACE (Oracle has Provided certain default categories, if not specified)

MTL_INTERFACE_ERRORS

Base Tables :

MTL_SYSTEM_ITEMS_B (Segment 1 stores Model # of Item)

MTL_ITEM_ATTRIBUTES,

MTL_ITEM_CATEGORIES,

MTL_ITEM_LOCATIONS,

MTL_ITEM_REVISIONS

MTL_ITEM_STATUS (Status Active/Engineer etc)

MTL_ITEM_SUB_INVENTORIES

3. What are Item Attributes?

A) Attributes are the specific characteristics associated to every item, namely order cost, item status,

revision control, COGS account etc.

4. What are Templates?

Templates are the defined set of attributes that can be used over and over to create similar items.

8/10/2019 Inventory Reports and XML

http://slidepdf.com/reader/full/inventory-reports-and-xml 11/27

Templates initial definition of items easier. Oracle has provided certain predefined templates such as

(ATO MODEL, ATO OPTION CLASS, and FINISHED GOOD etc). Templates can also be User defined .

5) What are Status Codes?

A) Statuses are used to provide default values to certain item attributes to control the functionality ofan item. Statuses typically default 8 item attributes namely, BOM allowed, build in WIP, Customer

orders enabled, internal orders enabled, invoice enabled, transactable, purchasable, stockable.

Different status types include Active, Inactive, Engineer, obsolete, Phase-out, Prototype, OPM.

6. What are Categories and Category Sets?

A) Category is a code used to group items with similar characteristics such as plastics, metals or glass

items etc.

A subset of categories grouped together is termed as a Category set. Typical category sets include

purchasing, materials, costing and planning.

8. What are Lot Numbers and Serial Numbers?

A) Lot number is a number that identifies a specific batch of items.

Serial Number is a number assigned to each unit of an item and used to track the item.

9. What are Locators?

A) A locator is a physical area with in the sub inventory where you store material such as a row, aisle,

shelf, or a bin etc.

10. What is a Sub Inventory?

It is a subdivision of an organization representing a physical area or a logical grouping of items such

as store room or a receiving dock.

11. What are the flexfields in Inventory module?

A) Item Key Flexfield and Category Key Flexfield.

12. While importing items from the legacy system through items interface what profile options do u

set.There are two profile options that we need to check, before running the Item Import. They are

i) PRIMARY_UNIT_OF_MEASURE from INV: Define Primary Unit of Measure

ii) INVENTORY_ITEM_STATUS_CODE from INV: Define Item Status

8/10/2019 Inventory Reports and XML

http://slidepdf.com/reader/full/inventory-reports-and-xml 12/27

Leave a Comment »|  Flexfields, Interfaces, Reports, XML Publisher |  Permalink Posted by virat

ReportsJuly 15, 2011 

Q: Name the report triggers. 

A: 1. Before Parameter 2. After Parameter 3. Before Report 4. Between Pages 5. After Report

Q: What are bind parameter and lexical parameter used for? 

A: A bind reference replaces a single value or expression.To create a bind reference in a query, prefix

the parameter name with a colon (:). A lexical reference is a text string and can replace any part of a

SELECT statement, such as column names, the FROM clause, the WHERE clause, or the ORDER BY

clause. To create a lexical reference in a query, prefix the parameter name with an ampersand (&).

USER EXIT is of five types 

1. FND SRWINIT

2. FND SRWEXIT

3. FND FORMAT_CURRENCY

4. FND FLEXIDVAL

5. FND FLEXSQL

What are Oracle Report and Flex field Report-Writing steps? 

1.  Define before report trigger

8/10/2019 Inventory Reports and XML

http://slidepdf.com/reader/full/inventory-reports-and-xml 13/27

2.  Define after report trigger

3.  Define required parameters

4.  Define other parameter

5.  Call FND FLEXSQL to populate data field

6.  Call FND FLEXSQL to populate other parameters7.  Define report query or queries

8.  Create formula columns

9.  Populate formula columns with FND FLEXIDVAL

10. Create default report layout

11. Finish Report

Differences between D2k Report and Apps Report 

(1) in D2k Report there is no fecility to schedule the program where as in Apps report we have that

facility

(2) in D2k Report we can‘t use User-Exits where as we can use in Apps Report… to add dff values and

diff currencies.

(3) when Compare to D2k Report in Apps report we can have more fecility to give out put in Fonts and

formats.

Oracle apps reports are same as D2k reports.Only thing is they use exits(specifically defined for ERP)

and use them in report. D2K reports and Oracle Reports basically have no difference the main

difference between them is only that simple D2k report run in any environment and we always use

Tables if we want to run a report in D2K

But if we want to run any Oracle Report then we need an environment which is given by an pre-

defined function ―USER EXIT‖ which is used in Oracle. USER EXIT gives an environment for D2K

Connect to Oracle APPS and if we use this function then we need to pass a parameter named

 ―P_CONC_REQUEST_ID‖ in ―FND SRWINIT‖ USER EXIT . 

 What are the User PARAMETERS in the Reports? 

P_CONC_REQUEST_ID 

P_FLEX_VALUE 

8/10/2019 Inventory Reports and XML

http://slidepdf.com/reader/full/inventory-reports-and-xml 14/27

What are User Exits? What are different types of User Exits in Oracle Apps? Explain the types. 

User exit is a C subroutine written by user and called by Oracle Forms to do special-purpose

processing. Helps the User to exit from the current working environment.

Types of User exit: 

FND SRWINIT: Sets your profile option values and allows Oracle AOL user exits to detect that they

have been called by an Oracle Reports program

FND SRWEXIT: Ensures that all the memory allocated for Oracle AOL user exits has been freed up

properly.

FND FORMAT_CURRENCY: Is used for MULTIPLE CURRNECY REPORTING.

FND FLEXIDVAL: This API is used for get descriptions from flexfields get input from

FND FLEXSQL: this API is used for get ELECT/WHERE/HAVING/ORDER BY/GROUP BY from flex field

tables.

How to Use XML Publisher to Generate Oracle Reports in Excel and PDF 

The prerequisites to use XML Publisher include: 

  XML Data

  Report Template

  Registration of Data Definition and Template at XML Publisher

 XML Publisher will use Oracle Reports for only the data query portion and will

ignore the defined report layout 

  Log into Oracle with System Administrator Responsibility

  Navigate to > Concurrent > Program > Define 

  Search for the desired Oracle Report

  Change the Output Format from the default ‗Text‘ to ‗XML‘  

  Take special note of the Program Short Name (you‘ll need it later to register the data at XML

Publisher)

Download the XML Publisher Desktop Utility

8/10/2019 Inventory Reports and XML

http://slidepdf.com/reader/full/inventory-reports-and-xml 15/27

8/10/2019 Inventory Reports and XML

http://slidepdf.com/reader/full/inventory-reports-and-xml 16/27

 

2. Registered Concurrent Program Executable and Define as XML

output. 

Executable : XXCNREC02

Short Name : XXCNREC02

Application: Application Object Library

Execution Method : Oracle Reports

Execution File Name : XXCNREC02 

Definition window : 

Program : Received/Consumption Detailed Report

Executable & Short Name : XXCNREC02Method : Oracle Reports

Output : XML 

3. Attached to the request group i.e., ‘SYSTEM ADMINISTRATOR

REPORTS’. 

4. Run through SRS , got output then save as XML type in local

drive

ie., XXCNREC02_25678.xml 

5. Through MS Word, Load XML Data and selected XML type file

which is created in step 4. 

6. Insert /Table Form then created layout. 

8/10/2019 Inventory Reports and XML

http://slidepdf.com/reader/full/inventory-reports-and-xml 17/27

7. Using ‘XML Publishing Administrator’ responsibility 

Data Definition-> Create Data Definition 

Name : Received/Consumption Details

Application : Application Object Library

Code : XXCNREC02

Start Date : 17-Jul-07 

Templates -> Create Template 

Name : Received/Consumption Details

Code : XXCNREC02

Application : Application Object Library

Data Definition: Received/Consumption DetailsType : RTF 

File : Received/Consumption Details

Language : English

Territory : India 

8. Run the report through SRS with System Administrator

Responsibility. 

select Upon Completion – > Options button – > Preview thenshows error. 

WARNING 

Executing request completion options… 

R2R stands for Record 2 Report 

i.e. Record Jounal entries in the General Ledger and Report to the Financial Managers using reporting

tools such as hyperion.

Below modules come under R2R cycle 

8/10/2019 Inventory Reports and XML

http://slidepdf.com/reader/full/inventory-reports-and-xml 18/27

1) General Ledger and below could be part of R2R cycle as well. 

2) Financial Consolidation Hub 

3) Enterprise Planning and Budgeting. 

Q: How do you print barcode in the reports? 

A: By installing the Barcode Font and using the Chart field in the Layout.

Q: What are the different sections in the Layout? 

A: Header, Main, Trailer

Q: What is SRW package and some procedures in SRW? 

A: It is the standard reports package and it has many procedures like USER_EXITS, DO_SQL,

RUN_REPORT, MESSAGE,TRACE, BREAK, SET_ATTR.

Q: What are user exits in reports and name a few? 

8/10/2019 Inventory Reports and XML

http://slidepdf.com/reader/full/inventory-reports-and-xml 19/27

A: User exits provided a way to pass control from Reports Builder to a program you have written,

which performs some function, and then returns control to Reports Builder. Ex: SRW.DO_SQL,

SRW.USER_EXIT

Q: How do you display only one record on each page in a report? 

A: Give Page Break in the Format trigger of the repeating frame.

Q: How do you write the report output to Excel file or text file? 

A: 1.Use TEXT_IO package 2.Use SPOOL in After Report trigger 3.Use UTL Package

Q: Give an example of the implementation of “between pages trigger” in reports. 

A: The total printed at the bottom of first page has to be carried to the top of the next page.

Q: Where in reports do you set the context information (like org_id)? 

A: SRW.INIT

Q: What is Anchor in reports? 

8/10/2019 Inventory Reports and XML

http://slidepdf.com/reader/full/inventory-reports-and-xml 20/27

8/10/2019 Inventory Reports and XML

http://slidepdf.com/reader/full/inventory-reports-and-xml 21/27

8/10/2019 Inventory Reports and XML

http://slidepdf.com/reader/full/inventory-reports-and-xml 22/27

2. Open a Telnet Session

a. You will need to open an MS-Dos prompt.

b. Select the Start button

c. Select Programs

d. Select Command Prompt

e. At the Dos prompt, enter the following command:

telnet <your server name>

3. Log into the Server

You will be prompted for your login and password for the Server. Enter

these values.

4. Set your environment variables if necessary. You may need to have your System Administrator

perform this function for you.

5. Determine the Output File Directory

There are two environment variables that may be used to set the default output directory: 

APPLCSF

APPLOUT

You can determine which is being used by ―echoing‖ the above variables. 

One of these will return a value.

APPLCSF is Applications Commonly Shared Files.

a. echo $APPLCSF

8/10/2019 Inventory Reports and XML

http://slidepdf.com/reader/full/inventory-reports-and-xml 23/27

b. You MAY see a returned value, for example:

 /oraclelogs/f1070161/app

c. There is usually an associated /out directory located off of the particular directory. In that case, the

output directory would be:

 /oraclelogs/f1070161/app/out

d. You may access this directory by typing the following command:

cd $APPLCSF/out

e. Verify the directory name by typing:

pwd

f. Result:

 /oraclelogs/f1070161/app/out

Next, try using APPLOUT. This variable assumes that the value will be associated with a product top

directory.

a. echo $APPLOUT

b. You MAY see a returned value:

out

c. In this instance, the directory /out is located off of the Product top (AP_TOP). To access this

directory,

type the following command:

cd $AP_TOP/out

d. Verify the directory name by typing:

pwd

8/10/2019 Inventory Reports and XML

http://slidepdf.com/reader/full/inventory-reports-and-xml 24/27

e. Result:

 /u13/appl/f1070161/ap/8.0.159/out

If a variable did not return a value when echoed, it is not being used.

How do I determine the version of my report? 

===========================================================

A: The report version can be determined from the operating system by running the following

commands:

UNIX: 

————– 

Release 10.7:

cd $AP_TOP/srw

strings –a APXT7F99.rdf | grep Header

Release 11:

cd $AP_TOP/reports

strings -a AP7T7F99.rdf | grep Header

Win NT: 

————– 

Release 10.7:

cd %AP_TOP/srw

find /I ―Header‖ APXT7F99.rdf  

Release 11:

8/10/2019 Inventory Reports and XML

http://slidepdf.com/reader/full/inventory-reports-and-xml 25/27

cd %AP_TOP/reports

find /I ―Header‖ APXT7F99.rdf  

D2K  Apps Reports 

No User Exit  User Exit P_Conc_Request_id not Required P_CONC_REQUEST_ID Mandatory Parameter 

 What is Format Trigger? Format trigger is used to print conditionally printing of

Layout. Format trigger return Boolean values. 

Qns: What do you mean by Anchoring in Reports? With the help of Anchoring

Relative position of two objects will be fixed. 

Qns: What are Reports Trigger and Their Firing Sequence? 

 BEFORE PARAMETER FORM 

 AFTER PARAMETER FORM 

 BEFORE REPORT 

 BETWEEN PAGES 

 AFTER REPORT 

Qns: What do you mean by Confine Mode in Reports? 

Ans : Confine Mode Means Locking of Frames. If Confine Mode is on then you can not move the Object outside the

Frame. If it is off you can move the objects.  

Qns: Whats is Difference between Formula Column, Summary and Placeholder Column. 

Ans:

 

Formula Column: Formula Column is used to compute Values. Formula Column always returns the Values. 

8/10/2019 Inventory Reports and XML

http://slidepdf.com/reader/full/inventory-reports-and-xml 26/27

8/10/2019 Inventory Reports and XML

http://slidepdf.com/reader/full/inventory-reports-and-xml 27/27

Qns: How will you Capture ORG_ID Dynamically in Concurrent Programs. 

Qns : Suppose I have two Parameter Start Date and End Date and I want My Start Date should be lower then End

Date. How will you Validate. 

Qns : What are Various Execution Method in Concurrent Programs in executables. 

Qns : What is Difference between Application Name Defined in Concurrent Program Executables and Concurrent

Programs. 

Qns : Whats is Mandatory Parameter to Register PL/SQL Procedure in Apps? 

Qns: How will you Call Reports with in Reports? 

Qns: What do you Mean by Incompatibility in Reports? 

Qns : What is significance of Mandatory Parameter in P_CONC_REQUEST_ID? 

Qns: How will you put Message in Log File? 

Qns : How will you put Message of Reports in LOG Files.