CommaIo.status Method [AX 2012]
Retrieves the status of the last operation that was performed on the Io object.
public IO_Status status()
Run On
CalledReturn Value
Type: IO_Status EnumerationThe status of the last operation, in the form of a system enumeration.
This example shows how to use the status method. However, this example will not compile in a job, because it must be run in the context of a class, form, or other object.
{
// Create an Io object and perform some operations.
if (myIo.status() == IO_Status::OK)
{
// Go ahead - the last operation was successful.
}
}
Community Additions
ADD
Show: