Description
Retrieves the keys and names of all the financial years.
Syntax
Example
| Getting a list of financial years (C#) | Copy Code |
|---|
try { SAPbobsCOM.FinancialYearsParams oGetList = oFYSrv.GetFinancialYearList(); String result; foreach(SAPbobsCOM.FinancialYearParams oGetItem in oGetList) { result = oGetItem.AbsEntry + " " + oGetItem.Code + " " + oGetItem.Description; Interaction.MsgBox(result, (Microsoft.VisualBasic.MsgBoxStyle)(0), null); } } catch (Exception ex) { Interaction.MsgBox(ex.Message, (Microsoft.VisualBasic.MsgBoxStyle)(0), null); }
|
|
See Also