I'm reporting against a transaction history table. The transactions record the various stages of a product sku as it goes from warehouse to shipping (planned, scheduled, picked, ship, etc) Any time something changes on the order master table, the transaction is recorded here, with the most current data in the order master. With all of these records, I need to get the maximum of the field "latest_delivery_date", which could change with each update.
The report needs to be grouped/ordered by requested_date , then sku. The requested_date is a formula field determined by certain criteria in the record:
{@ReqDate}=
If {table_A.criteria}= X then
{table_B.requested_date}
else
table_A.requested_date}
I have the grouping and sorting working per spec (along with other selection criteria) and I'm returning the data that I need. The criteria above is a specific transaction code of those returned. If I don't get X for the sku, I need to get the max of the latest_delivery_date of those returned.
Thanks,
-SI
The report needs to be grouped/ordered by requested_date , then sku. The requested_date is a formula field determined by certain criteria in the record:
{@ReqDate}=
If {table_A.criteria}= X then
{table_B.requested_date}
else
table_A.requested_date}
I have the grouping and sorting working per spec (along with other selection criteria) and I'm returning the data that I need. The criteria above is a specific transaction code of those returned. If I don't get X for the sku, I need to get the max of the latest_delivery_date of those returned.
Thanks,
-SI