lauriebizz
Technical User
Hi - I've got a question. I've got Crystal 9/SQL
Current record select formula:
{matltran.trans_type} in ["F"] and
{matltran.trans_date} = Today()-1 and
{item.product_code} = "FG" or
({matltran.trans_type} in ["M"] and {matltran.loc} in ["HDC"]) and
{matltran.trans_date} = Today()-1 and
{item.product_code} = "FG"
I need to sum the {matltran.qty} for type F minus the {matltran.qty} for type M at the group {maltran.item} level.
Any suggestions?
Thanks-
Laurie
Current record select formula:
{matltran.trans_type} in ["F"] and
{matltran.trans_date} = Today()-1 and
{item.product_code} = "FG" or
({matltran.trans_type} in ["M"] and {matltran.loc} in ["HDC"]) and
{matltran.trans_date} = Today()-1 and
{item.product_code} = "FG"
I need to sum the {matltran.qty} for type F minus the {matltran.qty} for type M at the group {maltran.item} level.
Any suggestions?
Thanks-
Laurie