View unanswered posts | View active topics
|
Page 1 of 1
|
[ 2 posts ] |
|
| Author |
Message |
|
Reme
|
Post subject: BOM Structure Report modification Posted: Mon Oct 03, 2011 4:47 pm |
|
Joined: Mon Oct 03, 2011 3:16 pm Posts: 5 Location: United Kingdom
|
|
Hi. I am trying to modify the BOM Structure report through the OpenOffice plugin. I want to add the manufacturers name, part name and reference as well as the description for each BOM line item. I have added fields and tried various lines of code (for example [[ repeatIn(get_children(o.bom_lines), 'l') ]] followed by [[ '... '*(l['level']) ]] - [[ l['name'] ]] [[ l['manufacturer.name'] ]] [[ l['description'] ]]) but the report does not give me the information I require.
Can anybody advise what I need to do.
Thanks in advance,
M.
|
|
| Top |
|
 |
|
gdaddy
|
Post subject: Re: BOM Structure Report modification Posted: Sun Oct 09, 2011 7:54 pm |
|
Joined: Wed Jan 27, 2010 6:21 pm Posts: 797 Location: Auckland, NZ
|
|
I think your issue will be with get_children. Reports cannot usually access the methods of a class unless you declare them in localcontext in a custom parser.
_________________ Graeme
|
|
| Top |
|
 |
|
Page 1 of 1
|
[ 2 posts ] |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum
|