How are transactions handled within Warehouse functions ?
Ordinarily Warehouse by default treats every record read and processed within the outermost READ loop as a single transaction. However, when the operation is located within a function Warehouse will not issue an implicit commit. The Warehouse script must be coded to issue an explicit commit if this is desired.