Table "Tour WCAP"
Properties
| Name | Value |
|---|---|
| DataClassification | CustomerContent |
| Caption | Tour |
| DataPerCompany | False |
| DataCaptionFields | 1,20 |
| LookupPageId | Page CapVision.CapCollecte.Missions."Tours WCAP" |
| DrillDownPageId | Page CapVision.CapCollecte.Missions."Tours WCAP" |
Fields
| Name | Type | Description |
|---|---|---|
| "No." | Code[20] | Specifies the number used to identify the tour. |
| "Company Name" | Text[30] | Specifies the name of the company on which the record was created. |
| "Tour Date" | Date | Specifies the date of the tour. |
| "Item No." | Code[20] | Specifies the product item no. |
| "Typical Tour No." | Code[20] | Specifies the typical tour on which the tour is based on. To fill this field, you have to specify a product and a tour date. After validating the typical tour, missions will be generated based on the contracts of the typical tour. |
| "Vehicle No." | Code[20] | Specifies the vehicle resource number. |
| "Driver No." | Code[20] | Specifies the driver resource number. |
| "Driver Name" | Text[100] | |
| "Trailer No." | Code[20] | Specifies the trailer number of the vehicle. |
| "Starting Mileage" | Decimal | Specifies the kilometer value at the tour start. |
| "Ending Mileage" | Decimal | Specifies the kilometer value at the tour end. |
| "Traveled Miles" | Decimal | Specifies the traveled miles during the tour. |
| "Tare Weight" | Decimal | Specifies the tare of the vehicle. |
| "Gross Weight" | Decimal | Specifies the gross weight of the content. |
| "Net Weight" | Decimal | Specifies the net weight of the content. |
| "Total Weight" | Decimal | Specifies the total weight of the content. |
| "Weighing No." | Integer | Specifies the weighing number. |
| Observation | Blob | |
| Status | Enum CapVision.CapCollecte.Missions."Tour Status WCAP" | Specifies the status of the tour. |
| "Controlled on" | DateTime | Specifies the date/time at which the tour was controlled. |
| "Controlled by" | Code[50] | Specifies the user name that controlled the tour. |
| "Planned Starting Time" | Time | Specifies the planned starting time of the tour. |
| "Planned Duration" | Duration | Specifies the planned duration of the tour. |
| Description | Text[100] | Specifies the description of the tour. |
| "Driver Vendor No." | Code[20] | Get the Vendor No. field value specified on the driver associated resource. |
| "Origin Type" | Enum CapVision.CapCollecte.General."Third-party Type WCAP" | Specifies the type of the origin. |
| "Origin Code" | Text[30] | Specifies the code of the origin depending on the type. |
| "Origin Address Code" | Code[10] | Specifies the address code of the origin depending on the type. |
| "Origin Name" | Text[100] | Specifies the name of the origin. |
| "Origin Name 2" | Text[50] | Specifies the name 2 of the origin. |
| "Origin Address" | Text[100] | Specifies the address of the origin. |
| "Origin Address 2" | Text[50] | Specifies the second address line of the origin. |
| "Origin City" | Text[30] | Specifies the city of the origin. |
| "Origin Post Code" | Code[20] | Specifies the post code of the origin. |
| "Origin Country/Region Code" | Code[10] | Specifies the country/region code of the origin. |
| "Origin Latitude" | Decimal | Specifies the latitude of the origin. |
| "Origin Longitude" | Decimal | Specifies the longitude of the origin. |
| "Destination Type" | Enum CapVision.CapCollecte.General."Third-party Type WCAP" | Specifies the type of the destination. |
| "Destination Code" | Text[30] | Specifies the code of the destination depending on the type. |
| "Destination Address Code" | Code[10] | Specifies the address code of the destination depending on the type. |
| "Destination Name" | Text[100] | Specifies the name of the destination. |
| "Destination Name 2" | Text[50] | Specifies the second name of the destination. |
| "Destination Address" | Text[100] | Specifies the address of the destination. |
| "Destination Address 2" | Text[50] | Specifies the second address line of the destination. |
| "Destination City" | Text[30] | Specifies the city of the destination. |
| "Destination Post Code" | Code[20] | Specifies the post code of the destination. |
| "Dest. Country/Region Code" | Code[10] | Specifies the country/region code of the destination. |
| "Destination Latitude" | Decimal | Specifies the latitude of the destination. |
| "Destination Longitude" | Decimal | Specifies the longitude of the destination. |
| "Tour Week No." | Integer | Specifies the tour week No. |
| "Firmly scheduled" | Boolean | Specifies if the tour is firmly scheduled. |
| "Total Actual Picked Quantity" | Decimal | Specifies the Total Actual quantity that has been picked up on the tour missions. |
| "Total Actual Delivered Qty" | Decimal | Specifies the Total Actual quantity that has been delivered on the tour missions. |
| "Total Real Quantity" | Decimal | Specifies the Total Real quantity that has been delivered or picked up on the tour missions. |
| "Tour Start DateTime" | DateTime | Specifies the date and time at which the tour started. |
| "Tour End DateTime" | DateTime | Specifies the date and time at which the tour ended. |
| "Carrier Type" | Enum CapVision.CapCollecte.General."Third-party Type WCAP" | Specifies the type of carrier (Customer, Vendor, or Company). |
| "Carrier Code" | Text[30] | Specifies the code of the carrier. |
| "Total Tare Weight" | Decimal | Specifies the sum of the tare weights of the weighings. |
| "Total Gross Weight" | Decimal | Specifies the sum of the gross weights of the weighings. |
| "Total Net Weight" | Decimal | Specifies the sum of the net weights of the weighings. |
| SystemId | Guid | |
| SystemCreatedAt | DateTime | |
| SystemCreatedBy | Guid | |
| SystemModifiedAt | DateTime | |
| SystemModifiedBy | Guid | |
| SystemRowVersion | BigInteger |
Methods
SetHideValidationDialog
Définit une valeur indiquant si les boîtes de dialogue doivent être affichées.
procedure SetHideValidationDialog(NewHideValidationDialog: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| NewHideValidationDialog | Boolean |
SetSkipSynchronization
Définit si la synchronisation avec l'activité planning doit être ignorée.
procedure SetSkipSynchronization(NewSkipSynchronization: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| NewSkipSynchronization | Boolean |
GetPlanningActivity
Obtient l'activité planning associée à cette tournée.
procedure GetPlanningActivity(): Record "Planning Activity WCAP"
Returns
| Type | Description |
|---|---|
| Table CapVision.CapCollecte.Planning."Planning Activity WCAP" |
ConfirmTour
Valide une tournée.
procedure ConfirmTour()
Events
OnBeforeConfirmTour
[IntegrationEvent(False,False)]
local procedure OnBeforeConfirmTour(var Tour: Record "Tour WCAP"; var Handled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| Tour | Table CapVision.CapCollecte.Missions."Tour WCAP" | |
| Handled | Boolean |
OnAfterConfirmTour
[IntegrationEvent(False,False)]
local procedure OnAfterConfirmTour(var Tour: Record "Tour WCAP")
Parameters
| Name | Type | Description |
|---|---|---|
| Tour | Table CapVision.CapCollecte.Missions."Tour WCAP" |