lhendrickson
Technical User
I am working with Crystal report 9.
Background: I am trying to create a report that summarizes AP clerk entry. A major piece of this entry is invoice coding. The coding is first entered on the purchase order (MMDIST), upon entering an invoice the AP clerk may decide to change the coding or may enter additional items that were not included on the purchase order (APDISTRIB). All invoice header information is included in a table named APINVOICE.
Problem: APINVOICE holds the PO Number and the invoice number. MMDIST only holds the PO number and APDISTRIB only holds the invoice number. I need to pull all the coding records from MMDIST for each PO Line number ONLY TO BE OVERRIDDEN if the AP clerk changed the coding for that line item which would show up in APDISTRIB.
Initial Tries: I tried to include these three tables in a subreport (due to lots of other info being included on the main report). If I link this subreport to the main report by PO number, data in APDISTRIB will not populate (b/c it doesn't hold the PO number), If I link the subreport to the main report by Invoice number, data in MMDIST won't populate. Thought of making 2 separate sub reports, but then not sure how to handle a PO line that was coded in MMDIST then the coding was changed in APDISTRIB. In this case I want the coding for APDISTRIB.
I apologize for my wordiness, just trying to properly explain the situation.
Any guidance you guys could give would be appreciated!!!
lhendrickson
Background: I am trying to create a report that summarizes AP clerk entry. A major piece of this entry is invoice coding. The coding is first entered on the purchase order (MMDIST), upon entering an invoice the AP clerk may decide to change the coding or may enter additional items that were not included on the purchase order (APDISTRIB). All invoice header information is included in a table named APINVOICE.
Problem: APINVOICE holds the PO Number and the invoice number. MMDIST only holds the PO number and APDISTRIB only holds the invoice number. I need to pull all the coding records from MMDIST for each PO Line number ONLY TO BE OVERRIDDEN if the AP clerk changed the coding for that line item which would show up in APDISTRIB.
Initial Tries: I tried to include these three tables in a subreport (due to lots of other info being included on the main report). If I link this subreport to the main report by PO number, data in APDISTRIB will not populate (b/c it doesn't hold the PO number), If I link the subreport to the main report by Invoice number, data in MMDIST won't populate. Thought of making 2 separate sub reports, but then not sure how to handle a PO line that was coded in MMDIST then the coding was changed in APDISTRIB. In this case I want the coding for APDISTRIB.
I apologize for my wordiness, just trying to properly explain the situation.
Any guidance you guys could give would be appreciated!!!
lhendrickson