Jerome,
I tried to incorporate the above code into our detail_chg.htmpl file (since this is the only place/form where it would be used) and tested it - results: did NOT work.
- Added the code to the file and copied it over to the background, standby and app servers.
- Ran the pdm_webcache -v command on the background server to be sure I was using the form with the changes
- Started a new Change Order ticket, setting the type = Emergency (Normal is our default setting)
- Clicked the Save button
- Change Order ticket created ... I was never prompted or saw any message stating that the Business Justification field needed to be filled out before saving or creating ticket
Wondering if this code needs to be in a specific location within the detail_chg file?
Also while reading over the code I saw where it mentioned that the change order detail form uses the file (xx_propr_tab.htmpl) to display a notebook page for properties ... the same file is used for Issues.
this is the code at the bottom of the file (xx_prop_tab.htmpl) where the notes or business justification fields display
<PDM_MACRO name=dtlStartRow class=tab>
<PDM_IF "$prop.form_name_2" == "iss">
<PDM_MACRO name=dtlTextbox hdr="Notes" attr=justification colspan=4 rows=2 size=80 spellchk=yes>
<PDM_ELIF "$prop.form_name_2" == "chg">
<PDM_MACRO name=dtlTextbox hdr="Business Justification" attr=justification colspan=4 rows=2 size=80 spellchk=yes>
</PDM_IF>
<PDM_MACRO name=dtlEndTable>
Any help on why this failed and did not prompt me to enter data into the Justification field before being able to save the ticket?
thank you
Katherine