RE: Calculated Field in Report Writer
Hi Katie,
The approach I suggest is to create 3 calculated fields.
1.) Presumably take the Qty Fulfilled * Unit Price. (Let's call this CALC1). Place it in the Report Footer and change the "Display Type" to SUM.
2.) Presumably take the Qty to Back Order * Unit Price. (Let's call this CALC2). Place it in the Report Footer and change the Display type to SUM.
3.) When creating this 3rd calculated field, make sure you have "Resources" set to "Report Fields". Now when you click on the "Field" drop down list, you should see: RF_SUM CALC1 and RF_SUM CALC2 (Because you placed a field in the "RF" section, made the Display Type = "SUM" and the field was called CALC1...hence RF_SUM CALC1, etc...)
So the expression for this 3rd calculated field would simply be: RF_SUM CALC1 - RF_SUM CALC2
Place this 3rd calculated field in the RF section of your report and change the "Display Type" to Data.
============================================
The above is just a suggested method, and you may want to use different fields in Calc1 and Calc2. The "Tricky" bit (or the bit I think most people forget about) is in CALC field 3 where you use the "Report Fields".
Thanks,
Justin