History field Requirement
I have the requirement for a filed that inputs comments (manditory) when changes are made to a record. For this I have created a text field on the form and it writes to a clob column on the table. It works ok but with one exception.
the way the information is stored is that it is placed in the bottom of the form. This meens to find the latest comments you have to scroll to the bottom of the file.
Has anyone out there managed to create a history field with the latest comments at the top?
Cheers
Bjorn
Here's how I did it. Not sure where yours differs:
DROP TABLE BENTEST;
CREATE TABLE BENTEST( SOME_DATA NUMBER PRIMARY KEY, X CLOB );
CREATE OR REPLACE TRIGGER UPDATE_HISTORY_DETAILS
BEFORE UPDATE ON BENTEST
FOR EACH ROW
BEGIN
:NEW.X := :NEW.X || ' ' || :OLD.X;
END;
INSERT INTO BENTEST VALUES ( 1, 'Hello' );
SELECT X FROM BENTEST;
X
Hello
UPDATE BENTEST SET X = 'WORLD' WHERE SOME_DATA = 1;
SELECT X FROM BENTEST;
X
WORLD Hello
DROP TRIGGER UPDATE_HISTORY_DETAILS
CREATE OR REPLACE TRIGGER UPDATE_HISTORY_DETAILS
BEFORE UPDATE ON BENTEST
FOR EACH ROW
BEGIN
:NEW.X := :OLD.X || ' ' || :NEW.X;
END;
UPDATE BENTEST SET X = 'END' WHERE SOME_DATA = 1;
SELECT X FROM BENTEST;
X
WORLD Hello END Message was edited by:
Benjamin Wootton
Similar Messages
-
We are building forms in designer that were formerly in Lotus Notes. Our clients have become accustomed to having "routing history" and "modification history" fields as a document goes through its workflow.
Is this information best being populated as a process variable using the set value service? Or is it best handled on form submit? Or does it not matter which?
Thank youHi Gupta,
Thanks for info and assinged points...
Yes i'm working on BI7, but we don't have web server associated with J2EE server, so accessing planning framework BPS0 only.
For trial purpose,I created one dummy sales planning application by having planning cube without 0bpp_objuid,0uname,0date & 0time objects. Maintained data into planning cube(application) through a planning folder. Then using remodeling concept i included 4 characterstics into planning cube and created required function modules. Now i'm trying to access planning area in bps0, it saying 'Generating enrironment"..in log bar. It seems to be we can achieve this only by again creating new planning objects(planning cube,area,levels,layouts & functions) only...
Any suggestions...
thanks ,
RP
Edited by: Kumar RP on Mar 29, 2008 10:52 AM
Edited by: Kumar RP on Mar 29, 2008 10:54 AM -
SPEL? make REASON field required if user has changed the value in SALARY
I have a requirement to make REASON field required if user has changed the value in SALARY field. Is it possible using spel? what are my options?
Karan,
You can change the Rendered Property through personalization.
But in your requirement you need to attach the Spell through personalization & extend the existing CO to set the value of the SPELL based upon the condition.
Note - Refer this thread http://forums.oracle.com/forums/thread.jspa?threadID=2176729&tstart=0. If you have worked on SSHRParams kindly help the user.
Regards,
Gyan -
How to make metadata fields required when creating folders
Hello all....
Related issue with SR 3-6472229431 and SR 3-6471130611.
We're using DIS 11.1.6 64-bits (2011_11_29 (rev 9756) 11.1.6.97) in a Windows 7 64-bits workstation (with UCM 11.1.1.5 in a Linux machine). The check-in of images to UCM goes fine.
I'm trying to make some metadata fields required when creating a folder. These fields are required when making a check-in, but not when creating folders.
Folders_g is enabled. DesktopTag too.
EDIT: Patch: 14695303 - WCC 11.1.1.5.0 BUNDLE ( MLR 16 ) NOV 6 2012 applied.
Is it possible?
Thanks for all.
Edited by: fgomes on 22/11/2012 03:24After reading your response and rereading the original question a bit closer, the metadata prompting feature does not apply to creating new folders, only content.
Again, though, I think the focus here is in the wrong place. The metadata applied to a folder is intended to be ultimately applied to the content. You can build global rules that fire on submission of content to check if a field has a value, and throw an error if the value is empty.
If you expect users to create folders (and actually apply any metadata to the actual folder itself), you will be disappointed. Experience shows that users are not interested in that level of detail when creating content, let alone folders. Letting typical users create folders is a bad idea anyway, as they tend to create the same inefficient folder structures they previously created in file shares within Content Server.
If you need to tightly control folder attributes, you'll be better served by locking down the ability to create new folders. Otherwise you're looking at some type of customization. Keep in mind that you won't be able to customize the right click behavior of DIS. Any changes to DIS would have to be an enhancement request. -
How to make a field required in OAFramework
How to make a field required in OAFramework at runtime?? Please explain in detail if possible.
Thanks
KumarGet the handle of the bean using the following Code
<BeanType> bean = <BeanType>webBean.findIndexedChildRecursive("<Id of bean>");
if(bean!=null && <condition>)
bean.setRequired(true);
} -
Make a field required on record creation, read only after that
Hello,
Does anyone know of a way to make a pick-list field required on record creation, but read-only after that? The other twist to this is that we need to allow this field to also be read-write for all the integration edits, since this field's value could change in the enterprise database.
Thanks,
Neal G.Hi !
I think you can add a validation rule for that. Something like :
IIf(PRE('<YOURFIELD>') IS NULL, <> '', = PRE('<YOURFIELD>'))
This means that if the previous value of your field is null (it's a creation), so the value must be different than blank. Else, it must be equal to the previous value, so not modified.
I didn't tested it, but I let you get back to me if it works... or not !
You'll just have to add a message saying that this field is required on creation and readonly after...
Hope this will help, feel free to ask more !
Max -
Making the comments field Required in the Workitem
Hello,
I have a GP Application wherein the initiator fills out a form which goes to the Approver using Visual Approval Callable Object.........now when the approver opens the workitem he sees the information entered by the initiator and a comments field at the bottom......we want to make this field required for them.......how can we achieve this.....while creation of the Visual Approval Callable Object i see the comments as a output parameter with the 'Is Required' checkbox option....but it is disabled and does not allow you to select it......Please help...
Any help would be highly appreciated...
Regards,
AnilHi Anil,
Standard Visual Approval CO doesnt work like that.
Either you can create your own CO.
OR
i can suggest you as follows, but it is making little complicated process.
1. Create one Action with Business Logic callable object, which will check for Comment EQ space or not and have 2 different states.
a. If Comments is blank, Go back to Approval Action
b. If Comments is entered, Proceed for further actions.
2. Set this action as target for Approval Action.
Hope this helps you.
Thanks,
Tejaswini -
Making fields required based on other field input
I am creating a form in adobe acrobat pro that employees need to fill in to show the clients they have worked for in a week. The form has 10 lines for them to fill in the date, client name, address etc for 10 clients. I want to make the client name and address fields required only if the date has been filled in in the first column. I can't make every row required fields as they may not have 10 clients that they have worked for. I have a send button set up so that all required fields are completed before the form can be sent. Can someone help me with the script I would need. I have worked out how to make the fields required if a check box is ticked but can't find any scripting for fields to be required if text has been entered in a specific field.
You can use the custom validation script of the date fields. Let's say you
want to make Name1 and Address1 required if Date1 is not empty.
Use this code to do it:
this.getField("Name1").required = event.value!="";
this.getField("Address1").required = event.value!=""; -
Make a field required based on input in another field
So I have researched the forum to answer the question of how to make certain fields in a form required if a value is entered in another designated field, and not required if no value is entered in the designated field.
For example:
There is a field titled QTY_paper, and if a value is entered into QTY_paper, then the field PROGRow1 should become required.
If no value is entered into QTY_paper, then PROGRow1 is not required.
I've tried both FormCalc and Javascript, but with no results. In FormCalc I added this script as a mouseExit event on QTY_paper:
if ($.isNull == 0) then
//Make the budget field Required
PROGRow1.validate.nullTest = "error";
endif
and then I added this script in FormCalc to the mouseExit event on PROGRow1:
if ($.isNull == 0) then
$.validate.nullTest = "disabled"
endif
This came almost verbatim from another post on the forum, so I'm thinking I'm missing something obvious here... which isn't too odd as I'm still pretty new at adding the scripts. Please help if you can!You'd want to combine both scripts on the first field with an if/else statement. And I'd use the Exit event instead of Mouse Exit (not sure if Mouse Exit handles tabbing in and out of fields).
The first script should have worked, but with the second script you were asking if PROGRow1 was null, not QTY_paper.
FormCalc:
if ($.isNull) then
PROGRow1.validate.nullTest = "error"
else
PROGRow1.validate.nullTest = "disabled"
endif -
Fields required based on a value in another field
Hi,
I am looking to have fields required (Annual Revenues and # of Employees) based on the value of another field (Ownership). Basically, if the value is Public the user is required to enter the Annual Revenue and Employees fields. I thought about using dynamic layouts but the only key field for Accounts is Account Type.
Thanks,
CarynHi Caryn!
I think it is not possible for making #Employees and Revenues required depending on Ownership(as it is a look up field).. it should be possible if you want to do it on any other criteria other than ownership by just renaming the Account Type, Disable all the values of Account Tyope add new values to Pick List and make it driving picklist upon your requirements..
If you require Account Type, create a custom picklist "Account-Type" and add the values. -
IC Webclient - making a field required
On the BupaSearch View, I want to make some other fields required before you can successfully create an account. Right now Country is the only one. Country does not use the tag REQUIRED = "TRUE". Even if I do used this tag, it really doesn't have any affect except to put an * or outline the box in red. So I was trying to copy the logic that the field country uses, but I have no idea where this is done. I've been searching and I need your help. Does anyone know?
Thanks.Hi Cathy,
You can try to have a method R-Getter (required) as follows -
METHOD get_r_brand .
IF get_brand( attribute_path = '' ) IS INITIAL.
rv_required = 'TRUE'.
ELSE.
rv_required = 'FALSE'.
ENDIF.
ENDMETHOD.
And in the view:
<crmic:label design = "label"
required = "<%= ApplianceData->get_r_brand( ) %>"
for = "//ApplianceData/Brand" />
But this code will also add a star against the label and the star will go off only after some value is input to the field.
See if it is still helpful.
Regards,
Abhishek ! -
Error "field required" in master-detail form with FORMS 10G!!
I have a Master-Detail Form.
When the cursor stay in detail block and i chage the master record with the mouse, clicking in scroll bar, i get error "field required".
In Forms 6i, works fine!!Master block has more than one record displayed. When I click on any item in detail (except first one) and then click on different master record (return navigation to master block, but not current record) I have FRM-40202: Field must be entered on first item in detail block.
I found that reason is this part of clear_all_master_details procedure (automatically created by Oracle Forms):
IF :System.Cursor_Item <> startitm THEN
Go_Item(startitm);
Check_Package_Failure;
END IF;
Does any have same experience?
Is it Oracle bug or I am missing something? -
When History field is selected as a column to be displayed in a WI query result, its contents are displayed with the HTML tags as if they where text, e.g. <p> contents </p>...
This occurs when query is run in web access contents in IE and when result is sent via email from within TFS (there's a button for this purpose).
However, in Visual Studio 2012 the same History Column contents are shown without the tags, as one would expect.
Furthermore, when one clicks on Open In Microsoft Office, for this query results in VS, and selects result in Excel, the History column in the Excel appears empty.
The only way we found to bypass this issue for now, it to mark all the query result lines in VS, and right click for "print selected list..." to a virtual PDF printer. This way the result looks reasonably ok when History field is included.
Kindly advise, Thank u very much.Hi Moital,
Thanks for your post.
As far as I know history content will display with the HTML tags if there’s multiple lines in content, and History content not support show in Excel, that’s by design in TFS Server.
As Clementino said, you can submit this scenario in connect site, Microsoft engineers will evaluate them seriously.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How to: Make Shipping Condition field required in Tx. VT01N
Hi everyone. I need to make the Shipping Condition field required in the transsaction VT01N Create Shipment.
I don't know how to do this, can somebody help me with this issue???
Thanks for your help!Hi Chemo,
As far i undestand, you want to calculate freigth cost using transportation.
To do this, you need to do some settings at that point to achieve that, please follow the link to configuration guide:
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/LETRA/SDTRA.pdf
On functional side (after configuration), you´ll need to create the shippment cost document on VI01 transaction, there you can see all the cost associated to Shipping.
After that transfer it to MM using T-code VI02, its needed.
I Hope this help you,
Regards,
RP -
Sharepoint 2010 - Cannot make field Required in Add New Item form.
I made a fleld Required by making the proper selection in List Settings > Editing the column. It now shows as required when I edit an existing record in the list, but is not required when adding a new item. Why does the setting not apply
to the Add New Item form? How can I make it apply/required?
btw, there are no content types associated with the list.Hi ,
According to your description, my understanding is that you cannot make field required in the list new form.
For my test, I created a custom list , added a non-required field and added some records. Then I made the field required. But it worked fine as expected both in existing records and in Add New Item
form.
Do you have some customization in your list new form?
You can go to your list -> Customize Form under list tab, then the new form will be opened in the InfoPath. In the InfoPath, right click the field and select Text Box Properties, make sure “Cannot
be blank” has been checked.
Best Regards,
Eric
Eric Tao
TechNet Community Support
Maybe you are looking for
-
I am considering switching from an android to an iPhone and one of the features I use heavily on my android is my google now cards. It automatically reminds me to check in for flights and gives me flight status information based on flight information
-
A client's business practice with their current system is to enter the date on the vendor's invoice and have this, plus the payment terms calculate the due date. In B1 we just have posting date. We can't enter the vendor's invoice date because the pe
-
Variable Substitution not working when using ABAP mapping
Hi all, I am doing an IDoc to File scenario. Due to some complex mapping requirements, i had to use ABAP mapping for IDoc to File ( IDoc : SHPMNT05) There is also one more requirement where in i need to generate the receiver filename dynamically i.e
-
Screen illuminates but no image/menus; iPod won't power off or restore
iPod hard drive whirrs and screen illuminates, but no image (text or other) appears. iPod won't power off. iPod is recognized by iTunes only when in disk mode. Multiple restores were useless in restoring the screen function. Tools such as Disk Utilit
-
How to upgrade Crystal report to 10.5.3700
Hi All, I have standalone Crystal report 10 and VS2008 Professional 2008 SP1 Installed. the version number for crystal report shown for Crystal report 10 with SP6 is 10.0.1.2522 the version number for VS2008 built in crystal report is 10.5.1943. I ha