Hello ,
<MvFUNCTION NAME = "BatchReportModule_Report" PARAMETERS = "batch_id" STA
...
...
...
<FORM NAME="Myform" ACTION="{encodeentities(g.sessionurl)}" METHOD="post">
<MvDO FILE = "{ g.Module_Library_DB }" NAME = "l.ok" VALUE = "{ Batch_Find_ID( g.Batch_ID ) }">
<INPUT TYPE="hidden" NAME="Screen" VALUE="BRPT">
<INPUT TYPE="hidden" NAME="Action" VALUE="BRPT">
<INPUT TYPE="hidden" NAME ="Store_Code" VALUE = "{ encodeentities( Stores.d.code ) }">
<INPUT TYPE="hidden" NAME="g.Module_Code" VALUE="IDS_MyModulecode">
<INPUT TYPE="hidden" NAME="Batch_ID" VALUE="{ Batches.d.id }">
<INPUT TYPE="hidden" NAME="tab" VALUE="">
<INPUT TYPE="hidden" NAME="ui_flag" VALUE="runfunction">
<input type="submit" value="Run this function">
</form>
...
...
Running this form in a batch report module. In 4.12, when submit button is
clicked, it returns to the document and runs the batch report module
IDS_MyModulecode as predicted.
However, the same code compiled, returns to the Run Report screen but
doesn't run the module code. Is there another parameter that needs to
passed? I don't I have access to admin.mvc source to verify this -- at
least I can't find the source to 4.20 through 4.23.
Any ideas?
For reference, the <INPUT TYPE="hidden" NAME="ui_flag"
VALUE="runfunction"> is set to run the function I need to execute.
TIA
--
Best regards,
Scott
mailto:[email protected]
Comment