akalinowski
IS-IT--Management
OK, so we are moving to a new point of sale that has a sql back end, from retail pro... we hve some import/exports that happen between our pos and erp, one of them is formated in a certain way and it would cost some $$$ to get the erp re-programmed so i was hoping some one could point me in the right direction as to how to do this:
the query would need to pull each invoice (receipt) like this:
H,Receipt_Number,Date,Store
I,Item_UPC, Quantity, PRICE
I,Item_UPC, Quantity, Price
I,..this continues for however many lines on the receipt
S, Tax%, tax$, Discount$
the H, I and S just are there to indicate if its a header, line item or 'subheader?' ( i didnt write this i inhereted it)
so a real file would look like this
H,1234,20091022,1
I,343253253454,1,19.99
I,532234424345,1,5.00
S, 8.75,2.18,0
H,1235,20091022,1
I,343253253454,1,19.99
S, 8.75,1.75,0
using sql i can query all the data i need, i just dont know how to format it in that manner
thanks.
akalinowski
the query would need to pull each invoice (receipt) like this:
H,Receipt_Number,Date,Store
I,Item_UPC, Quantity, PRICE
I,Item_UPC, Quantity, Price
I,..this continues for however many lines on the receipt
S, Tax%, tax$, Discount$
the H, I and S just are there to indicate if its a header, line item or 'subheader?' ( i didnt write this i inhereted it)
so a real file would look like this
H,1234,20091022,1
I,343253253454,1,19.99
I,532234424345,1,5.00
S, 8.75,2.18,0
H,1235,20091022,1
I,343253253454,1,19.99
S, 8.75,1.75,0
using sql i can query all the data i need, i just dont know how to format it in that manner
thanks.
akalinowski