I am trying to write a wrapper program for the 1.10.1.1 (Price List Maintenance) function.
I would like to be able to set the default of the Amount Type (amt_type) and Comb Type (comb_type) fields.
The issue is that these two fields are not DB fields. When I do a ctrl-F on these fields on the screen, I get the field names as listed above in parentheses.
Does anyone know how I could write the wrapper so that on entry of the screen field that it would set the default properly?
My attempt thus far, which results in an "Unknown Field or Variable Name - amt_type" error.
**************************
on entry of amt_type
assign amt_type = "Net Price".
end.
on entry of comb_type
assign comb_type = "Exclusive".
end.
pause 0.
{gprun.i ""pppimt.p""}
**************************
I would like to be able to set the default of the Amount Type (amt_type) and Comb Type (comb_type) fields.
The issue is that these two fields are not DB fields. When I do a ctrl-F on these fields on the screen, I get the field names as listed above in parentheses.
Does anyone know how I could write the wrapper so that on entry of the screen field that it would set the default properly?
My attempt thus far, which results in an "Unknown Field or Variable Name - amt_type" error.
**************************
on entry of amt_type
assign amt_type = "Net Price".
end.
on entry of comb_type
assign comb_type = "Exclusive".
end.
pause 0.
{gprun.i ""pppimt.p""}
**************************