Table of Contents

TableExtension "Purchase Line WCAP"

ID 70345365
Namespace: CapVision.CapCollecte.Purchase
Extends: Microsoft.Purchases.Document."Purchase Line"

Fields

Name Type Description
"Order Address Code WCAP" Code[10]

Specifies the order address code for this line.

"No. of Missions WCAP" Integer

Specifies the number of missions for this line.

"Company Name Filter WCAP" Text[30]
"Item Price Variant WCAP" Code[20]

Specifies the code used to determine the price variant of the item.

"Pickup Deadline WCAP" Date

Specifies the deadline for the pickup of the product.

"Qty. Remaining To Pickup WCAP" Boolean

Specifies whether there is still quantity to pickup for this line.

"Origin Type WCAP" Enum CapVision.CapCollecte.General."Third-party Type WCAP"

Specifies the origin type for this line.

"Origin Code WCAP" Text[30]

Specifies the origin code for this line.

"Origin Address Code WCAP" Code[10]

Specifies the origin address code for this line.

"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"

Specifies the destination type for this line.

"Destination Code WCAP" Text[30]

Specifies the destination code for this line.

"Destination Address Code WCAP" Code[10]

Specifies the destination address code for this line.

"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).

"Invoice No. Cancelled WCAP" Code[20]
"Invoice Line No. CancelledWCAP" Integer
"Service Type WCAP" Code[10]

Specifies the service type for this line. Works only for service item lines.

"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.

"Requested Receipt Time WCAP" Time

Specifies the requested receipt time.

"Item Type WCAP" Microsoft.Inventory.Item."Item Type"
"Material Type WCAP" Code[10]

Specifies the material type of the purchase line.

"Price List Code WCAP" Code[20]

Specifies the price list code associated with the purchase line.

"Price List Line No. WCAP" Integer

Specifies the price list line no. associated with the purchase line.

"Mission Filter WCAP" Text[30]

Methods

CreateWeighingWCAP

Créé une nouvelle pesée pour la ligne de commande.

procedure CreateWeighingWCAP()

CloseWeighingWCAP

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 d'achat en cours. Si la ligne d'achat 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 d'achat en cours. Si la ligne d'achat 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

UpdateWeightWCAP

Obsolete

This element will become obsolete from version V27.202605. This method is obsoleted. Use UpdatePurchaseWeightWCAP with Mission as parameter instead.

[Obsolete(This method is obsoleted. Use UpdatePurchaseWeightWCAP 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

UpdateWeightWCAP

Obsolete

This element will become obsolete from version V27.202605. This method is obsoleted. Use UpdatePurchaseWeightWCAP with Mission as parameter instead.

[Obsolete(This method is obsoleted. Use UpdatePurchaseWeightWCAP with Mission as parameter instead.,V27.202605)]
procedure UpdateWeightWCAP(NetWeight: Decimal)

Parameters

Name Type Description
NetWeight Decimal

Events

OnBeforeValidateRequestDeliveryTimeWCAP

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateRequestDeliveryTimeWCAP(var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)

Parameters

Name Type Description
PurchaseLine Record "Purchase Line"
IsHandled Boolean

OnAfterSetDeliveryAddressesInPurchaseLine

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 OnAfterSetDeliveryAddressesInPurchaseLine(var PurchaseLine: Record "Purchase Line")

Parameters

Name Type Description
PurchaseLine Record "Purchase Line"

OnAfterSetDeliveryAddressesWCAP

[IntegrationEvent(False,False)]
local procedure OnAfterSetDeliveryAddressesWCAP(var PurchaseLine: Record "Purchase Line")

Parameters

Name Type Description
PurchaseLine Record "Purchase Line"

OnAfterSetPickupAddressesInPurchaseLine

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 OnAfterSetPickupAddressesInPurchaseLine(var PurchaseLine: Record "Purchase Line")

Parameters

Name Type Description
PurchaseLine Record "Purchase Line"

OnAfterSetPickupAddressesWCAP

[IntegrationEvent(False,False)]
local procedure OnAfterSetPickupAddressesWCAP(var PurchaseLine: Record "Purchase Line")

Parameters

Name Type Description
PurchaseLine Record "Purchase Line"

See also