Click or drag to resize

AssetCalculatePeriodsCount Method

Calculates the periods count.

Namespace:  Aloe.EnterpriseOne.Model.Applications.Rental
Assembly:  Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntax
public static int CalculatePeriodsCount(
	Asset rentAsset,
	WorkSchedule workSchedule,
	DateTime start,
	DateTime end
)

Parameters

rentAsset
Type: Aloe.EnterpriseOne.Model.Applications.RentalAsset
The rent asset.
workSchedule
Type: Aloe.EnterpriseOne.Model.General.ResourcesWorkSchedule
The work schedule.
start
Type: SystemDateTime
The start.
end
Type: SystemDateTime
The end.

Return Value

Type: Int32
end - start in days
See Also