ProjProjectInfoService.getProjectInfoByExpenseNumber Method [AX 2012]

This method provides the information about projects associated with the specified expense report. For more details about the provided information:

public List getProjectInfoByExpenseNumber(TrvExpNumber _expenseNumber, [DataAreaId _company])

Run On

Server

Parameters

_expenseNumber
Type: TrvExpNumber Extended Data Type
The id of the expense report to get TrvProjectInfoData for.
_company
Type: DataAreaId Extended Data Type
The id of the company specified expense report belongs to.

Return Value

Type: List Class
A List of TrvProjectInfoData objects that contain info about all the projects that specified expense report lines correspond to.

If there is no projects associated with the specified expense report, or there is no such report in the specified company, this method returns an empty list.

Community Additions

ADD
Show: