Description
Updates an existing nature of assessee.
The data for the nature of assessee, including the key of the nature of assessee to be updated, is contained in the NatureOfAssessee passed to the method. To update a nature of assessee, you must first retrieve it using the GetNatureOfAssessee method.
Syntax
Parameters
Remarks
Example
| Updating a nature of assessee (C#) | Copy Code |
|---|
try { SAPbobsCOM.NatureOfAssesseeParams oNOAParams = (SAPbobsCOM.NatureOfAssesseeParams)oNASrv.GetDataInterface(NatureOfAssesseesServiceDataInterfaces.noasNatureOfAssesseeParams); oNOAParams.AbsEntry = 1; SAPbobsCOM.NatureOfAssessee oNOA = oNASrv.GetNatureOfAssessee(oNOAParams); oNOA.Description = "Updated"; oNASrv.UpdateNatureOfAssessee(oNOA); } catch (Exception ex) { Interaction.MsgBox(ex.Message, (Microsoft.VisualBasic.MsgBoxStyle)(0), null); }
|
|
See Also