Table of Contents

Table "Planning Activity WCAP"

ID 70345391
Namespace: CapVision.CapCollecte.Planning

Properties

Name Value
DataClassification CustomerContent
Caption Planning Activity
DataPerCompany False
LookupPageId Page CapVision.CapCollecte.Planning."Planning Activities WCAP"

Fields

Name Type Description
"Entry No." BigInteger
"Resource No." Code[20]

Specifies the resource for which the activity is scheduled.

"Activity Date" Date

Specifies the date when the activity occurs.

"Activity Starting Time" Time

Specifies when the activity starts.

"Activity Ending Time" Time

Specifies when the activity ends.

"Activity Duration" Duration

Specifies the duration of the activity. The value is calculated as the difference between the Activity Ending Time and the Activity Starting Time. If you change this field it will only affect the Activity Ending Time field.

"Activity Type" Enum CapVision.CapCollecte.Planning."Activity Type WCAP"

Specifies the type of activity. This field is used to categorize activities.

"Related Record System ID" Guid

Specifies the system ID of the record related to this activity. For instance, if the Activity Type is Tour, this system ID is the identifier of the tour.

"Reason Code" Code[20]

Specifies the reason for the activity.

Reason Text[100]

Specifies the description of the reason code.

Comment Text[250]

Specifies a custom comment for the activity.

"Driver Comment" Text[250]

Specifies a comment from the driver. This field is intended to be updated from the driver application.

Accomplished Boolean

Indicates whether the activity has been accomplished. This field is intended to be updated from the driver application.

"Tour Vehicle No." Code[20]
"Tour Trailer No." Code[20]
"Last Modification Date/Time" DateTime

Ce champ est utilisé pour stocker la dernière date de modification de l'enregistrement. Il est nécessaire que le champ standard systemModifiedAt soit actualisé, même si aucune autre modification de l'enregistrement a eu lieu. De cette façon, le planning peut détecter un changement sur l'activité, même si la modification porte sur une tournée par exemple.

SystemId Guid
SystemCreatedAt DateTime
SystemCreatedBy Guid
SystemModifiedAt DateTime
SystemModifiedBy Guid
SystemRowVersion BigInteger

Methods

SetSkipSynchronization

Définit si la synchronisation avec l'enregistrement associé doit être ignorée.

procedure SetSkipSynchronization(NewSkipSynchronization: Boolean)

Parameters

Name Type Description
NewSkipSynchronization Boolean

OpenCard

Ouvre la fiche associée à l'enregistrement.

procedure OpenCard(): Action

Returns

Type Description
Action

Events

OnBeforeCheckIfVehicleNotAlreadyAssigned

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckIfVehicleNotAlreadyAssigned(var PlanningActivity: Record "Planning Activity WCAP"; VehicleNo: Code[20]; TrailerNo: Code[20]; var IsHandled: Boolean)

Parameters

Name Type Description
PlanningActivity Table CapVision.CapCollecte.Planning."Planning Activity WCAP"
VehicleNo Code[20]
TrailerNo Code[20]
IsHandled Boolean

See also