Table "Billable Entry WCAP"
Properties
| Name | Value |
|---|---|
| Caption | Billable Entry |
| DataClassification | CustomerContent |
| DataPerCompany | False |
| LookupPageId | Page CapVision.CapCollecte.Invoicing."Billable Entries WCAP" |
| DrillDownPageId | Page CapVision.CapCollecte.Invoicing."Billable Entries WCAP" |
Fields
| Name | Type | Description |
|---|---|---|
| "Entry No." | BigInteger | Specifies the unique sequence number for this record. |
| "Company Name" | Text[30] | Specifies the name of the company on which the record was created. |
| "Source Type" | Enum CapVision.CapCollecte.Invoicing."Billable Source Type WCAP" | Specifies the related source of the activity to invoice. |
| "Source ID" | Guid | Specifies the system identifier of the related record. |
| "Mission No." | Code[20] | Specifies the mission no. |
| "Tour No." | Code[20] | Specifies the tour on which the mission occured. |
| "Pickup Contract No." | Code[20] | Specifies the job no. |
| "Pickup Contract Line No." | Integer | Specifies the job product line no. |
| "Pickup Contract Inv. Descr." | Text[100] | |
| "Price List Code" | Code[20] | Specifies the code of the price list used for invoicing. |
| "Price List Line No." | Integer | Specifies the line no. of the price list line used for invoicing. |
| "General Service Item" | Boolean | Specifies if the service item is a general service item. |
| "Service Item No." | Code[20] | Specifies the no. of the service item. |
| "Service Item Price Variant" | Code[10] | Specifies the service item price variant code. |
| "Service Item Description" | Text[100] | Specifies the description of the service item number. |
| Quantity | Decimal | Specifies the quantity of the service item. The value is calculated depending on invoicing method. |
| "Unit of Measure Code" | Code[10] | Specifies the unit of measure code of the service item. The value is calculated depending on invoicing method. |
| "Material Type" | Code[10] | Specifies the material type of the billable entry. |
| "Empty Run" | Boolean | Specifies if the run was empty. |
| "Activity Date" | Date | Specifies the date of the activity. |
| "Bill-to Customer No." | Code[20] | Specifies the no. of the bill-to customer. |
| "Bill-to Customer Name" | Text[100] | Specifies the name of the bill-to customer. |
| "Sell-to Customer No." | Code[20] | Specifies the no. of the sell-to customer. |
| "Sell-to Customer Name" | Text[100] | Specifies the name of the sell-to customer. |
| "Customer Address Code" | Code[10] | Specifies the address code of the site where the pickup should take place. |
| "Customer Address Name" | Text[100] | Specifies the name of the customer address. |
| "Invoice Group Code" | Code[20] | Specifies a code used for grouping lines from multiple contracts to same invoice. |
| "Invoicing Method" | Enum CapVision.CapCollecte.Contracts."Invoicing Method WCAP" | Specifies the invoicing method. |
| "Invoicing Group" | Code[250] | Specifies a code used for grouping lines from multiple contracts to same invoice. |
| "Totalisation Group" | Code[250] | Specifies a code used for indicate how the line is totaled on the invoice. |
| "Totalisation Group Text" | Text[100] | |
| "Do Not Invoice" | Boolean | Specifies if the line should be invoiced. |
| "Invoice Status" | Enum CapVision.CapCollecte.Missions."Mission Invoice Status WCAP" | Specifies the invoice status. |
| "Invoice Displaying Method" | Enum CapVision.CapCollecte.Contracts."Invoice Displaying Method WCAP" | Specifies the method used for displaying lines on the invoice. |
| "Invoice No." | Code[20] | Specifies the invoice no. |
| "Invoice Line No." | Integer | Specifies the invoice line no. |
| "Main Service Item" | Boolean | Specifies if the service item is marked as the main contract line item. |
| "Activity Time" | Time | Specifies the time of the activity. |
| SystemId | Guid | |
| SystemCreatedAt | DateTime | |
| SystemCreatedBy | Guid | |
| SystemModifiedAt | DateTime | |
| SystemModifiedBy | Guid | |
| SystemRowVersion | BigInteger |
Methods
CreateNewLine
Crée une nouvelle ligne de facturation pour l'entrée de pesée spécifiée.
procedure CreateNewLine(WeighingLogEntry: Record "Weighing Log Entry WCAP")
Parameters
| Name | Type | Description |
|---|---|---|
| WeighingLogEntry | Table CapVision.CapCollecte.Weighing.Bridges."Weighing Log Entry WCAP" |
InsertInvoiceCommentLine
Insère une ligne de commentaire dans une facture pour marquer la rupture avec la section de regroupement précédente.
procedure InsertInvoiceCommentLine(var SalesLine: Record "Sales Line"): Integer
Parameters
| Name | Type | Description |
|---|---|---|
| SalesLine | Record "Sales Line" |
Returns
| Type | Description |
|---|---|
| Integer |
InsertInvoiceDescriptionLine
Insère une ligne de commentaire dans une facture qui provient du champ 'Libellé facture' du contrat de collecte.
procedure InsertInvoiceDescriptionLine(var SalesLine: Record "Sales Line"): Integer
Parameters
| Name | Type | Description |
|---|---|---|
| SalesLine | Record "Sales Line" |
Returns
| Type | Description |
|---|---|
| Integer |
InsertSalesInvoiceLine
procedure InsertSalesInvoiceLine(var SalesLine: Record "Sales Line"; AttachedToLineNo: Integer)
Parameters
| Name | Type | Description |
|---|---|---|
| SalesLine | Record "Sales Line" | |
| AttachedToLineNo | Integer |
Events
OnBeforeGetServiceItem
Obsolete
This element will become obsolete from version V26.202511. Replaced by OnBeforeGetServiceItemFromBadge.
[IntegrationEvent(False,False)]
[Obsolete(Replaced by OnBeforeGetServiceItemFromBadge.,V26.202511)]
local procedure OnBeforeGetServiceItem(WeighingLogEntry: Record "Weighing Log Entry WCAP"; var Item: Record "Shared Item WCAP"; var ServiceUomCode: Code[10]; var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| WeighingLogEntry | Table CapVision.CapCollecte.Weighing.Bridges."Weighing Log Entry WCAP" | |
| Item | Table CapVision.CapCollecte.Intercompany.Item."Shared Item WCAP" | |
| ServiceUomCode | Code[10] | |
| IsHandled | Boolean |
OnBeforeGetServiceItemFromBadge
[IntegrationEvent(False,False)]
local procedure OnBeforeGetServiceItemFromBadge(var WeighingLogEntry: Record "Weighing Log Entry WCAP"; var Item: Record "Shared Item WCAP"; var ServiceUomCode: Code[10]; var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| WeighingLogEntry | Table CapVision.CapCollecte.Weighing.Bridges."Weighing Log Entry WCAP" | |
| Item | Table CapVision.CapCollecte.Intercompany.Item."Shared Item WCAP" | |
| ServiceUomCode | Code[10] | |
| IsHandled | Boolean |
OnInsertSalesInvoiceLineOnAfterSetEmptyRunSalesLineFilters
[IntegrationEvent(False,False)]
local procedure OnInsertSalesInvoiceLineOnAfterSetEmptyRunSalesLineFilters(BillableEntry: Record "Billable Entry WCAP"; var EmptyRunSalesLine: Record "Sales Line")
Parameters
| Name | Type | Description |
|---|---|---|
| BillableEntry | Table CapVision.CapCollecte.Invoicing."Billable Entry WCAP" | |
| EmptyRunSalesLine | Record "Sales Line" |
OnInsertSalesInvoiceLineOnBeforeInsertEmptyRunSalesLine
Obsolete
This element will become obsolete from version V27.202606. Merged with the event OnInsertSalesInvoiceLineOnAfterSetEmptyRunSalesLineFilters.
[IntegrationEvent(False,False)]
[Obsolete(Merged with the event OnInsertSalesInvoiceLineOnAfterSetEmptyRunSalesLineFilters.,V27.202606)]
local procedure OnInsertSalesInvoiceLineOnBeforeInsertEmptyRunSalesLine(BillableEntry: Record "Billable Entry WCAP"; var EmptyRunSalesLine: Record "Sales Line")
Parameters
| Name | Type | Description |
|---|---|---|
| BillableEntry | Table CapVision.CapCollecte.Invoicing."Billable Entry WCAP" | |
| EmptyRunSalesLine | Record "Sales Line" |
OnInsertSalesInvoiceLineOnAfterSetSalesLineFilters
[IntegrationEvent(False,False)]
local procedure OnInsertSalesInvoiceLineOnAfterSetSalesLineFilters(BillableEntry: Record "Billable Entry WCAP"; var SalesLine: Record "Sales Line")
Parameters
| Name | Type | Description |
|---|---|---|
| BillableEntry | Table CapVision.CapCollecte.Invoicing."Billable Entry WCAP" | |
| SalesLine | Record "Sales Line" |
OnInsertSalesInvoiceLineOnBeforeInsertSalesLine
[IntegrationEvent(False,False)]
local procedure OnInsertSalesInvoiceLineOnBeforeInsertSalesLine(BillableEntry: Record "Billable Entry WCAP"; var SalesLine: Record "Sales Line")
Parameters
| Name | Type | Description |
|---|---|---|
| BillableEntry | Table CapVision.CapCollecte.Invoicing."Billable Entry WCAP" | |
| SalesLine | Record "Sales Line" |