



SELECT materialdocument.postingdate,
materialdocument.storagelocationid AS "storagelocationid", 
materialdocument.shorttext AS "shorttext", 
materialdocument.quantity AS "quantity", 
materialdocument.direction AS "direction", materialdocument.unitid AS "unitid", 
materialdocument.oid AS "_erp_demo_materialdocument_oid_0" 
FROM /erp_demo/materialdocument materialdocument 
WHERE materialdocument.postingdate <= 1.7732448e+12 AND materialdocument.isreturnitem != 'X' 
LIMIT 0, 500000 WITH TIMEOUT = 6m
/**
output()
**/;

