Description
Deletes an existing financial year.
The financial year is specified by its key (AbsId), which is contained in the FinancialYearParams object passed to the method.
Syntax
Parameters
Remarks
Example
| Deleting a financial year (C#) | Copy Code |
|---|
try { SAPbobsCOM.FinancialYearParams oDeleteLine; oDeleteLine = (SAPbobsCOM.FinancialYearParams)oFYSrv.GetDataInterface(FinancialYearsServiceDataInterfaces.fysFinancialYearParams); oDeleteLine.AbsEntry = 4; oFYSrv.DeleteFinancialYear(oDeleteLine); } catch (Exception ex) { Interaction.MsgBox(ex.Message, (Microsoft.VisualBasic.MsgBoxStyle)(0), null); } |
|
See Also