Forum Moderators: open
I have an accounting package that prints labels for purchased stock (these labels can be formatted using a report writer and sql statements).
When I purchase items on a purchase order I can get the label report to show one label per line on the purchase order.
however if the line on the purchase order has qty of 20. I would like 20 stickers and if the next line on the purchase order has 10 items i would like ten stickers...currently i get one sticker per line on the report.....(if the purchase order has 3 lines I get three stickers in the report - not what i want)
Ok here is the question....
Does anyone know a way for me to put a sql statement in the report to look at the qty fields of the of the three stickers that are showing up and then repeat the stickers by the number of times in the qty field...?.this way i get a sticker per item not per line
These are the fields .....Obviously laid out in a label form
PURCHASE_ORDER.ORDER_QTY
PURCHASE_ORDER.ORDER_DATE
PURCHASE_ORDER.ORDER_NUMBER
PURCHASE_ORDER.C_ADDRESS_5
PURCHASE_ORDER.C_ADDRESS_4
PURCHASE_ORDER.C_ADDRESS_3
PURCHASE_ORDER.C_ADDRESS_2
PURCHASE_ORDER.C_ADDRESS_1
PURCHASE_ORDER.NAME
Obviously we are dealing with the
PURCHASE_ORDER.ORDER_QTY field to apply the formula to.
With the report writer I can click any of the above fields then play with that fields properties like font etc....one of the properties is Conditional formating (do I put a formula in here to replicate it)....
Or
The whole report has menu's like join,sort,filter and criteria, etc that affect the labels also.
where and in what format would I need to use the count() Function.
thanks for your patience in this...
Peter
the field is singular with just the QTY....So not sure if the count statement would work...as i think count would count occurences in a table...
Need a statement that would look at the one qty field (which let say has the number 20 in it,,,,Then repeat that data (label)20 times.....
then move onto the next label......
Peter
But since its a package which you have purchased, I presume the best solution is to ask the sage team itself through their customer support and they should be helping you happily.
Which 1 are u using from the below ones?
Sage Line 50
Sage Payroll
Sage 50 Forecasting (also available to download)
ACT! by Sage