[This is preliminary documentation and is subject to change.]
Updates all the details realted to a particular expense
into the database and routes it to a particular user
as defined in the workflow.
Namespace:
OfficeClip.DBLayer.TEAssembly: OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0
Syntax
C# |
---|
public int UpdateExpense( ExpenseInfo ei, WorkflowAction wa, int routeToUserId, int stageId, ConfigureInfo session ) |
Visual Basic (Declaration) |
---|
Public Function UpdateExpense ( _ ei As ExpenseInfo, _ wa As WorkflowAction, _ routeToUserId As Integer, _ stageId As Integer, _ session As ConfigureInfo _ ) As Integer |
Visual C++ |
---|
public: int UpdateExpense( ExpenseInfo^ ei, WorkflowAction wa, int routeToUserId, int stageId, ConfigureInfo^ session ) |
Parameters
- ei
- Type: OfficeClip.BusinessLayer.TE..::.ExpenseInfo
Instance of the ExpenseInfo object containing all the information relate to an expense.
- wa
- Type: OfficeClip.Utils..::.WorkflowAction
Workflow action to be applied after inserting the new expense.
- routeToUserId
- Type: System..::.Int32
Id of the user to whom the timesheet should be routed.
- stageId
- Type: System..::.Int32
Stage Id of the user as defined in the workflow who is creating the new expense.
- session
- Type: OfficeClip.Utils..::.ConfigureInfo
The current login session