I am trying to write a report which basilically takes the posted shipment note, and uses the info to print off some box labels. This part is fine, but there is a field which says X no. of packages, and I need to use this to make the report print itself X times.
Up till now i've only created relitively simply reports - so is this possible, and where is a good starting point?
Thanks,
0
Answers
David
Mobile: +44(0)7854 842801
Email: david.cox@adeptris.com
Twitter: https://twitter.com/Adeptris
Website: http://www.adeptris.com
This report is going to be called from the posted sales shipments form - which is fine - I can get it to run my new object ok.
However, I want it to pass through the SS.No. as the filter value for the report. At present you have to manually enter the number.
There are other reports that pull this info through, but looking at them I can't see how they are grabbing the ss.No.
What am I missing?
Look at the sales shipment header - a local funct called Printrecords
The code on the print button is
perhaps a place to start
http://www.BiloBeauty.com
http://www.autismspeaks.org
(of course you want to set Field A to a real field name and Value 1 to some value or use the setfilter command).
Another option if there are more complex options or values required is to build a function that handles any of that filtering logic in the report itself and just call the report using a local variable.
Epimatic Corp.
http://www.epimatic.com
Although I didn't realise at first you could get at the OnPush() of a menu item, as it was running from a button at first.
Cheers.