Description
Updates an existing ISD document.
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) { oDoc.Remarks = "This has been changed via DI 200"; } oDocService.Update(oDoc); if (string.IsNullOrEmpty(oCompany.GetLastErrorDescription())) { MessageBox.Show("ISD Document#" + oDoc.DocumentNumber + " updated successfully.", "Message"); } |
|
See Also