Description
Retrieves an ISD document.
The ISD document is specified by its key, which is contained in the ISDParams object passed to the method.
Syntax
Parameters
Example
| C# | Copy Code |
|---|
CompanyService oCompanyService = oCompany.GetCompanyService(); ISDDocumentsService oDocService = oCompanyService.GetBusinessService(ServiceTypes.ISDDocumentsService); ISDParams oDocParams = oDocService.GetDataInterface(ISDDocumentsServiceDataInterfaces.isd_ISDParams); oDocParams.DocumentEntry = 1; ISDDocument oDoc = oDocService.Get(oDocParams); if (oDoc != null) { ISDDocStatusEnum status = oDoc.DocumentStatus; if (status == ISDDocStatusEnum.isd_Open) { MessageBox.Show("ISD #" + oDoc.DocumentNumber + " now is in open status. ", "Message"); } } |
|
See Also