Error when use argument 12 of mfmrw.i

muthu

New Member
Hi all,

I modified the program sosomtu2.p by giving 12th argument for include mfmrw.i
{mfmrw.i "sod_det" sod_part sod_nbr
string(sod_line) """"
? sod_due_date open_qty "DEMAND" {&sosomtu2_p_2}
sod_site "MUTHU" }

and tried to compile it. I get an error

[------------------------------- Error --------------------------------]
| ** Unable to understand after -- "mrp_detail = ". (247) |
| ** ../us/src/mfmrw.i Could not understand line 89. (198) |
[-----------------------------------------------------------------------]

I checked the program mfmrw.i. I find the code to be strange

if "{10}" > " " then mrp_det.mrp_detail = "{10}".
/*J027*/ if "{12}" > " " then mrp_det.mrp_detail = "" {12}.

This is a standard QAD program.

Can anybody what is the mistake i am making or is it bug in the program of QAD.


TIA

Muthu



:blue:
 
Originally posted by muthu


if "{10}" > " " then mrp_det.mrp_detail = "{10}".
/*J027*/ if "{12}" > " " then mrp_det.mrp_detail = "" {12}.


Looks like a msi-type. Should the double quotes be around {12} rather than before it?

if "{10}" > " " then mrp_det.mrp_detail = "{10}".
/*J027*/ if "{12}" > " " then mrp_det.mrp_detail = "{12}".
 
Top