Commit 86380755 authored by Ajit Deshmukh's avatar Ajit Deshmukh

Made the Review field non-editable in the header form and handle the case for multiple profile ID

parent 42d3109b
...@@ -115,15 +115,29 @@ ...@@ -115,15 +115,29 @@
BaseLogger.log("3", null, null, "Profile Id of User profileId:: " + profileId); BaseLogger.log("3", null, null, "Profile Id of User profileId:: " + profileId);
BaseLogger.log("3", null, null, " txnStatus:: " + txnStatus); BaseLogger.log("3", null, null, " txnStatus:: " + txnStatus);
BaseLogger.log("3", null, null, " reviewYn:: " + reviewYn); BaseLogger.log("3", null, null, " reviewYn:: " + reviewYn);
boolean isMSIMPLSUP = false;
if (profileId.trim().equalsIgnoreCase("MSIMPLSUP")) { if (profileId != null) {
tranIdRef = tranId; String[] profileIds = profileId.split(",");
for (String id : profileIds) {
if ("MSIMPLSUP".equalsIgnoreCase(id.trim())) {
isMSIMPLSUP = true;
break;
}
}
}
if (isMSIMPLSUP) {
tranIdRef = tranId;
if (reviewYn.trim().equalsIgnoreCase("Y") && !txnStatus.trim().equalsIgnoreCase("N")) { if (reviewYn.trim().equalsIgnoreCase("Y") && !txnStatus.trim().equalsIgnoreCase("N")) {
BaseLogger.log("3", null, null, "Transaction Not reviewed"); BaseLogger.log("3", null, null, "Transaction Not reviewed");
errString = itmdbAccessLocal.getErrorString("confirmed", "MSQLNR", "", "", con); errString = itmdbAccessLocal.getErrorString("confirmed", "MSQLNR", "", "", con);
return errString; // Stop execution here return errString; // Stop execution here
} }
} }
BaseLogger.log("3", null, null, "tranIdRef:: " + tranIdRef); BaseLogger.log("3", null, null, "tranIdRef:: " + tranIdRef);
// Commented by Ajit D. on 03-DEC-25 -- START // Commented by Ajit D. on 03-DEC-25 -- START
......
...@@ -320,6 +320,7 @@ ...@@ -320,6 +320,7 @@
<item display="Closed " data="C"/> <item display="Closed " data="C"/>
<item display="Released to Client Developer" data="D"/> <item display="Released to Client Developer" data="D"/>
<item display="Executed in Client Developer" data="E"/> <item display="Executed in Client Developer" data="E"/>
<item display="Reviewed" data="N"/>
</values> </values>
</table_column> </table_column>
<table_column> <table_column>
...@@ -840,7 +841,7 @@ ...@@ -840,7 +841,7 @@
<band>Detail</band> <band>Detail</band>
<id>40</id> <id>40</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>100</tabsequence> <tabsequence>32766</tabsequence>
<border>2</border> <border>2</border>
<color>33554432</color> <color>33554432</color>
<x>280</x> <x>280</x>
...@@ -2692,7 +2693,7 @@ ...@@ -2692,7 +2693,7 @@
<band>Detail</band> <band>Detail</band>
<id>34</id> <id>34</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>110</tabsequence> <tabsequence>100</tabsequence>
<border>2</border> <border>2</border>
<color>33554432</color> <color>33554432</color>
<x>289</x> <x>289</x>
......
...@@ -39,7 +39,7 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_i ...@@ -39,7 +39,7 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_i
column=(type=char(2000) update=yes updatewhereclause=yes name=wf_remarks dbname="sql_changes.wf_remarks" ) column=(type=char(2000) update=yes updatewhereclause=yes name=wf_remarks dbname="sql_changes.wf_remarks" )
column=(type=char(2000) update=yes updatewhereclause=yes name=remarks dbname="sql_changes.remarks" ) column=(type=char(2000) update=yes updatewhereclause=yes name=remarks dbname="sql_changes.remarks" )
column=(type=char(1) update=yes updatewhereclause=yes name=exec_aprv dbname="sql_changes.exec_aprv" values="Yes Y/No N/" ) column=(type=char(1) update=yes updatewhereclause=yes name=exec_aprv dbname="sql_changes.exec_aprv" values="Yes Y/No N/" )
column=(type=char(1) update=yes updatewhereclause=yes name=txn_status dbname="sql_changes.txn_status" values="Awaiting TL Approval T/Awaiting KB Approval K/Approved A/Released to QC Q/Executed in QC X/Released to Pilot P/Executed in Pilot Y/Released to Live L/Executed in Live Z/Under Review R/Closed C/Released to Client Developer D/Executed in Client Developer E/" ) column=(type=char(1) update=yes updatewhereclause=yes name=txn_status dbname="sql_changes.txn_status" values="Awaiting TL Approval T/Awaiting KB Approval K/Approved A/Released to QC Q/Executed in QC X/Released to Pilot P/Executed in Pilot Y/Released to Live L/Executed in Live Z/Under Review R/Closed C/Released to Client Developer D/Executed in Client Developer E/Reviewed N/" )
column=(type=char(1) update=yes updatewhereclause=yes name=closed_yn dbname="sql_changes.closed_yn" ) column=(type=char(1) update=yes updatewhereclause=yes name=closed_yn dbname="sql_changes.closed_yn" )
column=(type=char(10) update=yes updatewhereclause=yes name=closed_by dbname="sql_changes.closed_by" ) column=(type=char(10) update=yes updatewhereclause=yes name=closed_by dbname="sql_changes.closed_by" )
column=(type=datetime update=yes updatewhereclause=yes name=closed_date dbname="sql_changes.closed_date" ) column=(type=datetime update=yes updatewhereclause=yes name=closed_date dbname="sql_changes.closed_date" )
...@@ -62,7 +62,7 @@ text(band=detail alignment="1" text="Approval Level:" border="2" color="33554432 ...@@ -62,7 +62,7 @@ text(band=detail alignment="1" text="Approval Level:" border="2" color="33554432
column(band=detail id=39 alignment="0" tabsequence=32766 border="2" color="33554432" x="281" y="588" height="16" width="74" format="[general]" html.valueishtml="0" name=aprv_level visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=39 alignment="0" tabsequence=32766 border="2" color="33554432" x="281" y="588" height="16" width="74" format="[general]" html.valueishtml="0" name=aprv_level visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Closed:" border="2" color="33554432" x="424" y="588" height="16" width="109" html.valueishtml="0" name=closed_yn_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="1" text="Closed:" border="2" color="33554432" x="424" y="588" height="16" width="109" html.valueishtml="0" name=closed_yn_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=36 alignment="0" tabsequence=32766 border="2" color="33554432" x="543" y="587" height="16" width="92" format="[general]" html.valueishtml="0" name=closed_yn visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=36 alignment="0" tabsequence=32766 border="2" color="33554432" x="543" y="587" height="16" width="92" format="[general]" html.valueishtml="0" name=closed_yn visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=40 alignment="0" tabsequence=100 border="2" color="33554432" x="280" y="761" height="16" width="75" format="[general]" html.valueishtml="0" name=review_yn visible="1" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any ddlb.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=40 alignment="0" tabsequence=32766 border="2" color="33554432" x="280" y="761" height="16" width="75" format="[general]" html.valueishtml="0" name=review_yn visible="1" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any ddlb.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Submitted By:" border="2" color="33554432" x="166" y="782" height="16" width="109" html.valueishtml="0" name=emp_code__given_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="1" text="Submitted By:" border="2" color="33554432" x="166" y="782" height="16" width="109" html.valueishtml="0" name=emp_code__given_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=5 alignment="0" tabsequence=32766 border="2" color="33554432" x="279" y="782" height="19" width="109" format="[general]" html.valueishtml="0" name=emp_code__given visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.required=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=5 alignment="0" tabsequence=32766 border="2" color="33554432" x="279" y="782" height="19" width="109" format="[general]" html.valueishtml="0" name=emp_code__given visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.required=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=19 alignment="0" tabsequence=32766 border="2" color="33554432" x="395" y="782" height="16" width="87" format="[general]" html.valueishtml="0" name=name visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.required=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=19 alignment="0" tabsequence=32766 border="2" color="33554432" x="395" y="782" height="16" width="87" format="[general]" html.valueishtml="0" name=name visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.required=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
...@@ -118,7 +118,7 @@ column(band=detail id=7 alignment="0" tabsequence=32766 border="2" color="335544 ...@@ -118,7 +118,7 @@ column(band=detail id=7 alignment="0" tabsequence=32766 border="2" color="335544
text(band=detail alignment="1" text="Reference ID:" border="2" color="33554432" x="176" y="331" height="16" width="109" html.valueishtml="0" name=tran_id__org_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="1" text="Reference ID:" border="2" color="33554432" x="176" y="331" height="16" width="109" html.valueishtml="0" name=tran_id__org_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=8 alignment="0" tabsequence=30 border="2" color="33554432" x="289" y="331" height="19" width="109" format="[general]" html.valueishtml="0" name=tran_id__org visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=8 alignment="0" tabsequence=30 border="2" color="33554432" x="289" y="331" height="19" width="109" format="[general]" html.valueishtml="0" name=tran_id__org visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Executive Approval:" border="2" color="33554432" x="172" y="367" height="16" width="113" html.valueishtml="0" name=exec_aprv_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="1" text="Executive Approval:" border="2" color="33554432" x="172" y="367" height="16" width="113" html.valueishtml="0" name=exec_aprv_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=34 alignment="0" tabsequence=110 border="2" color="33554432" x="289" y="368" height="16" width="72" format="[general]" html.valueishtml="0" name=exec_aprv visible="1" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any ddlb.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=34 alignment="0" tabsequence=100 border="2" color="33554432" x="289" y="368" height="16" width="72" format="[general]" html.valueishtml="0" name=exec_aprv visible="1" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any ddlb.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Active:" border="2" color="33554432" x="176" y="400" height="16" width="109" html.valueishtml="0" name=active_yn_t visible="0" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="1" text="Active:" border="2" color="33554432" x="176" y="400" height="16" width="109" html.valueishtml="0" name=active_yn_t visible="0" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=9 alignment="0" tabsequence=32766 border="2" color="33554432" x="289" y="400" height="19" width="109" format="[YES/NO]" html.valueishtml="0" name=active_yn visible="0" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any ddlb.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=9 alignment="0" tabsequence=32766 border="2" color="33554432" x="289" y="400" height="19" width="109" format="[YES/NO]" html.valueishtml="0" name=active_yn visible="0" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any ddlb.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
htmltable(border="1" ) htmltable(border="1" )
......
...@@ -480,3 +480,10 @@ Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD ...@@ -480,3 +480,10 @@ Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD
--------10th July------------ --------10th July------------
update messages set MSG_DESCR = 'This transaction cannot be confirmed until an execution environment is assigned.' where msg_no = 'MSQLBER'; update messages set MSG_DESCR = 'This transaction cannot be confirmed until an execution environment is assigned.' where msg_no = 'MSQLBER';
---------15th July---------
update messages set MSG_STR = 'Transaction must be reviewed before proceeding.', MSG_DESCR = 'This transaction has not been reviewed yet. Please review it before proceeding.' where msg_no = 'MSQLNR ';
update genmst set FLD_MIN = 'SELECT COUNT(1) FROM sql_changes WHERE txn_status in (''T'',''K'',''A'',''X'',''P'',''Y'',''L'',''Z'',''R'',''D'',''E'') AND tran_id = ?',FLD_MAX = 1 where error_cd = 'MSQLAREVIW';
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment