Best Practice for Design of Production Order
Steven Delombaerde
Just a quick note to know the best way to design a layout for a production orderI've started with adding the form details for the production order to SWA_LD_FORMTYPE, and I created and linked a parameter docnum for item 18 of form 65211. I then created a layout based on that but run into a problem. When I try to get into design mode I get the following error:
Parameter [%docnum] in Expression Select t0.*,t1.* from owor t0 inner join wor1 t1 on t1.docentry = t0.docentry where t0.docnum = [%docnum] cannot be found
The Layout type is set to data, and I use a query as shown above.
What am i doing wrong?
Philipp Knecht
Hi StevenSeems that you forgot also the Parameter in the Parameter table (Below Formtype table)
make sure to use key docnum and to relate the formtype to the parameter.
hth
Steven Delombaerde
Philipp, that's what I mean, I did that, and I still get the error. Is Layout Type = data the correct setting ?Steven
Philipp Knecht
Hi StevenPlease make sure that you also added the parameter in the layoutdefinition and that the key is case sensitive.
hth
Steven Delombaerde
Thanks Philipp, forgot that parameters are case sensitive ...
0
Please sign in to leave a comment.
Comments
0 comments