Click or drag to resize

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
Syntax
public bool bDoProjectBooking(
	MPInterface oInterface,
	int PlanJobDaysID,
	DateTime DayOfService,
	DateTime fromTime,
	DateTime toTime,
	double cHours,
	DateTime fromTimeInvoiced,
	DateTime toTimeInvoiced,
	double cHoursInvoiced,
	string Activity,
	string Memo
)

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