# ORDLISTREBUILD()

Rebuild all Orders in the Order List of the current work area

Syntax

  ORDLISTREBUILD() --> NIL

Arguments

Returns

  ORDLISTREBUILD() always returns NIL.

Description

  ORDLISTREBUILD() is an Order management function that rebuilds all the orders in the current or aliased Order List.
  To only rebuild a single Order use the function ORDCREATE().
  Unlike ORDCREATE(), this function rebuilds all Orders in the Order List. It is equivalent to REINDEX.

Examples

       USE Customer NEW
       SET INDEX TO CuAcct, CuName, CuZip
       ORDLISTREBUILD()     // Causes CuAcct, CuName, CuZip to
                            // be rebuilt

    Tests

Status

  Started

Compliance

Platforms

  All

Files

  Library is rdd

See Also

- ORDCREATE()