Hello,
I'm using CR2008, SQL ODBC data source with 2 data tables (workorder, materials transactions), linked by a field called wonum (workorder number).
I'm trying to update a report that lists all parts & materials purchased for each workorder. Here is an example of how it displays:
GH1: Site
GH2: Manager
GH3: Workorder # 12345
GH4: Month: August 2009
Details:
Invoice #/Description Cost Invoice Date
2588 Connectors $12.49 8/26/09
2322 Five Inch Cables $32.87 8/13/09
2588 (Deleted) Connectors -$12.49 8/26/09
Total Costs for August 2009: $32.87
Note: Invoice #/Description is a single string field entered by the user, so I can't group the 2 transactions based on their invoice #2588, because their descriptions are also part of the same field and are slightly different for each one.
As you can see, the data entry application does not allow materials transactions to be deleted once saved, so if there is a data entry mistake made, you have to minus out the cost of the original entry on a separate transaction.
The problem for reporting purposes, there is no exact identifier in the data table that links one transaction to another. The invoice dates are the same, but there may be unrelated transactions with the same invoice date. Part of the description is the same, but usually the minused out transaction has the word "(Deleted)" contained in the description.
So if I do not want transactions that are mistakes (such as the 2 "connectors" transactions in the above example) to appear on the report, I can't just group on a field that links the 2 transactions I want to get rid of and suppress the group, since there aren't any true identifying fields that link them together.
Any ideas on how I could go about eliminating these kind of "mistake" transactions from the report?
I'd appreciate any suggestions. Thanks!
I'm using CR2008, SQL ODBC data source with 2 data tables (workorder, materials transactions), linked by a field called wonum (workorder number).
I'm trying to update a report that lists all parts & materials purchased for each workorder. Here is an example of how it displays:
GH1: Site
GH2: Manager
GH3: Workorder # 12345
GH4: Month: August 2009
Details:
Invoice #/Description Cost Invoice Date
2588 Connectors $12.49 8/26/09
2322 Five Inch Cables $32.87 8/13/09
2588 (Deleted) Connectors -$12.49 8/26/09
Total Costs for August 2009: $32.87
Note: Invoice #/Description is a single string field entered by the user, so I can't group the 2 transactions based on their invoice #2588, because their descriptions are also part of the same field and are slightly different for each one.
As you can see, the data entry application does not allow materials transactions to be deleted once saved, so if there is a data entry mistake made, you have to minus out the cost of the original entry on a separate transaction.
The problem for reporting purposes, there is no exact identifier in the data table that links one transaction to another. The invoice dates are the same, but there may be unrelated transactions with the same invoice date. Part of the description is the same, but usually the minused out transaction has the word "(Deleted)" contained in the description.
So if I do not want transactions that are mistakes (such as the 2 "connectors" transactions in the above example) to appear on the report, I can't just group on a field that links the 2 transactions I want to get rid of and suppress the group, since there aren't any true identifying fields that link them together.
Any ideas on how I could go about eliminating these kind of "mistake" transactions from the report?
I'd appreciate any suggestions. Thanks!