Table of Contents

Table "Weighing Log Entry WCAP"

ID 70345380
Namespace: CapVision.CapCollecte.Weighing.Bridges

Properties

Name Value
DataClassification CustomerContent
Caption Weighing Log Entry
DataPerCompany False
DrillDownPageId Page CapVision.CapCollecte.Weighing.Bridges."Weighing Log Entries WCAP"
LookupPageId Page CapVision.CapCollecte.Weighing.Bridges."Weighing Log Entries WCAP"

Fields

Name Type Description
"Entry No." BigInteger

Specifies the value of the Entry No. field.

"Weighing Bridge No." Code[10]

Specifies the value of the Weighing Bridge No. field.

"Company Name" Text[30]
"Location Code" Code[10]
"Creation DateTime" DateTime

Specifies the value of the Creation Date field.

"Weight Recorded" Decimal

Specifies the value of the weight recorded on the bridge.

"Net Weight" Decimal

Specifies the value of the Net Weight field.

Tare Decimal

Specifies the value of the Tare field.

"Badge No." Code[20]

Specifies the value of the Badge No. field.

"Tour No." Code[20]

Specifies the value of the Tour No. field.

"Item No." Code[20]

Specifies the item number related to this entry.

"Vehicle Plate Number" Code[20]

Specifies the value of the Vehicle Plate Number field.

"Trailer Plate Number" Code[20]

Specifies the value of the Trailer Plate Number field.

"Customer No." Code[20]

Specifies the value of the Customer No. field.

"Customer Address Code" Code[10]

Specifies the value of the Customer Address Code field.

"Driver No." Code[20]

Specifies the value of the Driver No. field.

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

Specifies the type of carrier (Customer, Vendor, or Company).

"Carrier Code" Code[30]

Specifies the value of the Carrier Code field.

"Carrier Code WCAP" Text[30]

Specifies the value of the Carrier Code field.

"Entry Type" Enum CapVision.CapCollecte.Weighing.Bridges."Weighing Type WCAP"

Specifies the value of the Entry Type field.

"Related Entry No." Integer

Specifies the value of the Related Entry No. field.

Finished Boolean

Specifies the value of the Finished field.

"Site Terminal Code" Code[10]
"DSD No." Code[20]

Specifies the value of the DSD No. field.

"First Weighing DateTime" DateTime

Specifies the value of the First Weighing DateTime field.

"First Weighing DSD No." Code[20]
"Customer Name" Text[100]

Specifies the value of the Customer Name field.

"Customer Name 2" Text[100]

Specifies the value of the Customer Name 2 field.

"Item Description" Text[100]

Specifies the value of the Item Description field.

"Item Card Description" Text[100]

Specifies the value of the Description in the item card.

"Carrier Name" Text[100]

Specifies the name of the carrier.

"Gross Weight" Decimal

Specifies the value of the gross weight.

"Tour Description" Text[100]

Specifies the value of the Tour Description field.

"Tour Date" Date

Specifies the value of the Tour Date field.

"Vendor No." Code[20]

Specifies the vendor number related to this entry.

"Order Address Code" Code[10]

Specifies the value of the Vendor Address Code field.

"Vendor Name" Text[100]

Specifies the name of the vendor related to this entry.

"Mission No." Code[20]

Specifies the mission No. related to this entry.

"Third-party Reference" Text[50]

Specifies the value of the Third-party Reference field.

"Weighing Direction" Enum CapVision.CapCollecte.Weighing.Bridges."Weighing Direction WCAP"

Specifies the direction of the weighing.

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

Specifies the type of the origin related to this entry.

"Origin Code" Text[30]

Specifies the code of the origin related to this entry.

"Origin Address Code" Code[10]

Specifies the address code of the origin related to this entry.

"Origin Name" Text[100]

Specifies the origin name.

"Origin Name 2" Text[50]

Specifies an additional part of the origin name.

"Origin Address" Text[100]

Specifies the origin address.

"Origin Address 2" Text[50]

Specifies an additional part of the origin address.

"Origin City" Text[30]

Specifies the origin city.

"Origin Post Code" Code[20]

Specifies the origin post code.

"Origin Country/Region Code" Code[10]

Specifies the country/region code for the origin.

"Origin Latitude" Decimal
"Origin Longitude" Decimal
"Destination Type" Enum CapVision.CapCollecte.General."Third-party Type WCAP"

Specifies the type of the destination related to this entry.

"Destination Code" Text[30]

Specifies the code of the destination related to this entry.

"Destination Address Code" Code[10]

Specifies the address code of the destination related to this entry.

"Destination Name" Text[100]

Specifies the destination name.

"Destination Name 2" Text[50]

Specifies an additional part of the destination name.

"Destination Address" Text[100]

Specifies the destination address.

"Destination Address 2" Text[50]

Specifies an additional part of the destination address.

"Destination City" Text[30]

Specifies the destination city.

"Destination Post Code" Code[20]

Specifies the destination post code.

"Dest. Country/Region Code" Code[10]

Specifies the country/region code for the destination.

"Destination Latitude" Decimal
"Destination Longitude" Decimal
"Document Type" Enum CapVision.CapCollecte.Weighing.Bridges."WLE Document Type WCAP"

Specifies the document type related to this entry.

"Document No." Code[20]

Specifies the document number related to this entry.

"Document Line No." Integer

Specifies the line number of the related document.

"Document Posting Status" Enum CapVision.CapCollecte.Weighing.Bridges."WLE Doc. Posting Status WCAP"

Specifies the state of the related document.

"Item Ledger Entry No." Integer
"Item Type" Microsoft.Inventory.Item."Item Type"

Specifies the type of the item related to this entry.

"Mission To IC Invoice" Integer
"Company Filter" Text[50]
"Sales Price Code" Code[20]

Specifies the sales price code related to this entry.

"Price List Line Line No." Integer

Specifies the sales price list line no. related to this entry.

"Job No." Code[20]

Specifies the job number related to this entry.

"Job Product Line No." Integer

Specifies the job product line no. related to this entry.

"Contact No. Filter" Code[20]
"Waste Code" Code[20]

Specifies the waste code.

"Price List Business Nature" Enum CapVision.CapCollecte.Pricing."Business Nature WCAP"
"Job Product Business Nature" Enum CapVision.CapCollecte.Pricing."Business Nature WCAP"
SystemId Guid
SystemCreatedAt DateTime
SystemCreatedBy Guid
SystemModifiedAt DateTime
SystemModifiedBy Guid
SystemRowVersion BigInteger

Methods

InitFromFields

Obsolete

This element will become obsolete from version V25.202504. Replaced by TestInitFromFields with a boolean return type.

Initialise une écriture de pesée à partir des informations de l'écriture de pesée actuelle. Typiquement, cette fonction recherche s'il existe déjà une première pesée avec des informations similaires. Si c'est le cas, les deux pesées sont liées et Rec devient une écriture de seconde pesée. Sinon, Rec devient une première pesée.

[Obsolete(Replaced by TestInitFromFields with a boolean return type.,V25.202504)]
procedure InitFromFields()

TestInitFromFields

Initialise une écriture de pesée à partir des informations de l'écriture de pesée actuelle. Typiquement, cette fonction recherche s'il existe déjà une première pesée avec des informations similaires. Si c'est le cas, les deux pesées sont liées et Rec devient une écriture de seconde pesée. Si la première pesée a le même poids que la pesée actuelle, on ne crée pas la pesée actuelle. Si on ne trouve pas de première pesée, Rec devient une première pesée.

procedure TestInitFromFields(): Boolean

Returns

Type Description
Boolean

FillFromFirstWeighingLogEntry

Remplit l'écriture de seconde pesée à partir des informations de l'écriture de première pesée spécifiée.

procedure FillFromFirstWeighingLogEntry(FirstWeighingLogEntry: Record "Weighing Log Entry WCAP")

Parameters

Name Type Description
FirstWeighingLogEntry Table CapVision.CapCollecte.Weighing.Bridges."Weighing Log Entry WCAP"

CloseFirstWeighingLogEntry

Obsolete

This element will become obsolete from version V25.202509. Replaced by CloseFirstWeighingLogEntry with the first Weighing Log Entry as parameter.

Clôture l'écriture de première pesée liée à l'écriture de seconde pesée actuelle.

[Obsolete(Replaced by CloseFirstWeighingLogEntry with the first Weighing Log Entry as parameter.,V25.202509)]
procedure CloseFirstWeighingLogEntry()

CloseFirstWeighingLogEntry

Clôture l'écriture de première pesée spécifiée.

procedure CloseFirstWeighingLogEntry(var FirstWeighingLogEntry: Record "Weighing Log Entry WCAP")

Parameters

Name Type Description
FirstWeighingLogEntry Table CapVision.CapCollecte.Weighing.Bridges."Weighing Log Entry WCAP"

FindFirstWeighingEntryNo

Recherche la première pesée à partir des champs de l'écriture de pesée actuelle.

procedure FindFirstWeighingEntryNo(): BigInteger

Returns

Type Description
BigInteger

Remarks

Une écriture liée est une écriture avec la même journée (ou comprise dans un délai paramétré), la même tournée, le même client, le même article et le même pont bascule.

LinkWeighingToDocument

Obtient une écriture de pesée à lier au document spécifié pour l'article et le tiers spécifié.

procedure LinkWeighingToDocument(LinkedDocumentType: Enum "WLE Document Type WCAP"; LinkedDocumentNo: Code[20]; LinkedDocumentLineNo: Integer; ItemNo: Code[20]; CustomerOrVendorNo: Code[20]): Record "Weighing Log Entry WCAP"

Parameters

Name Type Description
LinkedDocumentType Enum CapVision.CapCollecte.Weighing.Bridges."WLE Document Type WCAP"
LinkedDocumentNo Code[20]
LinkedDocumentLineNo Integer
ItemNo Code[20]
CustomerOrVendorNo Code[20]

Returns

Type Description
Table CapVision.CapCollecte.Weighing.Bridges."Weighing Log Entry WCAP"

LinkWeighingToDocument

Lie la pesée au document spécifié.

procedure LinkWeighingToDocument(LinkedDocumentType: Enum "WLE Document Type WCAP"; LinkedDocumentNo: Code[20]; LinkedDocumentLineNo: Integer)

Parameters

Name Type Description
LinkedDocumentType Enum CapVision.CapCollecte.Weighing.Bridges."WLE Document Type WCAP"
LinkedDocumentNo Code[20]
LinkedDocumentLineNo Integer

GetWeighingNoPrefix

Obtient le préfixe d'une pesée utilisée dans les documents envoyés aux clients. Le préfixe est composé des caractères 'PE' suivi d'un Code société défini dans les informations société de chacune d'entre elles.

procedure GetWeighingNoPrefix(): Text

Returns

Type Description
Text

Events

OnAfterFillFromFirstWeighingLogEntry

[IntegrationEvent(False,False)]
local procedure OnAfterFillFromFirstWeighingLogEntry(var FirstWeighingLogEntry: Record "Weighing Log Entry WCAP"; var SecondWeighingLogEntry: Record "Weighing Log Entry WCAP")

Parameters

Name Type Description
FirstWeighingLogEntry Table CapVision.CapCollecte.Weighing.Bridges."Weighing Log Entry WCAP"
SecondWeighingLogEntry Table CapVision.CapCollecte.Weighing.Bridges."Weighing Log Entry WCAP"

OnCloseFirstWeighingLogEntryOnBeforeModifyAddresses

[IntegrationEvent(False,False)]
local procedure OnCloseFirstWeighingLogEntryOnBeforeModifyAddresses(var FirstWeighingLogEntry: Record "Weighing Log Entry WCAP"; SecondWeighingLogEntry: Record "Weighing Log Entry WCAP"; var IsHandled: Boolean)

Parameters

Name Type Description
FirstWeighingLogEntry Table CapVision.CapCollecte.Weighing.Bridges."Weighing Log Entry WCAP"
SecondWeighingLogEntry Table CapVision.CapCollecte.Weighing.Bridges."Weighing Log Entry WCAP"
IsHandled Boolean

OnAfterGetItemDescription

[IntegrationEvent(False,False)]
local procedure OnAfterGetItemDescription(var WeighingLogEntry: Record "Weighing Log Entry WCAP"; var ItemDescription: Text[100]; var IsHandled: Boolean)

Parameters

Name Type Description
WeighingLogEntry Table CapVision.CapCollecte.Weighing.Bridges."Weighing Log Entry WCAP"
ItemDescription Text[100]
IsHandled Boolean

See also