TableExtension "Sales Line WCAP"
Fields
| Name | Type | Description |
|---|---|---|
| "Customer Address Code WCAP" | Code[10] | |
| "No. of Missions WCAP" | Integer | |
| "Company Name Filter WCAP" | Text[30] | |
| "Mission Filter WCAP" | Text[30] | |
| "Weighing Net Weight WCAP" | Decimal | Specifies the sum of the net weights of the weighings for the record. |
| "Open Weighing Net Weight WCAP" | Decimal | Specifies the sum of the opened net weights of the weighings for the record. An opened weighing is a weighing that has not been shipped yet. |
| "Open Weighing Log Entries WCAP" | Decimal | Specifies the sum of the opened weighing log entries for the record. An opened weighing is a weighing that has no 2nd weighing. |
| "Empty Run WCAP" | Boolean | |
| "Origin Type WCAP" | Enum CapVision.CapCollecte.General."Third-party Type WCAP" | |
| "Origin Code WCAP" | Text[30] | |
| "Origin Address Code WCAP" | Code[10] | |
| "Origin Name WCAP" | Text[100] | |
| "Origin Name 2 WCAP" | Text[50] | |
| "Origin Address WCAP" | Text[100] | |
| "Origin Address 2 WCAP" | Text[50] | |
| "Origin City WCAP" | Text[30] | |
| "Origin Post Code WCAP" | Code[20] | |
| "Origin Country/Region WCAP" | Code[10] | |
| "Origin Latitude WCAP" | Decimal | |
| "Origin Longitude WCAP" | Decimal | |
| "Destination Type WCAP" | Enum CapVision.CapCollecte.General."Third-party Type WCAP" | |
| "Destination Code WCAP" | Text[30] | |
| "Destination Address Code WCAP" | Code[10] | |
| "Destination Name WCAP" | Text[100] | |
| "Destination Name2 WCAP" | Text[50] | |
| "Destination Address WCAP" | Text[100] | |
| "Destination Address 2 WCAP" | Text[50] | |
| "Destination City WCAP" | Text[30] | |
| "Destination Post Code WCAP" | Code[20] | |
| "Destinat. Country/Region WCAP" | Code[10] | |
| "Destination Latitude WCAP" | Decimal | |
| "Destination Longitude WCAP" | Decimal | |
| "Carrier Type WCAP" | Enum CapVision.CapCollecte.General."Third-party Type WCAP" | Specifies the carrier type for this line. |
| "Carrier Code WCAP" | Text[30] | Specifies the carrier for this line (vendor must have Is Carrier WCAP flag enabled). |
| "Service Type WCAP" | Code[10] | |
| "Item Type WCAP" | Microsoft.Inventory.Item."Item Type" | |
| "Totalisation Group WCAP" | Code[250] | Specifies a code used for indicate how the line is totalised on the invoice. |
| "Item Price Variant WCAP" | Code[20] | Specifies the code used to determine the price variant of the item. |
| "Pickup Mission Invoiced WCAP" | Integer | Specifies the pickup missions that have been invoiced in this line. |
| "Requested Delivery Time WCAP" | Time | Specifies the requested delivery time. |
| "Invoice No. Cancelled WCAP" | Code[20] | |
| "Invoice Line No. CancelledWCAP" | Integer | |
| "Material Type WCAP" | Code[10] | Specifies the material type of the sales line. |
| "Created From IC Line OrderWCAP" | Integer | |
| "Outlet Type WCAP" | Enum CapVision.CapCollecte.Missions.MissionRequest."Outlet Type WCAP" | Specifies the type of outlet for the sales line. |
| "Outlet Price List Code WCAP" | Code[20] | |
| "Outlet Line No. WCAP" | Integer | |
| "Outlet Address Code WCAP" | Code[20] | Specifies the address code associated with the outlet price list. |
| "Outlet Third-Party No. WCAP" | Code[20] | Specifies the third-party no. associated with the outlet price list. |
| "Outlet Description WCAP" | Text[250] | Specifies the description of the outlet price list. |
| "Price List Code WCAP" | Code[20] | Specifies the price list code associated with the sales line. |
| "Price List Line No. WCAP" | Integer | Specifies the price list line no. associated with the sales line. |
| "Price List Line Forced WCAP" | Boolean | Indicates whether the price list line has been forced for the sales line. |
| "Job Product Line No. WCAP" | Integer |
Methods
CreateWeighingWCAP
Créé une nouvelle pesée pour la ligne de commande.
procedure CreateWeighingWCAP()
CloseWeighingWCAP
Ferme la pesée pour la ligne de commande.
procedure CloseWeighingWCAP()
RetrieveWeightWCAP
Sélectionne une ligne de pesée pour appliquer son poids à la ligne de commande de type prestation (ou traitement si existante) associée à la ligne de vente en cours. Si la ligne de vente en cours est déjà une ligne de prestation (ou traitement si existante), le poids est appliqué à cette ligne directement.
procedure RetrieveWeightWCAP(): Decimal
Returns
| Type | Description |
|---|---|
| Decimal |
RetrieveWeightWithMissionWCAP
procedure RetrieveWeightWithMissionWCAP(MissionNo: Code[20]): Decimal
Parameters
| Name | Type | Description |
|---|---|---|
| MissionNo | Code[20] |
Returns
| Type | Description |
|---|---|
| Decimal |
RetrieveWeightWCAP
Applique le poids de la pesée à la ligne de commande de type prestation (ou traitement si existante) associée à la ligne de vente en cours. Si la ligne de vente en cours est déjà une ligne de traitement, le poids est appliqué à cette ligne directement.
procedure RetrieveWeightWCAP(var SecondWeighingLogEntry: Record "Weighing Log Entry WCAP"): Decimal
Parameters
| Name | Type | Description |
|---|---|---|
| SecondWeighingLogEntry | Table CapVision.CapCollecte.Weighing.Bridges."Weighing Log Entry WCAP" |
Returns
| Type | Description |
|---|---|
| Decimal |
UpdateSalesWeightWCAP
Met à jour la quantité de la ligne de commande de type prestation (ou traitement si existante) associée à la ligne de vente en cours. Si la ligne de vente en cours est déjà une ligne de traitement, le poids est appliqué à cette ligne directement. Cette fonction est utilisée lorsque l'on renseigne directement le poids de la mission dans le champ 'Pesée'.
procedure UpdateSalesWeightWCAP(var Mission: Record "Mission WCAP"): Decimal
Parameters
| Name | Type | Description |
|---|---|---|
| Mission | Table CapVision.CapCollecte.Missions."Mission WCAP" |
Returns
| Type | Description |
|---|---|
| Decimal |
UpdateWeightWCAP
Obsolete
This element will become obsolete from version V27.202605. This method is obsoleted. Use UpdateSalesWeightWCAP with Mission as parameter instead.
[Obsolete(This method is obsoleted. Use UpdateSalesWeightWCAP with Mission as parameter instead.,V27.202605)]
procedure UpdateWeightWCAP(var Mission: Record "Mission WCAP"; IncludeCurrWeight: Boolean): Decimal
Parameters
| Name | Type | Description |
|---|---|---|
| Mission | Table CapVision.CapCollecte.Missions."Mission WCAP" | |
| IncludeCurrWeight | Boolean |
Returns
| Type | Description |
|---|---|
| Decimal |
Events
OnBeforeValidateRequestDeliveryTimeWCAP
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateRequestDeliveryTimeWCAP(var SalesLine: Record "Sales Line"; var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| SalesLine | Record "Sales Line" | |
| IsHandled | Boolean |
OnAfterSetDeliveryAddressesInSalesLine
Obsolete
This element will become obsolete from version V27.202605. This event is obsoleted, please use OnAfterSetDeliveryAddressesWCAP instead.
[IntegrationEvent(False,False)]
[Obsolete(This event is obsoleted, please use OnAfterSetDeliveryAddressesWCAP instead.,V27.202605)]
local procedure OnAfterSetDeliveryAddressesInSalesLine(var SalesLine: Record "Sales Line")
Parameters
| Name | Type | Description |
|---|---|---|
| SalesLine | Record "Sales Line" |
OnAfterSetDeliveryAddressesWCAP
[IntegrationEvent(False,False)]
local procedure OnAfterSetDeliveryAddressesWCAP(var SalesLine: Record "Sales Line")
Parameters
| Name | Type | Description |
|---|---|---|
| SalesLine | Record "Sales Line" |
OnAfterSetPickupAddressesInSalesLine
Obsolete
This element will become obsolete from version V27.202605. This event is obsoleted, please use OnAfterSetPickupAddressesWCAP instead.
[IntegrationEvent(False,False)]
[Obsolete(This event is obsoleted, please use OnAfterSetPickupAddressesWCAP instead.,V27.202605)]
local procedure OnAfterSetPickupAddressesInSalesLine(var SalesLine: Record "Sales Line")
Parameters
| Name | Type | Description |
|---|---|---|
| SalesLine | Record "Sales Line" |
OnAfterSetPickupAddressesWCAP
[IntegrationEvent(False,False)]
local procedure OnAfterSetPickupAddressesWCAP(var SalesLine: Record "Sales Line")
Parameters
| Name | Type | Description |
|---|---|---|
| SalesLine | Record "Sales Line" |