Description
Updates an existing NCM code.
The data for the NCM code, including the key of the NCM code to be updated, is contained in the NCMCodeSetup object passed to the method. To update a NCM code, you must first retrieve it using the GetNCMCodeSetup method.
Syntax
Parameters
Remarks
Example
| Updating an NCM code (C#) | Copy Code |
|---|
NCMCodeSetupParams getLine; SAPbobsCOM.NCMCodeSetup updateLine; getLine = (NCMCodeSetupParams)oNCMSrv.GetDataInterface(NCMCodesSetupServiceDataInterfaces.ncmcssNCMCodeSetupParams); getLine.AbsEntry = 9789; updateLine = oNCMSrv.GetNCMCodeSetup(getLine); updateLine.NCMCode = "updated"; updateLine.Description = "updated description"; oNCMSrv.UpdateNCMCodeSetup(updateLine); |
|
See Also