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
Similar Messages
-
Forms Personalization: FRM-41017- Cannot set UPDATE ALLOWED attribute error
Hey All,
I have a requirement in Projects > Allocation > Allocation Rules which needs a few mandatory columns to be greyed out.
I think that the form is not getting query-able because of the “FRM-41017- Cannot set UPDATE ALLOWED attribute of non-enabled item RULE.OFFSET_METHOD” error when we open the form.
I was trying to set the required property to false for personalization’s done on mandatory columns and see if that can work in suppressing that error. But it did not.
Can anyone help me by telling how to avoid this and make the form query-able?
Any help is much appreciated.
Thanks !Please post the details of the application release, database version and OS.
Please see if (Capital Projects Form Personalizations Error- FRM-41017 [ID 1072660.1]) helps.
Thanks,
Hussein -
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 -
How to disable block(update allowed) when data are retrive ?
Dear mates,
I have a form where are two blocks one is A_MASTER and A_DETAIL. By default A_DETAIL update allowed property is false. What happen when i insert data ? It's allow data to insert but don't permit to edit the data. So, I write When-New-Recorde-Instance trigger and the code are
condition
set_block_property(A_DETAIL,update_allowed,property_true);and the block,*A_DETAIL* is allowed to update.
Now, i need when the current record(Enter mode) displayed it should be available to update. When the record retrieved later, user can not update or change any thing.
Thanks,
problem solved :)
Edited by: HamidHelal on Dec 10, 2011 11:07 PMsorry.
-
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?
-
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,
SamSome 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. -
Item Cost update Coneversion Error
Hi All,
I am doing item Cost Update conversion, while doing this i am getting the Following only one error for all the items.
Error Explanation - 'The default cost type for the cost type is not valid.'
Error Code - CST_INVALID_DEFCSTTYPE
i am inserting the data in the interface table 'CST_ITEM_CST_DTLS_INTERFACE'
in this table i am taking only the below columns
INVENTORY_ITEM_ID,
ORGANIZATION_ID,
COST_TYPE,
RESOURCE_CODE,
USAGE_RATE_OR_AMOUNT,
COST_ELEMENT_ID,
PROCESS_FLAG
and i am doing this only for materail cost, is there any extra columns i have to take in the interface table for doing with out getting the above error.
please provide me the data also for the extra columns.
Any help would be appreciated.
thanks
Anushkathe above error can come only when the row being imported is missing any of "lot size" or "based on rollup flag" or
"shrinkage rate" or "inventory asset flag" values. Most probably it could be a setup issue.
when any of these values are missing, the values are defaulted from the default cost type
of the current cost type into which item costs are being imported into. If the
default cost type too does not have the values set for the above mentioned
columns which are having Null values, this message is displayed. -
I have a user on an iMac 10.6 connected to our domain. She uses Outlook web access for email on our exchange server. Last week she received the following message which is randomly preventing her from sending emails. She claims no attachment was involved in the original email when this all started. I have not been able to look at her account as she is out of the office but maybe someone else dealt with this issue. I realize this may not be Mac related but thought I'd give it a try. She did say it occurred once over two days while working on a PC but it continued over the past weekend.
If an internal user tries to send a message with infected attachment using Outlook Web Access, it may report the following error message: The action could not be completed because of a conflict with the original item. The conflict may have occurred when an existing item was updated on another computer or device. Open the item again and try making your changes. If the problem continues, contact technical support for your organization.
This is because F-Secure Anti-Virus for Microsoft Exchange has detected a virus in the attachment. If the user tries to send the message again, the message will be sent but without the attachment. At the same time a blank message with an attachment named "Attachment_information.txt" will remain in the user's Drafts folder. The "Attachment_information.txt" will contain information about the virus detected in the message.PS - have found other posts indicating that clips smaller than 2s or sometimes 5s, or "short files" can cause this. Modern style editing often uses short takes ! Good grief I cannot believe Apple. Well I deleted a half a dozen short sections and can export, but now of course the video is a ruined piiece of junk and I need to re-do the whole thing, the sound etc. which is basically taking as much time as the original. And each time I re-do it I risk again this lovely error -50 and again trying to figure out what thing bugs it via trial and error instead of a REASONABLE ERROR MESSAGE POINTING TO THE CLIP IT CAN'T PROCESS. What a mess. I HATE this iMovie application - full of BUGS BUGS BUGS which Apple will not fix obviously, since I had this product for a few years and see just hundreds of hits on Google about this error with disappointed users. Such junk I cannot believe I paid money for it and Apple does not support it with fixes !!!
If anyone knows of a GOOD reasonably priced video editing program NOT from APPLE I am still looking for suggestions. I want to do more video in future, but obviously NOT with iMovie !!! -
Net Price in PO Item not updating for Item Category "D"
In purchase order with line item category "D" Service, upon first input of gross price in Service tab, Net Price in line item was updated successfully, but upon changing the gross price again in service tab, Net Price in line item is not updating anymore.
I am using the condition type MWVS for tax calculation and a custom condition type ZPBX for the computation of Net Price = Gross Price - Tax. For ZPBX I used the calculation routine 82 (xkwert = komp-kzwi2 - xworkg.). For other item category, this is working fine. I am only having a problem in item category "D".
I tried to debug and found out that upon entering a new gross price in service tab, the system is calculating the routine 82 first before even the gross price from service tab was transferred to the condition in line item. Because of that the routine 82 is calculating with the previous or old value in table KOMP since the gross price from service tab is not yet transfered to this table.
Can anyone help me with this? What am I doing wrong?
Thanks!Hi,
Check which condition type used for Service PO pricing. Now use t. code: M/06 and enter that condition type and select check boxes of Amount/percent, Value, Qty Relation in Changes which can be made segment and save.
Also select check box of u201CQty Conversionu201D in Control-2 segment and save.
Now create service PO, change Price in service item level and see how NET PRICE changing.
Regards,
Biju K -
ALE third party: User name in change log of PO item is updated inconsistently
Hello,
We're running third party process, where changes in SO item are auto updated into PO item via workflow. Normally, user who changed SO item is updated in change log of PO item. However, there are several cases where workflow user is updated in PO item change log. There seems to be an inconsistency here. Do you have any idea? I've searched SAP Note but could not find any.
Thanks,
Duc.Hello Jurgen,
Checking data in system, I found one thing:
if change document of PO item is created later than change document of SO item, change user in PO item is workflow user; in the other hand, if change document of PO item and SO item are created at same time, change user in PO item is same as change user in SO item.
So I guess root cause of issue is: Change User in PO change log depends on which task system is doing (updating SO item or updating PO item) at the time the log is recorded; due to this, the t-code in log is also different (ME22 for workflow user and VA02 for normal user).
Is it correct?
Regards,
Duc. -
How to find item is updating in Sharepoint designer workflow?
Is there anyway we can get when list item updating in sharepoint designer workflow?. I have status ="New" it is need to send only one time when new item created.
But now it is sending emails when item is updating with status="New". So I want check if it is new then only check status="New" and send email. otherwise No.
ItsMeSri SP 2013 FoundationHi ,
According to your description, my understanding is that you want to send email in workflow only when the item is created and the status is New.
For this issue, I suggest you create a new Yes/No column called “Edited”, and set the default value to No. When you edit it after creation, change the column to Yes.
You can set the workflow like the screenshot:
Best Regards,
Wendy
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Wendy Li
TechNet Community Support -
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,
ShreeHello.
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. -
When trying to access a sales order in change mode... I receive the following error message:
No updates allowed for the document "......." IDOC "........"
I checked IDOC status in WE02 and found that the Application Document was not posted and status is 51. Next to the status of the IDOC "purchase requisition does not exist"
Please Advise..
Thanks
Nickdouble click the message and tell the message number
-
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.
Maybe you are looking for
-
File path control: invoke file browser activation
Hi there, on the front panel of a vi I want a file path control to open automatically the file browser window when the user clicks into the path control. Is there any way to do that programmatically after the mouse down event has been fired? I couldn
-
DMS - Print of PDF through 'DOCUMENT_SHOW_DIRECT'
Hi After upgrading our Adobe Acrobat from version 5 to 7, we can't any longer print our attached PDF-documents. We have created a program, based upon PSFC_DOCLINK_DIST, where we print various types of documents, Word, Excel, PDF and so on. The print-
-
How do I share photo slideshows?
How do I share photo albums ?
-
Text lengs in Cyrillic characters vs in Latin characters
Greetings! I've faced a problem, i have a member with a text parameter to input a text data (names), but in Cyrillic Essbase allows to input only 42 characters otherwise in Latin - all 255 as declared, how to solve that problem so a text in Cyrillic
-
Hi Gurus, we have a requirement of displaying texts in sales order at the initial screen of the order entry so that it is easy for the user to enter the text. Please suggest ... Thanks in advance Regards, Arvind