jasonstewart
Programmer
Look at this example of an invoice 3000(ServiceRecordID) that I have to combine the fields and totals including tax and then put them into a seperate table but I can't seem to figure the correct SQL to do this.
This is the example of invoice #3000
SourceRecordID Category Rate Qty
3000 P 135.00 2
3000 P 23.56 4
3000 L 65.00 5
3000 P 12.00 2
3001 L 65.00 8
I have the ability to turn that information into another table that is then layed out like this
SourceRecordID Category InvoiceTotal
3000 P 388.24
3000 L 325.00
3001 L 520.00
I need to add a fixed sales tax(0.07616) to the parts column, represented by (P), and add the total to another table, which already exists, that will look like this
SourceRecordID TotalParts TotalLabor
3000 417.81 325.00
That is what I need the finished table to look like
I have mentioned this issue in a previous thread. But I have yet to resolve this issue. Thank you for all of anyones help.
This is the example of invoice #3000
SourceRecordID Category Rate Qty
3000 P 135.00 2
3000 P 23.56 4
3000 L 65.00 5
3000 P 12.00 2
3001 L 65.00 8
I have the ability to turn that information into another table that is then layed out like this
SourceRecordID Category InvoiceTotal
3000 P 388.24
3000 L 325.00
3001 L 520.00
I need to add a fixed sales tax(0.07616) to the parts column, represented by (P), and add the total to another table, which already exists, that will look like this
SourceRecordID TotalParts TotalLabor
3000 417.81 325.00
That is what I need the finished table to look like
I have mentioned this issue in a previous thread. But I have yet to resolve this issue. Thank you for all of anyones help.