CreateExpenseLog(CreateExpenseLogSetup,IDbTransaction) Method
Setup object for API invocation.
Database transaction under which the API will be invoked.
Used to create a new expense log that is related to an onsite log. This overload takes a setup object and a database transaction.
Syntax
'Declaration
Public Overloads Function CreateExpenseLog( _
ByVal _setupParam_ As CreateExpenseLogSetup, _
ByVal _transaction_ As IDbTransaction _
) As CreateExpenseLogResult
public CreateExpenseLogResult CreateExpenseLog(
CreateExpenseLogSetup _setupParam_,
IDbTransaction _transaction_
)
Parameters
setupParam
Setup object for API invocation.
transaction
Database transaction under which the API will be invoked.
Return Value
A CreateExpenseLogResult instance with no properties set. The properties (Objid, IDNum, etc.) are not relevant to this API.
Remarks
The objid of the onsite log or a case/subcase id must be supplied (but not both). If you do not specify a billing rate, the employee’s labor rate will be used.
Example
Developer Walkthrough - Transaction Support
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server family