Sets a return line status that is based on an update document.
Syntax
public SalesLine setReturnLineStatus(DocumentStatus _documentStatus)
Run On
Called
Parameters
- _documentStatus
Type: DocumentStatus Enumeration
A DocumentStatus enumeration value.
Return Value
Type: SalesLine Table
The SalesLine table.
Exceptions
| Exception | Condition |
|---|---|
| Error | The return order lines do not have a Registered or Received enumeration value return status. |