Link BP Property to Item Property

Hi,
In order to restrict the items a customer (BP) can purchase in the Sales Order module I want to link properties in the BP to propeties in the Item group.
I.e BP property 30 may indicate access to items with item property = 5.
My intention was to name the BP property with the same name as the linked item property, they cannot be link on a one to one basis(that is BP property 1 does not equal item property 1).
Therefore, I wanted to add a UDF field (OCQG.U_ItemsTypCod) of the BP properties table  that would have the item property (OITG.ItmsTypCod) number.
I could then use SBO_TransNotification to verify that the Customer has been authorised to buy the particular item.
I however cannot see how to add a field to the OCQG table.
Could any help me on this issue.
Kind Regards,
Eric

Hi Eric,
Do you have one to one relationship between coding from two property tables? If you do, the udf may not be needed since the maximum match is countable. Or make an UDT or save all match pairs.
Thanks,
Gordon

Similar Messages

  • Check box Item property in mutiple record block

    Hi,
    I have migrated a number of forms from 6i to 10g. All seems to be working apart from a problem with the display of check boxes that are part of a multiple record block. The item property for the checkbox has font weight set to bold and this works fine on the 6g version. On the 10g version it is displayed as normal font weight.
    Any other items in the record, text items etc are displayed in bold correctly.
    As this seems to affect a lot of forms is there some patch/fix that I should have applied or is this just the way it is?
    I am trying to use set_item_instance_property to set them manually but that doesn't seem to make any difference.
    Thanks in advance and Happy Christmas/New Year.

    Problem solved following response from Oracle support desk -
    UPDATE
    ======
    Hi Dave,
    When using lookandfeel=generic, the colors for different Windows items (e.g., menu, check
    box, window background ...etc) are taken directly from the Operating System
    (OS) user settings. I tested the issue with lookandfeel=oracle and with
    colorScheme set to different values, and check box tick in this case takes the
    same color as the color scheme used.
    I suggest then using dark color scheme to give you a similar effect as it was in Forms 6i. for example:
    colorScheme=Titanium

  • Set Synchronize with Item property at runtime in Forms

    Hi,
    We have a requirement to set the "sychronize with item" property to null for one of the fields of seeded form during run time (this is to avoid modifying the seeded form which has the synchronize property of field A set to field B. We are planning to do this change in CUSTOM.PLL). I couldn't find any property in "APP_ITEM_PROPERTY2.set_property" which can suffice my requirement. I am working on Forms 10g.
    Please let me know if anybody has worked on similar requirement.
    Thanks,
    Shree

    Hello.
    You can perform this by using:
    set_tab_page_property('Tab_page_name', label,'your_desire_label');
    and for item set_item_property.
    More details on these built-ins and also some example can be found in Forms Builder Help.
    Regards,
    Alex
    If someone's answer is helpful or correct please mark it accordingly.

  • Item property : Update allowed: No

    I have created a tabular form. Due to the fact that it is not possible to record the primary key manually, i have create a fake primary key on field 'ID'. The field 'StatusID' has now a unique constraint in the database. Also the foreign keys refer to the field 'StatusID'.
    I want to prevent updating the field 'StatusID'. In Oracle Forms this was very easy.
    You can set the item property Update allowed : NO.
    But how can I implement this in an APEX tabular form?
    Regards,
    Johan Brouwer

    Leo,
    It's a tabular form. The field StatusID can be recorded manual.
    When a StatusID has been created, it's not allowed to change it anymore.
    If you use "display as text, save state", you are also not able to insert the data in that field.
    So if a record has been created, then it's not allowed to change the field anymore.
    In oracle forms, this was very easy. You could set the insert_allowed property on YES and the update_allowed property on NO. I'll want to built the same functionality in the tabular form.
    Regards,
    Johan

  • Set item property to false and true

    when i set item to false and then set item property to true. The item is displayed but its gray out and not enabled. Am i missing something
    Set_Item_Property('PUSH_BUTTON_SAVE',VISIBLE,PROPERTY_FALSE);
    and then
              Set_Item_Property('PUSH_BUTTON_SAVE',VISIBLE,PROPERTY_TRUE);

    Check the Forms online help on Set_Item_Property, near the bottom in the usage notes. Lots of things happen when you set visible to False:
    Setting DISPLAYED to False:
      sets the Enabled and Navigable item properties to False
      sets the Updateable item property to False
      sets the Update_Null item property to False
      sets the Required item property to False
      sets the Queryable item property to False
    So you may need to set more of them back to true in your code when you want to make it re-display.

  • Gettng item property - prompt visual attribute

    have set the prompt visual attribute to 'ACTIVE_COL'
    SET_ITEM_PROPERTY ('TEST',PROMPT_VISUAL_ATTRIBUTE, 'ACTIVE_COL')
    but when I try to get the value back it return 'CUSTOM'
    GET_ITEM_PROPERTY ('TEST',PROMPT_VISUAL_ATTRIBUTE)
    Why???

    I have overcome this problem by setting item property in form design to 'ACTIVE_COL' then change it back to 'DEFAULT'
    it works fine.

  • Generate report through item property

    we want to generate all item master data  that is related to item property.
    means we want to report through item property in crystal report please provide me the table name or other infomation
    Thanks

    HI
    Try this query:
    SELECT T0.[ItemCode], T0.[ItemName], T0.[ItmsGrpCod], T0.[OnHand] FROM OITM T0 WHERE T0.[QryGroup1] = 'Y'
    The T0.[QryGroup1] is nothing but Property 1 so you have to change the query group name according to those property

  • Item property

    hi can someone help me !!!
    I have some 100 records in a table.I have created a form to display these records.
    Now say I want the records with the previous years 2005-06 to be shown in the form as greyed out or not enabled but visible.At the same time the records with the year 2007-08 in the same form should be highlighted.
    please let me know how to use the set item property or set item instance property for the above records.
    Thanks

    When I put this trigger in Post query
    all the records are disabled.
    the current year record to be enabled.
    Please suggest it is urgent.
    Post Query:
    if :mhr_expenses.exp_fyear = '2005-06' then
         set_item_property('exp_fyear',enabled,property_false);
         set_item_property('exp_slno',enabled,property_false);
         set_item_property('exp_particulars',enabled,property_false);
         set_item_property('exp_value',enabled,property_false);
    elsif :mhr_expenses.exp_fyear = '2007-08' then
         set_item_property('exp_fyear',enabled,property_true);
         set_item_property('exp_slno',enabled,property_true);
         set_item_property('exp_particulars',enabled,property_true);
         set_item_property('exp_value',enabled,property_true);
    end if;

  • How to Handle Automatic Skip Property of Item in Oracle Forms through Custom.pll or from other methods

    Hi All,
    How to Handle Automatic Skip Property of Item in Oracle Forms through Custom.pll or from other methods.
    This is a enhancement requirement.
    When ever user enter value in field 1 then automatically cursor should go to next field.

    Hello Bobb,
    You can create a trigger(when-list-changed) for each list item where you could:
    1.recreate the record groups and then use POPULATE_LIST so you can hide the selected values. In forms builder online help there are some good examples about create record groups dynamically.
    or
    2.you can perform a validation instead of hiding the selected values. If the values is already selected the display a message 'Value already selected....'
    Second option is much faster(only an 'if clause')
    Hope this helps.
    Regards,
    Alex

  • Why the "Synchronize with Item" property don't save?

    I created that table :-
    create table syn (col1 number , col2 number);
    and in forms 6i ..... I determinate col1 as the value for "Synchronize with Item" .
    http://img169.imageshack.us/img169/6258/synar6.png
    and when I test it in runtime , it work correctly and after I saved the data and get out of forms and went to database to ensure the data existing ... I surprised that the data in col2 not existing at all .... wholly empty
    SQL> select*from syn;
    COL1 COL2
    1
    2
    3
    4
    5
    6
    7
    8
    8 rows selected.
    why the item (COL2) don't save the data that inserted into it automatically by "Synchronize with Item" property ????

    i should use copy property not Synchronize ?That's meant for copying values from master to detail, so it would probably not work as you want within the same record. I think you should set the value of the secondary item in pre-insert and pre-update triggers, depending on what you're actually trying to accomplish?

  • How to Display Item Property Description

    Hi
      In Sales Quotation lines i want to display the name of the item property on selecting item . How this can be achieved.
    Thanks

    Hi Sanju
          In Sales Quotation rows i enter item no , after entering item no i want property name should be displayed.
         I have defined properties
               Paper Roll
              Cotton Roll
              Licosys Roll
            Now if item is Cotton Roll only its Cotton Roll will be selected . In sales quotation i wanted if item is cotton roll then property cotton roll should be displayed .  It is not mandatory if item property is cotton roll , item name will be also like that .
         I am sorry if i am not able to explain correctly
    Thanks

  • Is it possible to have price list as a function of say item Property?

    Hi, there is a need for our customer to have a price list based as a function of item metal content. For example certain items have 900 grams and others have 750 grams of say copper content. Whenever the price of copper changes or once every month, they would like to recalibrate the price based on copper market price.
    The metal contents is not really variable for different products, it is one of possible say 5 sets of values. 750grams, 900 grams, 1100 grams or 3000 grams etc.
    The question is should I use items properties say property 64 for 750grams one, property 63 for 900 grams one etc.
    If I use the properties, then can I calculate special price based as following function:
    ItemPrice=Base Price + ItemPropertyNN * market value of copper
    Where Item PropertyNN= item Property 64 or Item Property 63 or Item Property 62 etc. Only one of them will be populated for each produce based upon the metal content.
    To summarise : How can I make a price list, a function of item metal content? I thought of above by using item properties, but I still can not make the price list a function of the item property. Is there a way?
    Thanks a million!!

    Hi,
    Item group would be a better way to classify items. Especially for price list.  Try it.
    Thanks,
    Gordon

  • Setting canvas property of item during runtime

    Can anybody tell me how to set the canvas property of item in the block at runtime if the canvas property is set to null during runtime.
    Pls forward the answer.
    Thanks.

    Frank,
    Alternatively , you can create mirror item and place them on different canvases, further you can hide/show them.
    Thanks.
    Adinath Kamode

  • Re-Filling Dimension table, after removing line-item property

    Hi Friends,
    We need to remove line item property of a line item dimension of an infocube. I made that change and activated the cube. But when i check the dimension table of this dimension, i see no records regarding this.
    This cube has 60 mil. records, so we can not delete the content and reload it.
    Do you guys know anyway to fill that dimension table with the existent data in the cube ?
    Thanks & Regards
    S.P.

    Hi Suresh,
    I didn't delete the content of the cube but was able to remove checkmark of line-item dimension. Cube was activated successfuly. But the problem is that there in no data in this newly created dimension table..
    Regards
    S.P.

  • Forms 10g : How to set the Database Item property for an item dynamically ?

    Hello all,
    I have a requirement where I need to set the database item property of an item to TRUE/FALSE
    dynamically at runtime based on certain conditions.
    Earlier, in forms 6i I've used,
    Set_Item_Property (<item_name>, DATABASE_ITEM, PROPERTY_TRUE);
    But in Forms 10g it doesn't recognize this Database_Item property and gives a compilation error.
    Have I overlooked something or has this property become obsolete in Forms 10g ?
    If obsoleted what is the replacement property ?
    Regards,
    Sam

    Some options:
    1. Create a database-view, including the "real" column in databases where it exists and a "dummy"-column in databases where it doesn't exist.
    If that's not possible,
    2. set database="No" for your item and
    -- create a POST-QUERY-trigger which reads the data for that column from the database, if the column exists, and
    -- create a ON-UPDATE-trigger which includes an
    UPDATE_RECORD;
    UPDATE THETABLE SET
      THECOLUMN=thevalue
    WHERE  ROWID=:THEBLOCK.ROWID;3. Base your block on either a select-from-clause, a ref-cursor or a procedure to adjust he query-part,, for saving use a procedure.

Maybe you are looking for

  • Problem while compressing a PDF

    Hi, I am facing a problem while compressing a PDF. The requirement is to merge lot of PDF into one. But when we merge the file the size of the PDF becomes huge. It can not be sent as an attachment in an email. We also don't want to ZIP the file. Any

  • Install second dvd burner

    My new macpro comes with one dvd drive, I'd like to install a second one on the empty slot below. My question is what kind of drive do I need to purchase? IDE, SATA, etc? I assume I need to remove the front tray cover of the drive? How about compatib

  • Initial Context Properties

    Hi, I'm using RAD 6 and the embedded messaging server. I'm trying to configure the initial context. Can anyone tell me wht it needs to be configured as. try {             env.put(Context.INITIAL_CONTEXT_FACTORY,"*******");             env.put(Context

  • Flickery Display with Debug Flash Player 10,3,181,34 and IE9

    Hello, I hope this is the right forum for this, it's kind of a combination of a Flash Player issue and maybe a programming issue. Anyway, I've been making this project that has an image move based on where the mouse cursor is (in Flex Builder 3). The

  • Is it possible to swap out the micro sim into a nother phone?

    Hi -- I love my iphone 4, but am reluctant to take it snowboarding with me in case i fall and shatter the front or back. Does anyone know if its possible to put the the micro sim from the iphone 4 into an older iphone. OR are there are inexpensive ph