Source Used Item Attribute

Hi All,
I am using HTML DB 2.0. I am a new user of HTMLDB. Please explain the difference between 2 Source Used Item Attribute
1. Always, replacing an existing value in session state
2. Only when current value in session state is null.
If there is already a thread on this, please give me the link.
Thanks in advance
Monika

So are you saying that this behaviour is different in v1.6?Yes. Otherwise the PPR stuff wouldn't work when those requests referenced uncommitted session state.
You mean, "will NOT be able to ..."No, it will be able to see the value of the item (in uncommitted session state). That's the change from 1.6.
What is an example of a "session-state committing source method"? Code that not only sets the source of the item for display but as a side-effect cause update_cache_with_write to occur for that item or for any other item(s). For example a PL/SQL Function source type that returns the source value and also does :P1_ITEM := 'value'; .
Scott
Message was edited by:
sspadafo

Similar Messages

  • "Source used" item best practice

    Hello,
    How can I configure an item with source used "Always, replacing any..." and source type="Database Column" and STILL not loose the entered value every time the page comes back (items are by default repopulated with DB column values, which make me loose all entered values),
    The reason why the page comes back before a submit is because I have some "Select List with Redirect" which dynamically populate other "select list" (dynamic LOV)
    How can solve/workaround this issue? Remember, I want all entered values NOT be reset by db column values
    Thanks for your help!
    Sam

    Sam,
    I've begun to use AJAX for this type of select list. Solves the caching issues nicely and doesn't cause an entire page refresh as the page isn't submitted until all the data is entered. Carl Backstrom has an example in his samples application - http://apex.oracle.com/pls/otn/f?p=11933:37
    Make that Denes Kubicek's - http://deneskubicek.blogspot.com/2008/04/cascading-select-list-in-tabular-form.html
    Dave
    Message was edited by:
    dsteinich
    Message was edited by:
    dsteinich

  • Why to use Item Attribute with Event in case of some controls

    A question about Event.Item
    When i saw the example of MenuBar , i observed that we can get the data of the MenuBar clciked   using a Event.Item@label .
    I am having a question here , please tell me why Flex Framework is designed in such a way that getting data from the Controls is different for different controls .
    I mean to ask why is it different in ncase of a MenuBar we have to use Event.item@label .
    CXan anybody please tell me why what significance does an Item attribute have in case of a Event ??
    Thanks in advance .

    It looks like you probably have ProductID setup as your key attribute. The key attribute has to be unique as it defines the granularity of your dimension. So based on the data you have shown ItemID should possibly be the key attribute. 
    http://darren.gosbell.com - please mark correct answers

  • How to control lookup table's attributes using 'item details' iview???

    Hi Friends,
    Using 'Item Details' iview we have an option to edit, visible or non-visible. But there is no option to control visible, editable or non-editable at attribute level of the lookup table.
    Does any one know any solution for this scenario apart from custom development using Java Api.
    Thanks,
    Raghavendra

    Hi Raags,
    I know that, at moment, is not possible in MDM standard iView to control  visible, editable or non-editable at attribute level of the lookup table.
    May be it will be possible in the future. More flexibility you can obtain using Java API.
    Regards,
    Vito

  • Dynamically create document type Item Attribute using WF_ENGINE.AddItem API

    Hi
    Is WF_ENGINE.AddItem API , supported to create document type Item attributes dynamically ? If yes how do we set the display name of the attribute. If no then is there is any other method to dynamically create document tyoe item attribute?
    Thanks

    Hi,
    If the document is stored on a file system, then I would replace the message body with a PL/SQL document which includes links to the files as straightforward URLs. There would be no need to include them in the Workflow in any way. For example, I recently worked with a client where all the (file) attachments made within eBusiness Suite were then migrated into Oracle Universal Content Management and the attachment was replaced with a URL to the new document. Any notifications now just reference the URL link to the document within the document management system in an HTML notification. While the processing is going on, the user is given the list of files that exist as attachments, but no links because the document is being processed by the management system.
    If the attachments are going to be stored in Workflow as documents, you won't be able to change the display name though - display name is set for the attribute on the message, not for each specific notification. Changing the value of the display name for the message would impact all notifications that use that message, which isn't what you want.
    What you need is to dynamically build the notification (either using PL/SQL or OA Framework) and include a list of attachments in the notification. This may be a direct link to the document (either in a document management system or on a file system somewhere) that you can render as a URL, or a link to code that can retrieve the document from the database and serve that to the user. This is not a straightforward piece of work.
    If this is purely internal, you might be better off having a custom form / screen which displays the different documents, and link to that from the notification. Or you could link to a standard form for the transaction and have the users pick up the attachments directly from the transaction.
    HTH,
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://www.workflowfaq.com/blog ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • What is the use fo source in items?

    Hi All,
    For every item there is a seprate a source under which we have OSurce type and source value.
    I would like to know in which scenerio we will be using the Source part?
    Thanks,
    Anoo..

    Hi,
    Can u explain in detail, because in my aplication there have used like this
    Source Used-Only when the current value in session state is null.
    Source Type-SQL Query.
    Source value or expression - SELECT deptno FROM dept WHERE deptno =V('P115_NEW_HIDDEN');
    Now my question was in which scenerio we have right or handle the above mentioned Query.
    As i am not geeting why they have used and when to be used?
    Thanks,
    Anoo..

  • Table component uses outdated attributes

    The text editor's table plugin [The table component] uses outdated markup for centering items vertically in a table cell:
    It renders: <td valign="middle">
    instead of using the modern:
    <td style="vertical-align:middle">
    This breaks the layout. I need to find out how to update the table plugin for the text editor.
    Anyone knows how to fix this?
    Thanks in advance,
    David

    I got a patch from Adobe support:
    You can do this change in [1] around line 672. You can change it to [3].
    Note that isIE is declared in [2] around line 67. You can remove the setAttribute all together if you want to use style attribute for all browsers.
    [1] /libs/cq/ui/widgets/source/widgets/form/rte/commands/Table.js
    [2] /libs/cq/ui/widgets/source/ext/source/ext-core/src/core/Ext.js
    [3]
    if (config.valign) {
                if (config.valign != noneConfig) {
    com.setAttribute(dom, "valign", config.valign);
                    if (!CQ.Ext.isIE){
    dom.style.verticalAlign = config.valign;
                } else {
    com.removeAttribute(dom, "valign");
                    if (!CQ.Ext.isIE){
    dom.style.verticalAlign = "";
    Regards,
      Pierre Chamoun

  • HTMLDB 1.6 Source Used difference

    (1.6 only) If all the fields on a form are Source Type=Database Column and Source Used=Only when current value in session state null, no data populates the form when called from the report edit link.
    We need to leave the Source Used as is since we have master select lists on the form that submit the form page back to itself and display child select lists.
    If I change the 1st form element source type to "Always...", then when I click the report edit link I do get all the form values from the database column as I expect. When I change the 1st form element source type back to "Only when current..." the form does not populate with values again.
    I exported the application from our production 1.5 version into 1.6. The application works as expected in 1.5 but not sure if this is a 1.6 change or is something else wrong and how do I go about fixing it.
    This one has me stumped. Thanks

    Paula and Satish,
    Thanks for the information. This is indeed a bug. Here's a summary of the problem:
    When a region with an item whose Source Used attribute is "Always, replacing any existing value in session state" is rendered on a page invoked with a URL that passes a value into that item, subsequent items in the region (in display sequence order) will not be sourced correctly if their currently cached value is null and if their Source Used attribute is "Only when current value in session state null". This behavior continues until another "Always" item is rendered whose value is not set in the URL.
    Workarounds: If the "Always" item whose value is set in the URL is a hidden item and no other items in the region reference its value during their rendering, the easiest workaround is to give it the highest sequence number in the region and group all other items having those identical properties along with it. For items with these properties (Always+URL input) that are not hidden or whose post-rendered values affect the rendering of later items in the region, it's necessary to interpose a hidden "Always" item between that item and the next "Only" item in the region. The most common case may be where the PK item used in an automated row fetch process is hidden and should be expected to have a value passed in the URL. Moving the PK item to the end of the region should be an easy fix.
    It's safe to say that this bug will be fixed in a patch release of some kind. Please don't ask when that will be available, we'll publish that information as soon as we know.
    Thanks again for helping us identify this problem.
    Scott

  • What happened to my View Source menu item?

    I'm pretty sure that I used to be able to view the coded contents of web pages in the past. I just tried to do this with a web page and my "View Source" selection item under the "View" menu is gone.
    Am I mistaken that Firefox used to have this feature? I have used Firefox, exclusively, for about the last 3 to 4 years, now; haven't used IE in quite a while.
    Maybe with my latest FF upgrade, that feature was deleted in the upgrade.

    Thanks. Glad to find more than ONE solution (I code "no right click" on most of the web pages I do). Tools / Web developer / Page Source works for me!

  • Problem with Configurator - Cannot Update Item Attributes for a Config item

    Hi!
    We configured an item to reproduce the following feature of Oracle Configurator in our business case (Oracle Configurator Modeling Guide - 115czmod.pdf): «For example, if you have raw materials that are ordered by lengths, do not create an item for each length. Instead, define a single item for each raw material with an attribute: Length. Then capture the needed length from the end user by a numeric input or from a List of Options, and associate that input with the attribute.»
    However, after we run the AutoCreate Configuration Items program the item was created in the Item Master but no Attribute was updated with the user defined values (within OConfigurator).
    We associated Item Attributes to Propoerties and these are associated to Feature Options.
    we wish to have the Item Descriptive Element Values (Item Catalog)
    transferred from the Configurator run time, after we configure any item.
    This is because we are working with item dimensions, such as length and width.
    We need to define these dimensions during the Configurator run time and have them transferred into the final configuration so that we can use them later on manufacturing. We wish to display these dimensions on a job.
    Support said that "The descriptive element value for the configuration item is copied from the model. This process will not look at the properties in the configurator.
    You may consider using the custom hook for catalog descriptions to get the selected attributes from CZ to the descriptive elements for the config item. Please see Custom CTO Packages under Setup page 2-63 in CTO Process Guide for more details."
    I'm trying to implement the suggested solution.
    I've customized user_catalog_desc procedure on CTO_CUSTOM_CATALOG_DESC package to populate the item catalog values.
    I'm failing to find the descriptive element values defined on configuratior for a specific inventory item id.
    I have managed to found a relation between "p_params.p_item_id" given in procedure user_catalog_desc and
    the configurated item_id in order to update the catalog data on the CTO_CUSTOM_CATALOG_DESC package.
    This is what I've done:
    procedure user_catalog_desc (
    p_params IN CTO_CUSTOM_CATALOG_DESC.inparams,
    p_catalog_dtls IN OUT NOCOPY CTO_CUSTOM_CATALOG_DESC.catalog_dtls_tbl_type,
    x_return_status OUT NOCOPY VARCHAR2)
    is
    begin
    declare
    counter number;
    i number;
    l_value varchar2(30);
    begin
    -- Put your logic here in such a way that you populate p_catalog_dtls
    -- parameter. p_catalog_dtls is a array of records. The attributes of
    -- this record are cat_element_name and cat_element_value.
    -- viz. record (
    -- cat_element_name varchar2(30),
    -- cat_element_value varchar2(30)
    -- Example : p_catalog_dtls(1).cat_element_value := 'XYZ';
    -- IMPORTANT : DO NOT ALTER THE VALUE OF cat_element_name . Doing so will
    -- result in incorrect or inconsistent behaviour.
    -- Make sure you set the x_return_status variable to one of the following:
    -- FND_API.G_RET_STS_SUCCESS to indicate success
    -- FND_API.FND_API.G_RET_STS_ERROR to indicate failure with expected status
    -- FND_API.FND_API.G_RET_STS_UNEXP_ERROR to indicate failure with unexpected status
    select count(*) into counter from MTL_DESCR_ELEMENT_VALUES
    where inventory_item_id = p_params.p_item_id;
    for i in 1 .. counter loop
    select
    distinct to_char(nvl(cz.input_num_val,cz.item_num_val)) into l_value
    from OE_ORDER_LINES_V oe
    , oe_order_headers_all oeh
    , CZ_CONFIG_CONTENTS_V cz
    where oe.header_id = oeh.header_id
    and oeh.order_number in (
    select distinct oeh.order_number
    from OE_ORDER_LINES_V oe
    , oe_order_headers_v oeh
    where oe.header_id = oeh.header_id
    and oe.inventory_item_id = p_params.p_item_id)
    and cz.ps_node_name = p_catalog_dtls(i).cat_element_name
    and oe.config_header_id = cz.config_hdr_id
    and oe.config_header_id in (select distinct cz.config_hdr_id from CZ_CONFIG_CONTENTS_V cz)
    and cz.ps_node_name in (select element_name from MTL_DESCR_ELEMENT_VALUES where inventory_item_id = p_params.p_item_
    id);
    p_catalog_dtls(i).cat_element_value := l_value;
    end loop;
    x_return_status := FND_API.G_RET_STS_SUCCESS;
    end user_catalog_desc;
    end;
    Although the customization seam correct the AutoCreate Configuration Items process
    terminates with warning, and the catalog info is not updated as expected.
    Can anyone help me on this?
    Many thanks in advance.
    Paulo Santos

    How did you solve this issue? During my testing I found there to be no link to the order lines when I was within this program. Therefore I am having issues getting the configuration information to populate the catalog. Is there a link and I just was doing it wrong? Thanks for any help!
    Thanks,
    Angela

  • Line item attributes

    why we use line item attributes for account dimension

    Line item detail provides a mechanism to collect detailed information about a balance in HFM.

  • Item attributes not read by IPC

    Requirement: Pricing in Web Catalog based on Product Master Attributes. (condition records use fields from product master data. These condition record do not get calculated in the Product price displayed in the produdct catalog).
    What we have done so far
    1.     Implemented BAdI CRM_ISA_HDR_PRICING and its method NEW_ITEM_VALUES_READ for passing additional Product Master Attributes  and their values.
    2.     Activated the call of the CRM_ISA_PRICING_ITMDATA_GET function module for additional data at item level by setting the parameter u2018doItemCallsu2019= TRUE.
    This function module calls the NEW_ITEM_VALUES_READ method of the CRM_ISA_HDR_PRICING BAdI. Additional item data is transferred by implementing the NEW_ITEM_VALUES_READ method.
    3.     The NEW_ITEM_VALUES_READ method returns the additional attributes in the structure ET-ITEMATTRIBUTES.
    We have referred the SAP Note: 1004533.
    Issue:
    1.     When debugging, the method NEW_ITEM_VALUES_READ is getting executed and the table structure ET_ITEMATTRIBUTES is populated with all the additional attributes (for e.g. ZZ_VARIETY) and the corresponding values.
    2.     In the Java Session log, when IPC is reading those values from the structure ET_ITEMATTRIBUTES, just after reading the first attribute it throws an exception as shown below and exits the loop that reads the values from the structure. Thus it does not able to read the additional attributes at all.
    <<Snapshot of the error from Session Log>>
    May 22, 2009 9:56:40 AM  SAPEngine_Application_Thread[impl:3]_23 Error   com.sap.isa.backend.crm.webcatalog.pricing.PriceCalculatorCRMIPC       Error occcurred in EAI layer "".
    java.lang.ClassCastException
    java.lang.ClassCastException
                   at com.sap.isa.backend.crm.webcatalog.pricing.PriceCalculatorCRMIPC.readItemDataFromBackend(PriceCalculatorCRMIPC.java:2751)
                   at com.sap.isa.backend.crm.webcatalog.pricing.PriceCalculatorCRMIPC.getDynamicPrices(PriceCalculatorCRMIPC.java:830)
                   at com.sap.isa.backend.crm.webcatalog.pricing.PriceCalculatorCRMIPC.getPrices(PriceCalculatorCRMIPC.java:1217)
                   at com.sap.isa.businessobject.webcatalog.pricing.PriceCalculator.getPrices(PriceCalculator.java:117)
    Any ideas on why even with the parameter 'doITEMcalls=TRUE',  IPC is not able to read the item attributes?
    thanks for any useful replies.

    Is there an adobe accessibility forum where I can check
    for? I could not understand your clue.
    Do you mean if I use Panel, this problem could be solved?

  • Source used and source type problems????

    please help.. i know i am being very thick here -
    i have a page with two text fields (say :P8_item1 and :P8_item2) which are not database columns, but which are populated by LOVs (displays descr, returns key value) from database columns. the first field i select the LOV item i desire and it appears in the text field. the second field is also a LOV but the 'where' clause is where a column in my LOV query is equal to the result of the first text field (ie :P8_item1). the LOV of the second column is finding no rows whcih is nonsense, because if i check in the DB it does find.
    what i am wondering is if indeed the contents of :P8_item1 are being transferred to the LOV of the second item. If i look at the properties of the 1st item, the source used is set to 'always, replacing any existing value in session state' and the source type is 'db column) - even though it really isnt..
    this is driving me nuts - any help would be great.
    thanks
    stafford

    Stafford,
    Values of items on the page are pushed into "session state" when the page is submitted. You're trying to create "cascading LOVs" without a full page submit - for that your need a little Ajax. LG worked on this some before and has begun work on some code that aims to make this easier. You can see the demo here:
    http://apex.oracle.com/pls/otn/f?p=987654321:54:0:::RP,54
    And you can find LG here:
    http://www.apexquebec.com
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen
    http://sourceforge.net/projects/plrecur
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • Using element attributes to show changes

    Hi,
    I'm working in a structured environment in FM7.2, and the job requires that we save out to SGML. I've been asked to show changes to my documents using a visual element but not change bars (they're already being used) - confused? I hope I can explain it clearly.
    We're creating parts lists, so basically we're working with pages of tables. We have the data from the OEM of the parts lists in hard copy. We have to reproduce that list for our client. The hard copy from the OEM shows their changes to the parts list on the left side of the table - we need to keep those marks but we also need to indicate changes to the list where our client has changed parts and we need to show those changes on the right side of the table with change bars. What I'm thinking is if I could use element attribute data to show the OEM (left side) changes and then that allows me to use the change bars for the client (right side) changes. The element for the item/part already has an attribute called 'change'. I recall reading somewhere that attributes can be used like this but I can't recall where I read it. If all that makes sense and it can be done, my question is how to implement it?
    Any thoughts on this appreciated.
    Carl

    The latest documents I copuld find describing the workings of EDD etc. are those two:
    FrameMaker 8.0 Structure Application Developer's Guide
    FrameMaker 8.0 Structure Application Developer  Reference
    It seems they are not linked from any page, at least Google was not able to find them. The former version (FM7.1) of those documents as a single document can be found here:
    http://www.adobe.com/devnet/framemaker/onlinemanuals.html (Structure Application Developer Guide)
    Since the way the EDD works has not changed very much, you may take any of those, to learn about context rules etc.
    Scriptorium Publishing has some workbooks available:
    http://www.scriptorium.com/books/framemaker-workbooks
    The content of those is partly available in a Wiki at http://wiki.scriptorium.com/
    HTH,
    - Michael
    PS: You did not share the FrameMaker version you are working with.

  • Functionality of OE Transactable Item attribute

    Hi,
    Can anyone explain the functionality of OE Transactable Item attribute.The item can be picked/shipped and interfaced to Inventory module even without enabling this Item attribute.
    thanks

    Hi
    In your case then the 'shippable' flag would have been enabled.
    We can have OE transactable flag as disabled even with 'Shippable' flag enabled.
    If both these flags are disabled then inventory interface would not be there.
    You can use OE transactable in isolation, for items used in forecasting and planning like product families
    Regards

Maybe you are looking for

  • Problem with memory usage and CPU usage

    Hello, i have a problem with the memory usage and cpu usage in my project! My application must run for more than 24 hrs. The problem is that the longer it runs the bigger is the memory and cpu usage! It starts with ~15% CPU usage and ~70 MBytes memor

  • Download item not appearing in my library

    Downloaded an album and although it appears on my phone it does not appear on my mac.

  • Maintaining default locale in multi-lingual application

    Hello, I have a multi-lingual application where the language can be changed at runtime. To make the following code work properly, the default locale has to be set each time the language changes. Why? Since I need to check sometimes the platforms orig

  • TOOL= Categories option missing in Item Master form (INVIDITM.fmb)

    APPS - 12.1.3 - SLES11-SP2 DB - 11.2.0.3 - SLES11-SP2 Question for all Inventory Gurus out here...... On our Master Items form (INVIDITM.fmb), the menu option Tools/categories is missing. Is this caused by a missing profile option? or is a setup miss

  • Wsm-pm not starting

    When trying to start the wsm-pm component , I'm getting the following errors. Any ideas? MDS-01370: MetadataStore configuration for metadata-store-usage "OWSM_TargetRepos" is invalid. MDS-01377: Unable to get database connection from data source conf