Data Archive
- Data Archive 6.5
- All Products
UPDATE interim A SET INVOICE_NOT_CLOSED = 1 WHERE A.invoice_header_id IN (SELECT H.invoice_header_id FROM ap_invoice_header H WHERE H.invoice_status <> ‘ CLOSED’);
UPDATE interim A SET INVOICE_NOT_CLOSED = 1 WHERE A.invoice_header_id IN (SELECT H.invoice_header_id FROM ap_invoice_header H, interim X WHERE H.invoice_header_id=X.invoice_header_id AND H.invoice_status <> ‘ CLOSED’);
A.invoice_header_id IN (SELECT H.invoice_header_id FROM ap_invoice_header H, interim X WHERE H.invoice_header_id=X.invoice_header_id AND H.invoice_status <> ‘ CLOSED’)