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