clsImportPlanningbDoProjectBooking Method
|
Create a Timesheet entry based on a planning entry.
Copied ProjectNumber,ContractID,PhaseID and ContractPositionID from the planning
Namespace:
MARIInterface
Assembly:
MARIInterface (in MARIInterface.dll) Version: 8.0.0.100
Syntaxpublic bool bDoProjectBooking(
MPInterface oInterface,
int PlanJobDaysID,
DateTime DayOfService,
DateTime fromTime,
DateTime toTime,
double cHours,
DateTime fromTimeInvoiced,
DateTime toTimeInvoiced,
double cHoursInvoiced,
string Activity,
string Memo
)
Public Function bDoProjectBooking (
oInterface As MPInterface,
PlanJobDaysID As Integer,
DayOfService As DateTime,
fromTime As DateTime,
toTime As DateTime,
cHours As Double,
fromTimeInvoiced As DateTime,
toTimeInvoiced As DateTime,
cHoursInvoiced As Double,
Activity As String,
Memo As String
) As Boolean
Parameters
- oInterface
- Type: MARIInterfaceMPInterface
Instance of the MPInterface - PlanJobDaysID
- Type: SystemInt32
Planning base - DayOfService
- Type: SystemDateTime
- fromTime
- Type: SystemDateTime
- toTime
- Type: SystemDateTime
- cHours
- Type: SystemDouble
- fromTimeInvoiced
- Type: SystemDateTime
- toTimeInvoiced
- Type: SystemDateTime
- cHoursInvoiced
- Type: SystemDouble
- Activity
- Type: SystemString
- Memo
- Type: SystemString
Return Value
Type:
Boolean
Remarks
See Also