Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Reads the fiscal period names, start dates, end dates, and quarters that are defined for the specified fiscal year.
Namespace: [Admin Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/Admin.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/Admin.asmx?wsdl
Syntax
'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Admin/ReadFiscalPeriods", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Admin/", _
ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Admin/", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function ReadFiscalPeriods ( _
fiscalYear As Integer _
) As FiscalPeriodDataSet
'Usage
Dim instance As Admin
Dim fiscalYear As Integer
Dim returnValue As FiscalPeriodDataSet
returnValue = instance.ReadFiscalPeriods(fiscalYear)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Admin/ReadFiscalPeriods", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Admin/",
ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Admin/",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public FiscalPeriodDataSet ReadFiscalPeriods(
int fiscalYear
)
Parameters
- fiscalYear
Type: System.Int32
The fiscal year in which periods are defined.
Return Value
Type: [Admin Web service].FiscalPeriodDataSet
Contains information for the fiscal periods.
Remarks
The fiscal periods can be set on the Fiscal Periods page in Project Web App (https://ServerName/ProjectServerName/_layouts/pwa/Admin/FiscalPeriod.aspx).
Project Server Permissions
Permission |
Description |
---|---|
Allows a user to log on to Project Server. Global permission. |