Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Having formula Trouble Post Reply Post New Topic
Author Message
Georgehusong
Newbie
Newbie
Avatar

Joined: 30 Oct 2008
Location: United States
Online Status: Offline
Posts: 1
Quote Georgehusong Replybullet Topic: Having formula Trouble
    Posted: 30 Oct 2008 at 9:16am
I have built a report for my company to do inventory checks and ballances and could use some help with the formula...
1  Qty_Recieved-Inventory that was recieved today
2  Qty_Onhand -Current stocked inventory including what was just recieved...!!!
3  Qty_Allocated-To a sales order or transfer
These are all numbers from the Sql Tables
I created the formula named "to Stock" as the number of each item that should be left on the recieving table to be checked off at the end of the day. Which should be Qty recieved - qty allocated not including what we already allocated from on_hand inventory.
I think I have the formula correct as
if {@Old On hand} >= {p21_view_inv_loc.qty_allocated} then {p21_view_po_line.qty_received} else if {@Old On hand} < {p21_view_inv_loc.qty_allocated} then {p21_view_inv_loc.qty_on_hand} - {p21_view_inv_loc.qty_allocated}


Edited by Georgehusong - 31 Oct 2008 at 11:12am
George Husong
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.016 seconds.