9 lines
256 B
MySQL
9 lines
256 B
MySQL
|
SELECT
|
||
|
io.amount,
|
||
|
io.ref,
|
||
|
io.issued,
|
||
|
ict.description
|
||
|
FROM vn.invoiceCorrection ic
|
||
|
JOIN vn.invoiceOut io ON io.id = ic.correctedFk
|
||
|
JOIN vn.invoiceCorrectionType ict ON ict.id = ic.invoiceCorrectionTypeFk
|
||
|
where ic.correctingFk = ?
|