INcModel::CloseProcedure

Description

This function allows you to close procedure.

Requirements

Procedure must be in edit mode.

Syntax

Status = CloseProcedure ( iUid, iSave);

Input: (int ) iUid

Nc Item ID to edit

Input: (bool ) iSave

Save and close or Cancel

Return: (int) status

0 = Operation successful.
1 = Error – Nc Item ID not valid.
2 = Error – Not in edit mode.
3 = Error – Operation failure.

Some functionality may be dependent on the product package. Contact your Reseller if you require a license.