Description
Modifies the menu name for a specific document type/document subtype.
Syntax
Parameters
Example
| Changing a document's menu name (C#) | Copy Code |
|---|
Company oCompany = new SAPbobsCOM.Company(); // ... specify some parameters for the company object int iRetCode = oCompany.Connect(); CompanyService companyService = oCompany.GetCompanyService(); SeriesService seriesService = (SeriesService)companyService.GetBusinessService(ServiceTypes.SeriesService); DocumentTypeParams documentTypeParams = (DocumentTypeParams)seriesService.GetDataInterface(SeriesServiceDataInterfaces.ssdiDocumentTypeParams); documentTypeParams.Document = "10000105"; documentTypeParams.DocumentSubType = "--"; DocumentChangeMenuName documentChangeMenuName = seriesService.GetDocumentChangedMenuName(documentTypeParams); documentChangeMenuName.ChangedMenuName = "My New Name"; seriesService.ChangeDocumentMenuName(documentChangeMenuName); |
|
See Also