Data Archive
- Data Archive 6.5 HotFix 1
- All Products
INSERT INTO INTERIM A (INVOICE_HEADER_ID) SELECT invoice_header_id FROM ap_invoice_headers H WHERE invoice_date < :p_period_to AND invoice_status=’CLOSED’
INSERT INTO INTERIM A (INVOICE_HEADER_ID, INVOICE_NOT_CLOSED) SELECT invoice_header_id , DECODE(H.invoice_status,’CLOSED’,0,1) FROM ap_invoice_headers H WHERE invoice_date < :p_period_to
DECODE(H.invoice_status,’CLOSED’,0,1)