Default Requisition Special/Service Item Type

 6 Replies
 0 Subscribed to this topic
 17 Subscribed to this forum
Sort:
Author
Messages
SKMacCauley
New Member
Posts: 4
New Member
I am trying to default the item type for the Requisition Special/Service screen (not RQ10.1). I believe the cose may be stored somewhere in the rqc.war file and was wondering if anyone was familiar on working with this form for customization. I simply need to default the Item Type field to read "Amount Service" instead of "Special".
Judy Consoli
Veteran Member
Posts: 43
Veteran Member
Have u tried the profile.css I can't remember exact name I will look tomorrow when on the server
Judy Consoli
Veteran Member
Posts: 43
Veteran Member
 RQC war file directory xFiles/xsl reqSpecial.xsl

Take a look at this file.
SKMacCauley
New Member
Posts: 4
New Member
Judy, thanks for the reply. I will try and take a look in the RQC war file directory at the reqSpecial.xsl file.

Have you edited this before?

Thanks again.
Judy Consoli
Veteran Member
Posts: 43
Veteran Member
We have edited the profile.xsl  in that same directory to default the user's email address into a Requisition User field so that we can identify who created the Requisition.

Should be the same thing as you are trying to do.

Judy
SKMacCauley
New Member
Posts: 4
New Member
You wouldn't have an example would you? I have not worked with .xsl stylesheets.
Judy Consoli
Veteran Member
Posts: 43
Veteran Member

We changed the profile.xsl to always populate the user field with the user's email address 

added the following lines


New xsl

 <!-- ensure UFH_USR_FLD_01 field is populated -->
>                       if (mainWnd.WORK.document.getElementById("UFH_USR_FLD_01").value == "")
>                           mainWnd.WORK.document.getElementById("UFH_USR_FLD_01").value = mainWnd.user.email;
>                       ]]>