27
Add item images in iProcurement catalogue In iProcurement, items can be queried and selected for raising requisitions. Whenever a user queries for a catalog item, the item is displayed in the catalog search screen along with item details, like category, price, supplier, etc. Oracle gives the option to display item images as well. There are 2 options, 1. Enter items in a BPA for a supplier and attach image names 2. Enter items in Quotation for a supplier and attach image names Both options are demonstrated below along with the configuration steps and the usage. Configuration steps Set profile option Responsibility: System Administrator Navigation: Profile System POR: Extract BPA/Quote Images = Yes POR: Hosted Images Directory Set the value to the directory where you will be storing the image files to be used by iProcurement

Add Item Images in iProcurement Catalog

Embed Size (px)

Citation preview

Add item images in iProcurement catalogue

In iProcurement, items can be queried and selected for raising requisitions. Whenever a user queries for a catalog item, the item is displayed in the catalog search screen along with item details, like category, price, supplier, etc.

Oracle gives the option to display item images as well. There are 2 options,

1. Enter items in a BPA for a supplier and attach image names2. Enter items in Quotation for a supplier and attach image namesBoth options are demonstrated below along with the configuration steps and the usage.

Configuration steps

Set profile option

Responsibility: System Administrator

Navigation: Profile System

POR: Extract BPA/Quote Images = Yes

POR: Hosted Images DirectorySet the value to the directory where you will be storing the image files to be used by iProcurement catalogues. We shall use the directory, $OA_MEDIA/POR. Set the real path of this directory as the profile option value.

Important: The directory path will contain the URL extension of the image. For instance, after we drop the image in the $OA_MEDIA/POR directory on the server the actual directory path to the image file would be something like,

/d06/appltest/testcomn/java/oracle/apps/media/POR/

We can view the image from the front end as well if we type in the image URL as http://<<server name>> :<<port>>/OA_MEDIA/<<image file>>, in a web browser.POR: Show Thumbnail Images = Yes

UnixCreate a directory, POR, under $OA_MEDIA to store the images as we will store the images in $OA_MEDIA/POR

Copy images to this directory. We shall use 1 image for the time being, dustbin.JPG.Now enable DFF for PO Lines.Navigation: Application > Flexfield > Descriptive > Segments

Query for Application = Purchasing and Title = PO Lines.

Create a new Context, Picture Upload.

Click on Segments button. Add an attribute, ATTRIBUTE13 for Picture Upload.

Go to the Segment details form,

Save and compile the DFF.

Add images using Blanket Purchase Agreement

Before the raising the BPA we shall check item CMS002 for which we shall add the image. Before the image is added the item looks like the following. Note the Supplier attached to the item.

Now we need to create a Blanket Purchase Agreement or BPA for item CMS002.

Check Global box.Click on PO Line DFF. Select Context, “Picture Upload“.

Enter the image file name.

Save the BPA. Send the BPA for approval by clicking on Approve button.

Press OK button. Ensure that BPA is approved before you go to the next step.Let us check the data from the backend. Connect to Apps database.

Execute the query to see the PO Header

123

SELECT po_header_id, segment1 FROM po_headers_allWHERE segment1 = '411005548'

Now check the PO Line

1 SELECT item_description, attribute_category, attribute13

23

FROM po_lines_all WHERE po_header_id = 108681

Navigate to Purchasing administrator responsibility and execute the following programs,

Catalog Data Extract – ClassificationsSet parameters as

Log level = 5

Batch size = 5000

Catalog Data Extract – ItemsSet parameters as

Log level = 5

Batch size = 5000

Rebuild Catalog Item InterMedia IndexThis request does not take any parameters.

Connect to Apps database and check the iProcurement tables to see if the item is updated or not.

Check the Procurement item number ‘CMS002‘, i.e. the same item for which the BPA has been raised and approved.123

SELECT rt_item_id, supplier, internal_item_num FROM icx_cat_items_b WHERE internal_item_num = 'CMS002'

The 2nd line is important for us as we are looking at the item, CMS002, that will be supplied by AL GURG STAIONERY. Note theRT_ITEM_ID value.123

SELECT primary_category_name, supplier, internal_item_num, picture, thumbnail_image FROM icx_cat_items_tlp WHERE internal_item_num = 'CMS002'

Now check the item in iProcurement

The item, for the supplier for whom the BPA was raised, displays the image.

Add images using Quotations

In iProcurement, check the catalog items CMS005 and CMS006Search for item CMS005

Search for item CMS006

In the database query for the items in iProcurement tables,

123

SELECT rt_item_id, supplier, internal_item_num FROM icx_cat_items_b WHERE internal_item_num IN ('CMS005', 'CMS006')

123

SELECT primary_category_name, supplier, internal_item_num, picture, thumbnail_image FROM icx_cat_items_tlp WHERE internal_item_num IN ('CMS005', 'CMS006')

Now go to Purchasing responsibility

Navigation: RFQ’s and Quotations > Quotations

Create a quotation

Supplier: Select a supplier

Type: Catalog QuotationEffectivity: Enter a date range so that the current date falls within the range

Check the box, Approval Required.Enter the items for which you want to enter images

Enter the details for item, CMS005.

Enter the DFF values for the item with image file name

Now enter the data for item CMS006

Enter the DFF

Click OK to close this window. On the main quotation form select each item line and click on Price Break button. Enter the Quantity for both items as shown below.

Save and close this window. Now the Approve button on the main quotation form is enabled.

Click on Approve. Enter the Type, Reason and Effective dates.

Click on OK button to approve the quotation. A popup is shown with the approval message.

Click OK. Now the quotation is approved. Change the Status field of the quotation header to Active.

Save the quotation.

Now execute the 3 programs in series,

1. Catalog Data Extract – Classifications2. Catalog Data Extract – Items3. Rebuild Catalog Item InterMedia IndexCheck the log of the program, Catalog Data Extract – Items.12345678910111213

+-----------------------------| Starting concurrent program execution...+-----------------------------

Arguments------------22500------------

+---------------------------------------------------------------------------+Start of log messages from FND_FILE+---------------------------------------------------------------------------+Commented out openLog

14151617181920212223242526272829303132333435363738394041424344454647484950515253

04/08/12 15:30:07:3 BEGIN Extractor04/08/12 15:30:07:3 Start to extract ITEM: job number 13527542, system process id 1170704/08/12 15:30:07:3 Commit size: 2500, Debug level: 204/08/12 15:30:07:3 Loader Values[Load Catalog Groups: N, Load Categories: Y, Load Template Headers: N, Load Contracts: Y, Load Item Master: Y, Load Template Lines: N, Load Internal Items: Y, Cleanup Flag: N, Catalog Groups Last Run Date: , Categories Last Run Date: 04/08/12 15:29:06, Template Headers Last Run Date: , Contracts Last Run Date: 04/08/12 15:26:09, Item Master Last Run Date: 04/08/12 15:26:09, Template Lines Last Run Date: , Vendor Last Run Date: 04/08/12 15:26:09, Internal Item Last Run Date: 04/08/12 15:26:09, Load One Time Items In all Langs: N]04/08/12 15:30:07:3 Extract item data04/08/12 15:30:07:3 Multi Org Flag: Y04/08/12 15:30:07:3 Profile option POR_EXTRACT_A13_AND_A14: Y04/08/12 15:30:07:3 Handling vendors with name changed.04/08/12 15:30:07:5 Database Version: 11.204/08/12 15:30:09:91 Number of processed items in batch: 1, for vendor name change: 104/08/12 15:30:09:91 Total Number of batches processed for vendor name change : 104/08/12 15:30:09:91 Handling vendor sites with name changed.04/08/12 15:30:09:93 Update last run dates04/08/12 15:30:09:96 Cache hash size is 3276804/08/12 15:30:09:96 Start to process TEMPLATE04/08/12 15:30:09:97 Database Version: 11.204/08/12 15:30:09:98 Processed records: 004/08/12 15:30:09:98 Processed records: 004/08/12 15:30:09:98 Processed records: 004/08/12 15:30:09:98 Processed records: 004/08/12 15:30:09:98 Total processed price rows: 004/08/12 15:30:09:98 Cleanup items without price.04/08/12 15:30:09:98 Total deleted items without price : 004/08/12 15:30:09:98 Set active flags.04/08/12 15:30:09:98 Total processed rows to set active flag: 004/08/12 15:30:09:98 Update WHO.04/08/12 15:30:09:98 Total processed rows to update WHO columns: 004/08/12 15:30:09:99 Database Version: 11.204/08/12 15:30:09:0 Update last run dates04/08/12 15:30:09:0 Start to process CONTRACT04/08/12 15:30:09:2 Database Version: 11.204/08/12 15:30:12:21 Database Version: 11.204/08/12 15:30:12:23 Processed records: 204/08/12 15:30:12:23 Processed records: 204/08/12 15:30:12:23 Processed records: 204/08/12 15:30:12:23 Processed records: 204/08/12 15:30:12:23 Total processed price rows: 2

54555657585960616263646566676869707172737475767778798081828384858687888990919293

04/08/12 15:30:12:23 Cleanup items without price.04/08/12 15:30:12:24 Total deleted items without price : 004/08/12 15:30:12:24 Set active flags.04/08/12 15:30:12:24 Total processed rows to set active flag: 404/08/12 15:30:12:24 Update WHO.04/08/12 15:30:12:24 Total processed rows to update WHO columns: 404/08/12 15:30:12:26 Database Version: 11.204/08/12 15:30:12:27 Start to process GLOBAL_AGREEMENT04/08/12 15:30:12:29 Database Version: 11.204/08/12 15:30:12:30 Processed records: 004/08/12 15:30:12:30 Processed records: 004/08/12 15:30:12:30 Processed records: 004/08/12 15:30:12:30 Processed records: 004/08/12 15:30:12:30 Total processed price rows: 004/08/12 15:30:12:30 Cleanup items without price.04/08/12 15:30:12:30 Total deleted items without price : 004/08/12 15:30:12:30 Set active flags.04/08/12 15:30:12:30 Total processed rows to set active flag: 004/08/12 15:30:12:30 Update WHO.04/08/12 15:30:12:30 Total processed rows to update WHO columns: 004/08/12 15:30:12:31 Database Version: 11.204/08/12 15:30:12:33 Update last run dates04/08/12 15:30:12:33 Start to process ASL04/08/12 15:30:12:34 Database Version: 11.204/08/12 15:30:12:35 Processed records: 004/08/12 15:30:12:35 Processed records: 004/08/12 15:30:12:35 Processed records: 004/08/12 15:30:12:35 Processed records: 004/08/12 15:30:12:35 Total processed price rows: 004/08/12 15:30:12:35 Cleanup items without price.04/08/12 15:30:12:35 Total deleted items without price : 004/08/12 15:30:12:35 Set active flags.04/08/12 15:30:12:35 Total processed rows to set active flag: 004/08/12 15:30:12:35 Update WHO.04/08/12 15:30:12:35 Total processed rows to update WHO columns: 004/08/12 15:30:12:36 Database Version: 11.204/08/12 15:30:12:37 Start to process ITEM04/08/12 15:30:12:39 Database Version: 11.204/08/12 15:30:12:73 Processed records: 004/08/12 15:30:12:73 Processed records: 0

949596979899100101102103104105106107108109110111112

04/08/12 15:30:12:73 Processed records: 004/08/12 15:30:12:73 Processed records: 004/08/12 15:30:12:73 Total processed price rows: 004/08/12 15:30:12:73 Cleanup items without price.04/08/12 15:30:12:73 Total deleted items without price : 004/08/12 15:30:12:73 Set active flags.04/08/12 15:30:12:73 Total processed rows to set active flag: 004/08/12 15:30:12:73 Update WHO.04/08/12 15:30:12:73 Total processed rows to update WHO columns: 004/08/12 15:30:12:74 Database Version: 11.204/08/12 15:30:12:76 Update last run dates04/08/12 15:30:12:76 All updated price rows processing done: 204/08/12 15:30:12:80 END Extractor04/08/12 15:30:12:80 Populate interMedia index BEGIN04/08/12 15:30:42:22 Populate interMedia index END+---------------------------------------------------------------------------+End of log messages from FND_FILE+---------------------------------------------------------------------------+

+---------------------------------------------------------------------------+Executing request completion options...

Note that 2 records have been updated in the Catalog section of the log file. This means both the items have been updated with the supplier and the images. Let us query the iProcurement table,

12

SELECT primary_category_name, supplier, internal_item_num, picture, thumbnail_imageFROM icx_cat_items_tlp

3 WHERE internal_item_num IN ('CMS005', 'CMS006')

We see that the item CMS005 and CMS006 are attached with the supplier and picture as well as the thumbnail image in the database. Let us check on the iProcurement catalog page now.

Search for CMS005

Again search for item CMS006

Both images have been applied through a single quotation.

Important: Loading images using quotations is the better method, as a quotation does not need to be fulfilled and for a single supplier there can be multiple quotations. Whereas when we upload images through a BPA this will be a dummy BPA for which no Releases will be created but if genuine BPAs are raised for the same supplier in Oracle the dummy BPA will be displayed in reports and forms which will be confusing to users.