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
Syntaxpublic static int CalculatePeriodsCount(
Asset rentAsset,
WorkSchedule workSchedule,
DateTime start,
DateTime end
)
Public Shared Function CalculatePeriodsCount (
rentAsset As Asset,
workSchedule As WorkSchedule,
start As DateTime,
end As DateTime
) As Integer
public:
static int CalculatePeriodsCount(
Asset^ rentAsset,
WorkSchedule^ workSchedule,
DateTime^ start,
DateTime^ end
)
static member CalculatePeriodsCount :
rentAsset : Asset *
workSchedule : WorkSchedule *
start : DateTime *
end : DateTime -> int
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:
Int32end - start in days
See Also