No Customizing items available
While seting up EWA report i get the following error. I am gettings this in SDCCN. Can any one throw some light why it is popping up.
Hi Sri:
Check this configuration guide; it may help you.
/people/federico.babelis2/blog/2006/04/23/sdcc--service-data-control-center-configuration-guide-for-dummies
Best Regards,
Federico
Similar Messages
-
Can not present customized item attribute.
I created new customized item attribute and new item type. On the items area, I chose to present the new customized item attribute.
After submit a new item, I can see the new customized attribute under edit mode, however, I can not see it under view mode. There's blank line instead.
Any advice? Thanks!It could be a problem with caching. Turn off caching on the page and see if that solves the problem. There may be a problem with the way that caching is configured on your site - if that's the case, you should contact Oracle Support for help.
There are also a number of patches available for the initial 9.0.2 release - although I couldn't reproduce your problem, it might have been related to an earlier bug affecting 9.0.2. The patches are available from Metalink. I strongly recommend moving to 9.0.2.6 as quickly as possible - you can register for the 9.0.2.6 upgrade at http://portalcenter.oracle.com/upgrades.
Regards,
Jerry
PortalPM -
I am new to J2ME.
i have created one form by using high level UI. filled color to the form by using custom item class. i want to append high level UI components such as choice group , string item etc into that coloured rectangular area into the form. how can i append? Is this possible? Also i need code for this plz reply.
Is there any other method available to change the back ground color without canvas?Did you ask Google? You'd be surprised how much it knows.
Also, this is the wrong forum for asking J2ME API questions...
And, any forum is the wrong place to spam the same question repeatedly.
John -
Custom Item Types / Refresh
We have a portlet on a page containing status information on Customer Service Tickets, etc. This was built using a custom item type and stored procedures.
The problem we're having is that the portlet will only refresh upon login. Using the browser refresh and reloading the page does not invoke the procedures.
Is there a solution to this? Is there a better way of building this application?hi Brijesh,
one idea i have is to create a table where you insert a value once the item gets created (maybe the itemid). now add an if statement to your custom item type procedure where you check if the itemid is available in this table. if yes do nothing (null;) if it is not available execute the procedure since it is the first time the procedure is executed (means the item gets created).
regards,
christian -
BAPI for Sales Order item availability check
hi all !!!!!!!!!
May I know how to force SO item to perform AV check?
What BAPI or function should I use (In custom program, not user-exit)?
I use BAPI_SALESORDER_CHANGE to insert or update schedule lines but the confirm qty is always zero!!!! When I go into the SO to click the "Item Availability" manually, the AV check is run and qty is confirmed
I am using product allocation
thanksHi,
Could you please tell me how to use ISM_ITEM_FCODE_AVAILABLE_CHECK?
I can't find any document of it
I am using BAPI_SALESORDER_CHANGE in Z-program.
I need to call ISM_ITEM_FCODE_AVAILABLE_CHECK after calling BAPI_SALESORDER_CHANGE???
Thanks in advance -
Calculate interest in customer items and posting as a noted Items
Hi!
I would like to know if is possible calculate interest for a customer item and posting the result as a noted items instead a normal posting?
Thanks in advance!
John MarceloHi,
I really doubt whether this functionality is available in standard SAP functionality.
Regards,
Ravi -
Report FBL1N with flag Customer items
Hello,
When I set the flag "Customer Items" in the selection screen of the report FBL1N I can display the vendor items and also the related custome items.
The problem is that I can display the list of all the vendors and below the list of the customers with the total balance.
I'd like to display the vendor items with the balance of the vendor invoices then the related customer items with the balance of the customer invoices and then the balance of the vendor and customer invoices.
Is it possible?
Please let me know.
Thanks a lot in advance
Kind Regards,
EmanuelaHello,
Thanks for your answer.
My problem is another one.
I have two vendors:
- Vendor A
- Vendor B
This to Vendors are linked to the following Customers:
- Customer A
- Customer B
If I execute the FBL1N with the falg customeer items, I can display:
1) List of Vendor A invoices and total amount
2) List of Vendor B invoices and total amount
3) List of Customer A invoices and total amount
4) List of Customer B invoice sand total amount
5) Balance of Vendor (A + B) and Customer (A+B) invoices
I'd like to find a way to modify the sequence because I need to have:
1) List of Vendor A invoices and total amount
2) List of Customer A invoices and total amount
3) Balance of Vendor A and Customer A invoices
4) List of Vendor B invoices and total amount
4) List of Customer B invoices and total amount
5) Balance of Vendor B and Customer B invoices
Only in this way I can display properly the result of compensation for each couple of Vendor/Customer.
In the standard display the result has no meaning.
Thanks a lot for your help
Cheers,
Emanuela -
Fbl5n: The printer provides me only one customer items for each page...
Hi all,
launching t.code FBL5N, and printing the repost list, the printer provides me only one customer items for each page...
I'd like obtaining more customer items for each page...
What to do?
ThanksHi Umberto..
Thats how the standard report works..
To meet your requirement, you would probably need to look at another standard report.
In case you need further clarification, please feel free to write to me..
Good Luck!
Lucid-Mind... -
Customer Item Open Interface Validation
Hi Folks,
I have to write package for customer item open interface ,
can anyone let me know what are the validation required or if any one have package written ,please share it with me .[email protected]
Waiting for your kind response.
Thanks in advance....
Regards
RPHi
Please find the code below for Customer Item Interface
HTH
Dinesh
declare
ex_not_ok exception ;
Cursor cur_cust_item is
select b.*,rowid from btl_cust_item b ;
rec_cur_cust_item cur_cust_item%rowtype;
vc_rowid varchar2(50);
vc_error_desc varchar2(2000);
vc_org_code varchar2(20) :='F02';
vc_org_id varchar2(20) ;
vc_inv_item number ;
vc_cust_id varchar2(50) ;
vc_create_by number;
vc_last_updated_by number;
vc_user_name varchar2(100);
vc_login_name varchar2(30) := '&1';
vc_master number;
begin
vc_org_id := &2 ;
vc_master := &3;
begin
select user_id ,last_updated_by ,user_name
into vc_create_by ,vc_last_updated_by , vc_user_name
from fnd_user
where user_name = vc_login_name;
end;
open cur_cust_item; -- open cursor
loop
begin
fetch cur_cust_item
INTO rec_cur_cust_item;
vc_rowid := rec_cur_cust_item.rowid;
exit when cur_cust_item%NOTFOUND;
-- perform the mandatory validations
-- 1. Check the validity of the customer
begin
select count(*)
into vc_cust_id
from ra_customers
where upper(customer_number) = upper(rec_cur_cust_item.customer_number);
if vc_cust_id > 0 then
null;
else
vc_error_desc := rec_cur_cust_item.customer_number||' '|| rec_cur_cust_item.customer_name ||' - Customer Number Does not Exist in Ra_customers';
raise ex_not_ok;
end if;
exception
when no_data_found then
update btl_cust_item
set process_flag = 'E',
error_message = 'XREF- Customer Does not exist '||vc_error_desc
where rowid = vc_rowid;
end ;
-- 2. Check that the Customer Item Is not Null
begin
if rec_cur_cust_item.customer_item_number is not null then
null;
else
vc_error_desc := rec_cur_cust_item.Customer_Number ||' - '|| rec_cur_cust_item.customer_item_number || ' - Customer Item has no value ';
raise ex_not_ok;
end if;
end;
-- 3. Validate the Inventory Item
begin
select count(*)
into vc_inv_item
from mtl_system_items a, org_organization_definitions b
where a.organization_id = b.organization_id
and rec_cur_cust_item.inventory_item = segment1
and a.organization_id = vc_org_id;
if vc_inv_item != 0 then
null;
else
vc_error_desc := 'Inventory Item '|| rec_cur_cust_item.inventory_item ||' is not valid/exist in mtl_system_item ';
raise ex_not_ok;
end if;
end;
rec_cur_cust_item.commodity_code := 'MISC';
insert into mtl_ci_interface (
PROCESS_FLAG ,
PROCESS_MODE ,
TRANSACTION_TYPE ,
CUSTOMER_NUMBER ,
CUSTOMER_NAME ,
CUSTOMER_ITEM_NUMBER ,
ITEM_DEFINITION_LEVEL ,
COMMODITY_CODE ,
INACTIVE_FLAG ,
LOCK_FLAG ,
LAST_UPDATE_DATE ,
LAST_UPDATED_BY ,
CREATION_DATE ,
CREATED_BY ,
--LAST_UPDATE_LOGIN ,
ERROR_CODE ,
ERROR_EXPLANATION
values
'1' , --PROCESS_FLAG
'1' , --PROCESS_MODE
'CREATE' , -- TRNASACTION_TYPE
rec_cur_cust_item.customer_number , --CUSTOMER_NUMBER
rec_cur_cust_item.customer_name , --CUSTOMER_NAME
rec_cur_cust_item.customer_item_number, --CUSTOMER_ITEM_NUMBER
'1' , --ITEM_DEFINATION_LEVEL
rec_cur_cust_item.commodity_code , --COMMODITY_CODE
'2' , --INACTIVE_FLAG
'N' , --LOCK_FLAG
sysdate , --LAST_UPDATE_DATE
vc_last_updated_by , --LAST_UPDATED_BY
sysdate , --CREATION_DATE
vc_create_by , --CREATED_BY
--'10' , --LAST_UPDATE_LOGIN
'N' , --ERROR_CODE
' ' --ERROR_EXPLANATION
Insert into mtl_ci_xrefs_interface (
PROCESS_FLAG ,
PROCESS_MODE ,
TRANSACTION_TYPE ,
CUSTOMER_NUMBER ,
CUSTOMER_NAME ,
CUSTOMER_ITEM_NUMBER ,
ITEM_DEFINITION_LEVEL ,
INVENTORY_ITEM ,
MASTER_ORGANIzATION_ID ,
PREFERENCE_NUMBER ,
INACTIVE_FLAG ,
LOCK_FLAG ,
LAST_UPDATE_DATE ,
LAST_UPDATED_BY ,
CREATION_DATE ,
CREATED_BY ,
--LAST_UPDATE_LOGIN ,
ERROR_CODE ,
ERROR_EXPLANATION
Values
'1' , --PROCESS_FLAG
'1' , --PROCESS_MODE
'CREATE' , --TRNSACTION_TYPE
rec_cur_cust_item.customer_number, --CUSTOMER_NUMBER
rec_cur_cust_item.customer_name , --CUSTOMER_NAME
rec_cur_cust_item.customer_item_number, --CUSTOMER_ITEM_NUMBER
'1' , --ITEM_DEFINATION_LEVEL
rec_cur_cust_item.inventory_item, --INVENTORY_ITEM
vc_master , --MASTER_ORGANISATION_ID
'1' , --PREFERENCE_NUMBER
'2' , --INACTIVE_FLAG
'N' , --LOCK_FLAG
sysdate , --LAST_UPDATE_DATE
vc_last_updated_by , --LAST_UPDATED_BY
sysdate , --CREATION_DATE
vc_create_by , --CREATED_BY
--'10' , --LAST_UPDATE_LOGIN
'N' , --ERROR_CODE
' ' --ERROR_EXPLANATION
--dbms_output.put_line( ' Inserting into reference table - done');
exception
when ex_not_ok then
update btl_cust_item
set process_flag = 'E',
error_message = 'XREF-'||vc_error_desc
where rowid = vc_rowid;
end ;
end loop;
commit;
begin
dbms_application_info.set_client_info(' ');
end;
dbms_output.put_line ( ' End time ' || to_char( sysdate, 'DD-MON-YYYY HH24:MI:SS'));
exception
when others then
dbms_output.put_line( Sqlcode || ' ' || Sqlerrm );
end ;
/ -
Does anyone know what the Lock_flag is for the customer item open interface and what it should be set to when creating customer items? It is a required field but it is not explained in the 11.5.9 documentation.
Hi
I didn't find this flag in TRM of 11.5.10. In what table did you find it?
Regards,
Ricardo Cabral -
Problem in sales order Item availability
User created sales order with 5 materials, out of this 5 material first one material X not appear in MD04 transaction.
I try to re activate the item availability in sales order,but system not showing the availability control screen.
but in schedule line tab system show the order qty and confirmed qty on request dalivery date.
If I enter same material X in new sales order or same sales order once again it’s working properly.
Like to know the root cause for this issue and any solution to avoid this issue in future.
Thanks,
Karthikeyan RKarthikeyan,
This is why the SO item does not appear in MD04.
You can manually enter KSV in VA02, if you are sure this is the proper RqTy.
The most likely reason this field is blank is that a user manually removed it. In general, this field is 'determined' automatically during Sales order processing in one of several ways. However, in most implementations, a user can remove this entry, and the system will not repopulate unless the sales item category is somehow altered (which can also happen in a number of ways).
If a user did this manually, you can probably see this in the change log. VA03 > Environment > changes.
Beyond this attempt at finding a root cause, it is not usually time well spent to troubleshoot something that has only happened once. If it happens 'often', you may have to revisit. Unfortunately, the NEXT most common root cause that I have seen is 'enhancements', which can be a bear to troubleshoot.
Best Regards,
DB49 -
Data provider problem in custom item renderer
I have a complex, custom item renderer for a list. I add
items that I extracted from an xml to the data provider using the
IList interface. But when displaying the list, the items are all
screwed up. Each rendered item has some parts which are initialized
as different components depending on the values from the xml. This
initialization is called in the item renderer for the
creationComplete event.
The weird thing is that when I output the dataProvider to
check its values, some of the items have internal uids sometimes
and sometimes they don't. If I output the dataProvider right after
I add the items to it, none of them get internal uids. But from the
initialize method, some of them do and some don't.
To make things weirder, sometimes, as I scroll up and down
the list, the dynamic components get all switched up. I'm either
having a problem with internal uids or with the creation policies
for lists. Or it's probably some simpler mistake I have yet to see.
Anyone have any idea where the problem could lie? Any help is
greatly appreciated.Any successful render must:
1) override the set data property of the component
Further, best practice is to store any data you need in the
override set data(), and call invalidateProperties(). Then do the
actual work in an override commitProperties() function.
The framework is smart about when to call commitProperties
efficiently. set data() gets called much more often.
Tracy -
Alert box:No more free items available, please create new one
Hi,
We are running a SAP ERP Ecommerce, we get a strange alert box message "no more free items available, please create a new one". This alert window pops up only when you have created one order in a session and you are trying to create another order. Has anyone come across this issue?
Steps to recreated this issue
1. Create an order with any product - quantity is rounded to next possible value.
2. Order created, close the order.
3. Trying to create new order. (Product field is not a text box anymore)
4. Try to transfer product from catalog by hitting shopping basket icon.
5. Error message -> "No more free items available, please create new one".
Thanks,
-TarunHi,
We are running a SAP ERP Ecommerce, we get a strange alert box message "no more free items available, please create a new one". This alert window pops up only when you have created one order in a session and you are trying to create another order. Has anyone come across this issue?
Steps to recreated this issue
1. Create an order with any product - quantity is rounded to next possible value.
2. Order created, close the order.
3. Trying to create new order. (Product field is not a text box anymore)
4. Try to transfer product from catalog by hitting shopping basket icon.
5. Error message -> "No more free items available, please create new one".
Thanks,
-Tarun -
Display filename in url for custom items
Hi - I'm rying to find out how to open a word doc in a browser and display the FILENAME (xyz.doc) instead of the NAME (123.doc) - which comes from the wwdoc_document$ tbl .
The word document was added to a portal page via a file attribute within custom text item. It seems that the document is not referenced within the actual page group when using the custom item compared to using standard file item format.
I can open the doc in browser using the NAME format - eg, .../portal/pls/portal/docs/1/1234.doc but I need to open via the PAGEGRP/FILENAME format eg, .../portal/page/portal/PAGEGRP/xyz.doc
BTW - We're using portal 10.1.4
Any ideas appreciated
Cheers,
JustinHi guys,
I finally discover the solution. Just try this:
First, create a Procedure like this:
PROCEDURE ShowSaveDoc (pFile wwdoc_document$.name%TYPE) IS
v_BlobContent wwdoc_document$.blob_content%TYPE;
v_MimeType wwdoc_document$.mime_type%TYPE;
v_Filename wwdoc_document$.filename%TYPE;
BEGIN
SELECT blob_content, mime_type, filename
INTO v_BlobContent, v_MimeType, v_Filename
FROM wwdoc_document$
WHERE name = pFile;
owa_util.mime_header(v_MimeType, FALSE);
htp.p('Content-Length: ' || DBMS_LOB.getlength(v_BlobContent));
htp.p('Content-Disposition: attachment; filename="' || v_Filename || '"');
owa_util.http_header_close;
wpg_docload.download_file( v_BlobContent );
EXCEPTION
WHEN NO_DATA_FOUND THEN
htp.p('Error - No Data Was Found');
WHEN OTHERS THEN
htp.p('Error - ' || || SQLERRM);
END;
On the HTML code where you have the link try this:
htp.p('< a id="someid" title="download" alt="download"
h_ref="/portal/pls/portal/portal.galeria_pkg.showsavedoc?pFile=' ||rec.id_doc || '"> Download '||rec.docDescription||'</a>');
where the rec.id_doc is the wwdoc_document$.name of your document.
Try it and tell me if it worked.
Its Working for me.
Thanks. -
How to force Portal not to display item content for a custom item
Hi,
I've read in several places questions about rendering an Item in a custom way, without letting portal
display the item content, if you read along I've discovered a SIMPLE WAY to force portal not to
display the content item.
As per bugs and requests on metalink it seemed that in many versions of Oracle Portal (mine is 9.0.4.1)
this is impossible, since even if we remove the "Item Content" from the list of displayed attributes in the
region, Portal does display it anyway, just after every other Attribute.
- Re: using an item type procedure
- Metalink BUG # 3998251 "ENH: SHOULD BE ABLE TO HIDE "ITEM CONTENT" FOR TEXT ITEMS OR NEED A NEW ITEM TYP" and is being looked into internally whether it is feasible to include this in future releases.
- Metalink Doc ID: Note:290534.1 Subject: Unable to Hide the "Item Content" Attribute for a Text Item
Mine scenario was the usual one:
-oracle portal 9.4.0.1
-a custom item based on custom text (so as to have the RTE to edit HTML).
-A few attributes that help me define the class of an enclosing DIV tag that I wanted to put (a class and an ID)
-A plsql call associated to the custom item, with the flag "display inline" checked
-The dirty HTML generated by the built-in Oracle RTE (with BODY and HTML tags enclosing the actual HTML)
-The region that will contain the item is set so that just the "Function Call" is (or should be) displayed
I wanted to control entirely the display of the item text, while enclosing it in a custom DIV tag.
After a few tries, one of which involved forcing an HTML comment around the item content that Portal stubbornly
displayed, I've discovered this simple way. I don't know hom much this way is portable, but is done entirely with the APIs.
In the stored procedure that displays the item, that I encolose, i just do:
1) retrieved the ITEM querying WWSBR_ALL_ITEMS;
2) updated the ITEM via WWSBR_API.MODIFY_ITEM, passing as display_otpion the value WWSBR_API.FULL_SCREEN!!
Here I try a little explanation:
An item just created has FULLSCREEN=1 and INPLACE=0. This way the stored procedure is executed
AND the item content is displayed.
WIth the modify_item, the item gets FULLSCREEN=1 and INPLACE=2 !! This seems strange since the docs
tells that inplace can be 0 or 1. But this works.
I've played with the WWV_THINGS table directlry, and setting INPLACE to 0, 2 or 3 works as well, while
if it is set to 1, it behave the usual way.
The trick is to have FULLSCREEN to 1 while INPLACE is not set to 1.. and this was the easiest solution.
I'd like to receive a feedback from Oracle regarding this behaviour.
Bye
Walter
--- This is the procedure ---
CREATE OR REPLACE PROCEDURE show_item_mod(itemid in varchar2, styleid in varchar2,
styleclass in varchar2) IS
html CLOB;
idx1 number;
idx2 number := 0;
item portal.wwsbr_all_items%rowtype;
BEGIN
--retrieve item content
select * into item from portal.wwsbr_all_items where id=itemid;
html := item.text;
--check if text body contains "dirty" tags as put by Oracle RTE editor
--and strips text from <BODY> to </BODY>
idx1 := instr(html,'<BODY>');
if(idx1 > 0) then
--strip text of broken tags
idx2 := instr(html,'</BODY>');
html := substr(html,idx1+6,idx2-idx1-6);
end if;
--check if this is first time we enter this procedure
--or if text has changed
if(item.description is null or idx2 != 0) then
--update filename so next time we won't enter the IF branch
--update DIPLSAY OPTION to FUllSCREEN
--update text, if this was changed
idx1 := portal.wwsbr_api.modify_item(
p_master_item_id => item.masterid,
p_item_id => itemid,
p_caid => item.caid,
p_folder_id => item.folder_id,
p_display_name => item.display_name,
p_region_id => item.folder_region_id,
p_display_option => portal.WWSBR_API.FULL_SCREEN,
p_category_id => item.category_id,
p_category_caid => item.category_caid,
p_author => item.author,
--p_description => item.description ,
p_keywords => item.keywords ,
p_text => html ,
p_folderlink_id => item.folder_link_id ,
p_folderlink_caid => item.folder_link_caid ,
p_publish_date => item.publish_date ,
p_expire_mode => item.expiremode,
--p_file_filename => 'Changed!',
p_description=> 'changed!',
p_addnewversion => FALSE,
p_access_level => portal.wwsbr_api.FOLDER_ACCESS
-- process cache invalidation messages
portal.wwpro_api_invalidation.execute_cache_invalidation;
end if;
htp.prn('<div ');
if(styleclass is not null) then
htp.prn(' class="' || styleclass || '" ');
end if;
if(styleid is not null) then
htp.prn(' id="' || styleid || '" ');
end if;
htp.prn('>');
htp.p(html);
htp.p('</div>');
END show_item_mod;
/Hi,
I've read in several places questions about rendering an Item in a custom way, without letting portal
display the item content, if you read along I've discovered a SIMPLE WAY to force portal not to
display the content item.
As per bugs and requests on metalink it seemed that in many versions of Oracle Portal (mine is 9.0.4.1)
this is impossible, since even if we remove the "Item Content" from the list of displayed attributes in the
region, Portal does display it anyway, just after every other Attribute.
- Re: using an item type procedure
- Metalink BUG # 3998251 "ENH: SHOULD BE ABLE TO HIDE "ITEM CONTENT" FOR TEXT ITEMS OR NEED A NEW ITEM TYP" and is being looked into internally whether it is feasible to include this in future releases.
- Metalink Doc ID: Note:290534.1 Subject: Unable to Hide the "Item Content" Attribute for a Text Item
Mine scenario was the usual one:
-oracle portal 9.4.0.1
-a custom item based on custom text (so as to have the RTE to edit HTML).
-A few attributes that help me define the class of an enclosing DIV tag that I wanted to put (a class and an ID)
-A plsql call associated to the custom item, with the flag "display inline" checked
-The dirty HTML generated by the built-in Oracle RTE (with BODY and HTML tags enclosing the actual HTML)
-The region that will contain the item is set so that just the "Function Call" is (or should be) displayed
I wanted to control entirely the display of the item text, while enclosing it in a custom DIV tag.
After a few tries, one of which involved forcing an HTML comment around the item content that Portal stubbornly
displayed, I've discovered this simple way. I don't know hom much this way is portable, but is done entirely with the APIs.
In the stored procedure that displays the item, that I encolose, i just do:
1) retrieved the ITEM querying WWSBR_ALL_ITEMS;
2) updated the ITEM via WWSBR_API.MODIFY_ITEM, passing as display_otpion the value WWSBR_API.FULL_SCREEN!!
Here I try a little explanation:
An item just created has FULLSCREEN=1 and INPLACE=0. This way the stored procedure is executed
AND the item content is displayed.
WIth the modify_item, the item gets FULLSCREEN=1 and INPLACE=2 !! This seems strange since the docs
tells that inplace can be 0 or 1. But this works.
I've played with the WWV_THINGS table directlry, and setting INPLACE to 0, 2 or 3 works as well, while
if it is set to 1, it behave the usual way.
The trick is to have FULLSCREEN to 1 while INPLACE is not set to 1.. and this was the easiest solution.
I'd like to receive a feedback from Oracle regarding this behaviour.
Bye
Walter
--- This is the procedure ---
CREATE OR REPLACE PROCEDURE show_item_mod(itemid in varchar2, styleid in varchar2,
styleclass in varchar2) IS
html CLOB;
idx1 number;
idx2 number := 0;
item portal.wwsbr_all_items%rowtype;
BEGIN
--retrieve item content
select * into item from portal.wwsbr_all_items where id=itemid;
html := item.text;
--check if text body contains "dirty" tags as put by Oracle RTE editor
--and strips text from <BODY> to </BODY>
idx1 := instr(html,'<BODY>');
if(idx1 > 0) then
--strip text of broken tags
idx2 := instr(html,'</BODY>');
html := substr(html,idx1+6,idx2-idx1-6);
end if;
--check if this is first time we enter this procedure
--or if text has changed
if(item.description is null or idx2 != 0) then
--update filename so next time we won't enter the IF branch
--update DIPLSAY OPTION to FUllSCREEN
--update text, if this was changed
idx1 := portal.wwsbr_api.modify_item(
p_master_item_id => item.masterid,
p_item_id => itemid,
p_caid => item.caid,
p_folder_id => item.folder_id,
p_display_name => item.display_name,
p_region_id => item.folder_region_id,
p_display_option => portal.WWSBR_API.FULL_SCREEN,
p_category_id => item.category_id,
p_category_caid => item.category_caid,
p_author => item.author,
--p_description => item.description ,
p_keywords => item.keywords ,
p_text => html ,
p_folderlink_id => item.folder_link_id ,
p_folderlink_caid => item.folder_link_caid ,
p_publish_date => item.publish_date ,
p_expire_mode => item.expiremode,
--p_file_filename => 'Changed!',
p_description=> 'changed!',
p_addnewversion => FALSE,
p_access_level => portal.wwsbr_api.FOLDER_ACCESS
-- process cache invalidation messages
portal.wwpro_api_invalidation.execute_cache_invalidation;
end if;
htp.prn('<div ');
if(styleclass is not null) then
htp.prn(' class="' || styleclass || '" ');
end if;
if(styleid is not null) then
htp.prn(' id="' || styleid || '" ');
end if;
htp.prn('>');
htp.p(html);
htp.p('</div>');
END show_item_mod;
/
Maybe you are looking for
-
Query to find out weekly average of job execution time
I have a table which has the following details: CREATE TABLE JOB_DETAILS (JOB_START_DATE DATE, JOB_END_DATE DATE, JOB_START_TIME NUMBER, JOB_END_TIME NUMBER, HOURS_OF_EXECUTION NUMBER, DETAILS VARCHAR2(20)); INSERT INTO JOB_DETAILS VALUES ('01-FEB-20
-
Need Help Upgrading OATS Ver:8.01.0249 to OATS Ver:8.50.0260
I'm currently having troubles upgrading Oracle Application Testing Suite from version 8.01.0249 to version 8.50.0260. The database for OATS is SQL Server 2000. I've unistalled the application ver 8.01.0249 completely. Followed by installing the appli
-
Internal order not posted, backdating
Hello, When AUC is created with investment order was given as reference, but unfortunately, system configuration was given to hide the investment order, hence forth, Controlling document debiting the order didn't take place. The order hence forth att
-
Slow connect by prior ... start with subquery in 9i
Has anyone come across a performance problem (compared to 8i) when using hierarchical queries where the START WITH list is generated by a subquery? The culprit seems to be an extra visit to the subquery block as part of the CONNECT BY WITH FILTERING
-
I have recently changed from a macbook to macbook pro and all my files were saved on time machine but some won't open. How do I open them?