biuan SAP® BUSINESS ONE SDK
API Financial Years Service / Add Financial Year

Description

Adds a financial year.

Syntax

Visual Basic
Public Function AddFinancialYear( _
   ByVal pIFinancialYear As FinancialYear _
) As FinancialYearParams

Parameters

pIFinancialYear
The data for the new financial year

Return Type

Contains the key (AbsId) of the new financial year.

Example

Adding a financial year (C#)
try { SAPbobsCOM.FinancialYear oFY; oFY = (SAPbobsCOM.FinancialYear)oFYSrv.GetDataInterface(FinancialYearsServiceDataInterfaces.fysFinancialYear); oFY.Code = "200703"; oFY.Description = "FY 07-08"; DateTime otime = DateTime.Parse("01/03/2007"); oFY.StartDate = otime; oFY.AssessYear = "200703"; oFYSrv.AddFinancialYear(oFY); } catch (Exception ex) { Interaction.MsgBox(ex.Message, (Microsoft.VisualBasic.MsgBoxStyle)(0), null); }

See Also

Related information


Financial Year FinancialYear Object· Table: OFYM
Represents a financial year for TDS (withholding tax) reports. Source table: OFYM
   Parent: Financial Years Service FinancialYearsService Service· Table: OFYM

Financial Years Params FinancialYearsParams Collection
A collection of FinancialYearParams objects.
   Parent: Financial Years Service FinancialYearsService Service· Table: OFYM

Financial Years Service Data Interfaces FinancialYearsServiceDataInterfaces Enumeration
FinancialYearsService data interfaces.
   Parent: Financial Years Service FinancialYearsService Service· Table: OFYM

Financial Years Service FinancialYearsService Service· Table: OFYM
The FinancialYearsService service enables you to add, look up and remove financial roles for TDS (withholding tax) reports. To see the list of employee roles and create a new one, select Administration -- Setup -- Financials -- TDS --...



SAP® Business One is the trademark(s) or registered trademark(s) of SAP AG in Germany and in several other countries. Contact
This website is not affiliated with, maintained, authorized, endorsed or sponsored by SAP AG or any of its affiliates