I am receiving the arror "A running total acnnot refer to print time formula"
I want to get how many, the and how many days parts have been in inventory. I also want know break down the quantities and costs by <1 year in inventory, 2 years in inventory and 3+ years in inventory.
I have am grouping on {inventory.part_no}
In the details section:
{@quantity} that calculates the quantity in inventory
if {INVENTORY_TRANSACTION_HIST\.DIRECTION} = "-" then {INVENTORY_TRANSACTION_HIST\.QUANTITY}*-1
else {INVENTORY_TRANSACTION_HIST\.QUANTITY}
{@extendedcost} that calculates the cost in inventory
if {INVENTORY_TRANSACTION_HIST\.DIRECTION} = "-"
then {INVENTORY_TRANSACTION_HIST\.COST}*{INVENTORY_TRANSACTION_HIST\.QUANTITY}*-1
else {INVENTORY_TRANSACTION_HIST\.COST}*{INVENTORY_TRANSACTION_HIST\.QUANTITY}
{#maxdate} finds the most recent date the part was put into inventory
field to summarize: {INVENTORY_TRANSACTION_HIST\.DATE_APPLIED}
type of summary: maximum
Evaluate by formula: if {INVENTORY_TRANSACTION_HIST\.DIRECTION} = "+" then true
Reset on change of group.
In the group footer:
group sum of {@quantity}
group sum of {@extedndedcost}
{@maxdate} calculates how many days by substracting the day put into inventory from the current date
CurrentDate-{#maxDate}
In the report footer:
report sum of {@quantity}
report sum of {@extedndedcost}
I am having troubles totaling the cost/quanity based on {@maxdate}.
I want to get how many, the and how many days parts have been in inventory. I also want know break down the quantities and costs by <1 year in inventory, 2 years in inventory and 3+ years in inventory.
I have am grouping on {inventory.part_no}
In the details section:
{@quantity} that calculates the quantity in inventory
if {INVENTORY_TRANSACTION_HIST\.DIRECTION} = "-" then {INVENTORY_TRANSACTION_HIST\.QUANTITY}*-1
else {INVENTORY_TRANSACTION_HIST\.QUANTITY}
{@extendedcost} that calculates the cost in inventory
if {INVENTORY_TRANSACTION_HIST\.DIRECTION} = "-"
then {INVENTORY_TRANSACTION_HIST\.COST}*{INVENTORY_TRANSACTION_HIST\.QUANTITY}*-1
else {INVENTORY_TRANSACTION_HIST\.COST}*{INVENTORY_TRANSACTION_HIST\.QUANTITY}
{#maxdate} finds the most recent date the part was put into inventory
field to summarize: {INVENTORY_TRANSACTION_HIST\.DATE_APPLIED}
type of summary: maximum
Evaluate by formula: if {INVENTORY_TRANSACTION_HIST\.DIRECTION} = "+" then true
Reset on change of group.
In the group footer:
group sum of {@quantity}
group sum of {@extedndedcost}
{@maxdate} calculates how many days by substracting the day put into inventory from the current date
CurrentDate-{#maxDate}
In the report footer:
report sum of {@quantity}
report sum of {@extedndedcost}
I am having troubles totaling the cost/quanity based on {@maxdate}.