 | IScheduleEventEntityInitializeFromMaintenanceContract Method |
Initialize the schedule event from a maintenance contract
Namespace:
EBP.Api.Interfaces.Invoicing.Module.Entities.Deal
Assembly:
EBP.Api.XXX.Interfaces (in EBP.Api.XXX.Interfaces.dll) Version: 1.0.3.0
Syntaxvoid InitializeFromMaintenanceContract(
IMaintenanceContractEntity contractEntity,
ICustomerEntity customerEntity,
bool copyAllCustomerProducts,
bool excludeInSleepingCustomerProduct,
Nullable<byte> eventState,
IScheduleEventTemplateEntity scheduleEventTemplate,
IEntityCollection<IColleagueEntity> eventTemplateColleagues
)
Sub InitializeFromMaintenanceContract (
contractEntity As IMaintenanceContractEntity,
customerEntity As ICustomerEntity,
copyAllCustomerProducts As Boolean,
excludeInSleepingCustomerProduct As Boolean,
eventState As Nullable(Of Byte),
scheduleEventTemplate As IScheduleEventTemplateEntity,
eventTemplateColleagues As IEntityCollection(Of IColleagueEntity)
)
Parameters
- contractEntity
- Type: EBP.Api.Interfaces.Invoicing.Module.Entities.MaintenanceIMaintenanceContractEntity
Maintenance contract entity which contains data for initialize the schedule event - customerEntity
- Type: EBP.Api.Interfaces.Invoicing.Module.Entities.CustomerICustomerEntity
Customer entity to avoid load it for many events - copyAllCustomerProducts
- Type: SystemBoolean
True if the customer products must be copied in event - excludeInSleepingCustomerProduct
- Type: SystemBoolean
True to exclude InSleeping state customer products - eventState
- Type: SystemNullableByte
Event state to set - scheduleEventTemplate
- Type: EBP.Api.Interfaces.Invoicing.Module.Entities.MaintenanceIScheduleEventTemplateEntity
Schedule event template to avoid load it while initializing - eventTemplateColleagues
- Type: EBP.Api.Interfaces.EntityIEntityCollectionIColleagueEntity
Event template colleagues to know which worked hours apply
See Also