Sum("Posted Whse. Shipment Line"."Qty. (Base)" WHERE (Location Code=FIELD(Code),Assigned User ID=FIELD(User Filter),Shipment Date=FIELD(Date Filter),Truck Number=FIELD(Truck Filter),Item No.=FIELD(Item Filter),Contract Site Code=FIELD(Contract Site Code Filter),Type of Order=FIELD(Type of Order Filter),BOM Version=FIELD(BOM Version Filter),MVR Version=FIELD(MVR Version Filter),Incident No.=FIELD(Incident No. Filter)))
Comments
RIS Plus, LLC
http://www.BiloBeauty.com
http://www.autismspeaks.org
Hey you beat me to it a number of times
RIS Plus, LLC
What table does 'Location Code' come from and what does 'FIELD(Code)' mean???
Thanks so much. Sorry for the beginner questions![/quote]
the first field (in this case the 'Location Code') comes from the table that you're summing in (which is the "Posted Whse. Shipment Line" table remember). The second one is always presented as FIELD(<fieldname>) in case the calcformula is of the type 'field', and in this case refers to the 'Code' field of the table in which you found this formula.
Go into the table designer, go to the properties pages of that field, and in the CalcFormula property, click the ellipsis to see the calcformula editor. In there you'll find another ellipsis in the Table Filter box that you can look at the field level detail of the calcformula.
hth
RIS Plus, LLC
It's a bit difficult picking Navision up due to the lack of documentation out there. Thanks again.
& I have some other docs here: http://www.geocities.com/navision_attain/downloads.html
http://www.BiloBeauty.com
http://www.autismspeaks.org
RIS Plus, LLC