Value
This property returns the value specified in the process option table.
Group: JDE Processing Option
Syntax:
Object value, Object property = ProcOPT.value( )
Note: To view Value property parameters, hit CTRL+Space after you open the parenthesis of a value property. Alternatively, you can right-click in the scripting window, and select “embed code” which gives you an option to generate some of this code.
Example:
Private moProcOPT As New JDEProcOpt
' Get Proc.Opt. Version from Menu
msPgm = App.GetValue("Pgm")
moVersion = App.GetValue("Vers")
moProcOPT.ProgramId = "P4113"
moProcOPT.Version = "ZJDE0001"
msDOCTYPE = moProcOPT.Value("Documenttype")
' get DocType from Proc.Opt.
msDOCTYPE = GetProcOpt(msPgm,msVersion,"1;1",sHeader)