![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, new posting here, but come here often to look up solutions. I have a complicated system of relational DB's (in FMP6)and thought I had figured a solution to running a summary/comparison report. Unfortunately it is not working completely. I have a PO db linked to PO Line items. Then I have an Invoice db linked to the PO db, and to an Invoice Line Items. What my manager wants is to link the PO Line Items to the Invoice Line Items. Basically a PO has many line items (usually only one part #) but different shipping dates and quantities. Then the Invoice is written when items are shipped, (usually only one line item) but it could consist of more than one PO line item. Ex: PO #12 has 3 LI's: 1) part 1 ship date 7-1-03 qty 100 2) part 1 ship date 7-15-03 qty 200 3) part 1 ship date 7-30-03 qty 100 Invoice # 023 has one line item: 1)part 1 Actual Ship Date 7-3-03 qty 75 Invoice # 024 has one line item: 1)part 1 Actual Ship Date 7-20-03 qty 225 as you can see invoice #024 has some parts from PO LI #1 and PO LI #2 what my manager wants to see is that on PO #12 Total po line items and total invoice line items (which I can do) but then she wants to map PO Line Item #1 to the Invoice(s) to look like: Po# Date promised Qty Date Actually shipped Qty shipped Which may have more than one line of Actually shipped dates for each Po Line item. I currently am using a subsummary part report layout that is based on the PO# and then sorts by (related field) PO line Item in the Invoice Line item DB. I was able to connect the correct line item to the corresponding line. But when I run the script to sort the report, it does not show the 2nd line item in the invoice. the totals (summary fields) are correct, but the body is not showing the 2 lines. I hope this makes sence to someone. I have been racking my brain, books, and this web site to find out what I have done incorrectly. There will probably be a much better answer from someone else because I |
![]() |
| Thread Tools | |
| Display Modes | |
| |