Estrutura da Tabela

Field Type Null Key Default Extra
idItem int(11) NO
subTotal decimal(10,3) YES
quantidade decimal(10,2) YES
desconto decimal(10,2) YES
valor decimal(10,3) NO
compraId int(11) NO
produtoId int(11) NO
compra_pIPI decimal(12,4) YES
compra_vIPI decimal(12,4) YES
compra_pICMS decimal(12,4) YES
compra_vICMS decimal(12,4) YES
compra_pICMSST decimal(12,4) YES
compra_vICMSST decimal(12,4) YES
compra_frete decimal(12,4) YES
compra_royalties decimal(12,4) YES
lastUser int(11) NO

Dados da Tabela (máx. 100 linhas)

idItem subTotal quantidade desconto valor compraId produtoId compra_pIPI compra_vIPI compra_pICMS compra_vICMS compra_pICMSST compra_vICMSST compra_frete compra_royalties lastUser
1 20000.000 100.00 0.00 200.000 2 4 0.0000 0.0000 0.0000 0.0000 0.0000 120
1 20000.000 100.00 0.00 200.000 2 4 0.0000 0.0000 0.0000 0.0000 0.0000 120
1 20000.000 100.00 0.00 200.000 2 4 0.0000 0.0000 0.0000 0.0000 0.0000 120