Skip to content

KVSKBADocumentLineBuffer#

Fields#

Name Type Note
Doc Scope Enum (KVSKBADocumentScope)
Doc Type Enum (KVSKBADocumentType)
Doc No. Code[20]
Doc. No. Occurrence Integer
Version No. Integer
Table Type Enum (KVSKBADocumentTableType)
Line No. Integer
Entry No. Integer
Detail Line No. Integer
Line Type Enum (KVSKBADocumentLineType)
Sort Trigger 1 Text[30]
Sort Trigger 2 Text[30]
Line Format String Text[250]
Dimension Set ID Integer
Sort Trigger 3 Text[30]
KVSKBAPositionNo Code[20]
Type Enum (KVSKBADocumentGenericLineType)
No. Code[20]
Variant Code Code[10]
Description Text[250]
Description 2 Text[250]
Cross-Reference No. Code[50]
Unit of Measure Text[50]
Unit of Measure Code Code[10]
Quantity Decimal
Quantity (Original) Decimal
Quantity Shipped Decimal
Quantity Outstanding Decimal
Lot No. Code[50]
Serial No. Code[50]
Currency Code Code[10]
Unit Price Decimal
VAT % Decimal
Line Discount % Decimal
Line Amount Decimal
Amount Decimal
Amount Including VAT Decimal
Carry Amount Decimal
Subtotal Decimal
KVSKBAPriceUnit Decimal
Shipment No. Code[20]
Shipment Date Date
Shipment Description Text[250]
Location Code Code[10]
Posted Ship.-Rcpt. Date Date
Requested Delivery Date Date
Planned Delivery Date Date
Text Text[250]
Formatted Text Blob
Text Type Option OptionMembers: Text,Long Text,Formatted Text
Short Text 1 Text[50]
Short Text 2 Text[50]
Short Text 3 Text[50]
Short Text 4 Text[50]
Print Price Boolean
Print Page Break Boolean
Print new Line Block Boolean
Indentation Integer
Document Date Date
Due Date Date
Weight Decimal
Service Item No. Code[30]
Repair Status Code[10]
Warranty Text[10]
Response Date Date
Response Time Time
Group Code Code[20]
Shelf Code Code[20]
Additional Item No. Code[20]
Response Time (Hour) Decimal
Resource Type Option OptionMembers: ,Person,Machine,Extern
Contract No. Code[20]
Quantity (Consumed) Decimal
Quantity (Invoiced) Decimal
Net Weight Decimal
Gross Weight Decimal
Custom Fields Blob
Picture Blob
Picture 2 Blob
Picture 3 Blob
Decimal 1 Decimal
Decimal 2 Decimal

Procedures#

BuildFieldDataList(Record KVSKBADocumentHeaderBuffer, Codeunit KVSKBAMasterDocGlobalData) : Text#

procedure BuildFieldDataList(var tmpDocHeader: Record "KVSKBADocumentHeaderBuffer"; var GlobalData: Codeunit "KVSKBAMasterDocGlobalData"): Text

GetFieldDataText() : Text#

procedure GetFieldDataText(): Text

AddCustomFields(Codeunit KVSKBAMasterDocFieldData) :#

procedure AddCustomFields(var CustomFieldsDataList: Codeunit "KVSKBAMasterDocFieldData"): 

InitLine(Record KVSKBADocumentHeaderBuffer, Enum KVSKBADocumentTableType) :#

procedure InitLine(DocHeaderPar: Record "KVSKBADocumentHeaderBuffer"; TableTypePar: Enum "KVSKBADocumentTableType"): 

InitBySalesLine(Enum KVSKBADocumentType, Enum KVSKBADocumentTableType, Record Sales Line) :#

procedure InitBySalesLine(DocTypePar: Enum "KVSKBADocumentType"; TableTypePar: Enum "KVSKBADocumentTableType"; SalesLinePar: Record "Sales Line"): 

InitBySalesLineArch(Enum KVSKBADocumentType, Enum KVSKBADocumentTableType, Record Sales Line Archive) :#

procedure InitBySalesLineArch(DocTypePar: Enum "KVSKBADocumentType"; TableTypePar: Enum "KVSKBADocumentTableType"; SalesLinePar: Record "Sales Line Archive"): 

InitByPurchaseLine(Enum KVSKBADocumentType, Enum KVSKBADocumentTableType, Record Purchase Line) :#

procedure InitByPurchaseLine(DocTypePar: Enum "KVSKBADocumentType"; TableTypePar: Enum "KVSKBADocumentTableType"; PurchLinePar: Record "Purchase Line"): 

InitByPurchaseLineArch(Enum KVSKBADocumentType, Enum KVSKBADocumentTableType, Record Purchase Line Archive) :#

procedure InitByPurchaseLineArch(DocTypePar: Enum "KVSKBADocumentType"; TableTypePar: Enum "KVSKBADocumentTableType"; PurchLinePar: Record "Purchase Line Archive"): 

InitByServiceLine(Enum KVSKBADocumentType, Enum KVSKBADocumentTableType, Record Service Line) :#

procedure InitByServiceLine(DocTypePar: Enum "KVSKBADocumentType"; TableTypePar: Enum "KVSKBADocumentTableType"; ServiceLinePar: Record "Service Line"): 

InitByServiceItemLine(Enum KVSKBADocumentType, Enum KVSKBADocumentTableType, Record Service Item Line) :#

procedure InitByServiceItemLine(DocTypePar: Enum "KVSKBADocumentType"; TableTypePar: Enum "KVSKBADocumentTableType"; ServiceItemLinePar: Record "Service Item Line"): 

InitByServiceCommentLine(Enum KVSKBADocumentType, Enum KVSKBADocumentTableType, Record Service Comment Line) :#

procedure InitByServiceCommentLine(DocTypePar: Enum "KVSKBADocumentType"; TableTypePar: Enum "KVSKBADocumentTableType"; ServiceCommentLinePar: Record "Service Comment Line"): 

GetBlobText() : Text#

procedure GetBlobText(): Text

SetBlobText(Text) :#

procedure SetBlobText(WriteText: Text): 

GetSalesLineType(Record Sales Line) : Enum#

procedure GetSalesLineType(LineRecPar: Record "Sales Line"): Enum KVSKBADocumentLineType

GetGenericLineTypeFromSalesLineType(Enum Sales Line Type) : Enum#

procedure GetGenericLineTypeFromSalesLineType(SalesLineType: Enum "Sales Line Type"): Enum KVSKBADocumentGenericLineType

GetSalesArchiveLineType(Record Sales Line Archive) : Enum#

procedure GetSalesArchiveLineType(LineRecPar: Record "Sales Line Archive"): Enum KVSKBADocumentLineType

GetPurchLineType(Record Purchase Line) : Enum#

procedure GetPurchLineType(LineRecPar: Record "Purchase Line"): Enum KVSKBADocumentLineType

GetGenericLineTypeFromPurchaseLineType(Enum Purchase Line Type) : Enum#

procedure GetGenericLineTypeFromPurchaseLineType(PurchaseLineType: Enum "Purchase Line Type"): Enum KVSKBADocumentGenericLineType

GetPurchArchiveLineType(Record Purchase Line Archive) : Enum#

procedure GetPurchArchiveLineType(LineRecPar: Record "Purchase Line Archive"): Enum KVSKBADocumentLineType

GetServiceLineType(Record Service Line) : Enum#

procedure GetServiceLineType(LineRecPar: Record "Service Line"): Enum KVSKBADocumentLineType

GetServiceItemLineType(Record Service Item Line) : Enum#

procedure GetServiceItemLineType(LineRecPar: Record "Service Item Line"): Enum KVSKBADocumentLineType

GetServiceInvoiceLineType(Record Service Invoice Line) : Enum#

procedure GetServiceInvoiceLineType(LineRecPar: Record "Service Invoice Line"): Enum KVSKBADocumentLineType

GetGenericLineTypeFromServiceLineType(Enum Service Line Type) : Enum#

procedure GetGenericLineTypeFromServiceLineType(ServiceLineType: Enum "Service Line Type"): Enum KVSKBADocumentGenericLineType

UpdateCustomFields() : Boolean#

procedure UpdateCustomFields(): Boolean

GetCustomFields() : Text#

procedure GetCustomFields(): Text

SetCustomFields(Text) :#

procedure SetCustomFields(WriteText: Text): 

AddCustomFieldText(Text, Text) :#

procedure AddCustomFieldText(Key: Text; Value: Text): 

SetPictureFromBlob(Codeunit Temp Blob) :#

procedure SetPictureFromBlob(TempBlob: Codeunit "Temp Blob"): 

SetPicture2FromBlob(Codeunit Temp Blob) :#

procedure SetPicture2FromBlob(TempBlob: Codeunit "Temp Blob"): 

SetPicture3FromBlob(Codeunit Temp Blob) :#

procedure SetPicture3FromBlob(TempBlob: Codeunit "Temp Blob"): 

Events#

OnBeforeAssignNullPosInGetServiceLineType(Record Service Line, Enum KVSKBADocumentLineType, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeAssignNullPosInGetServiceLineType(var ServiceLine: Record "Service Line"; var LineTypeInteger: Enum "KVSKBADocumentLineType"; var SkipStandardCode: Boolean): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBADocumentLineBuffer", 'OnBeforeAssignNullPosInGetServiceLineType', '', false, false)]
local procedure DoSomethingOnBeforeAssignNullPosInGetServiceLineType(var ServiceLine: Record "Service Line"; var LineTypeInteger: Enum "KVSKBADocumentLineType"; var SkipStandardCode: Boolean)
begin
end;

OnBeforeAssignNullPosInGetServiceInvoiceLineType(Record Service Invoice Line, Enum KVSKBADocumentLineType, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeAssignNullPosInGetServiceInvoiceLineType(var ServiceInvoiceLine: Record "Service Invoice Line"; var LineTypeInteger: Enum "KVSKBADocumentLineType"; var Handled: Boolean): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBADocumentLineBuffer", 'OnBeforeAssignNullPosInGetServiceInvoiceLineType', '', false, false)]
local procedure DoSomethingOnBeforeAssignNullPosInGetServiceInvoiceLineType(var ServiceInvoiceLine: Record "Service Invoice Line"; var LineTypeInteger: Enum "KVSKBADocumentLineType"; var Handled: Boolean)
begin
end;

OnAfterProcedureInitBySalesLine(Record KVSKBADocumentLineBuffer, Record Sales Line) :#

[IntegrationEvent(false, false)]
local procedure OnAfterProcedureInitBySalesLine(var KVSKBADocumentLineBuffer: Record "KVSKBADocumentLineBuffer"; SalesLine: Record "Sales Line"): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBADocumentLineBuffer", 'OnAfterProcedureInitBySalesLine', '', false, false)]
local procedure DoSomethingOnAfterProcedureInitBySalesLine(var KVSKBADocumentLineBuffer: Record "KVSKBADocumentLineBuffer"; SalesLine: Record "Sales Line")
begin
end;

OnAfterProcedureInitBySalesLineArchive(Record KVSKBADocumentLineBuffer, Record Sales Line Archive) :#

[IntegrationEvent(false, false)]
local procedure OnAfterProcedureInitBySalesLineArchive(var KVSKBADocumentLineBuffer: Record "KVSKBADocumentLineBuffer"; SalesLineArchive: Record "Sales Line Archive"): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBADocumentLineBuffer", 'OnAfterProcedureInitBySalesLineArchive', '', false, false)]
local procedure DoSomethingOnAfterProcedureInitBySalesLineArchive(var KVSKBADocumentLineBuffer: Record "KVSKBADocumentLineBuffer"; SalesLineArchive: Record "Sales Line Archive")
begin
end;

OnAfterProcedureInitByPurchLine(Record KVSKBADocumentLineBuffer, Record Purchase Line) :#

[IntegrationEvent(false, false)]
local procedure OnAfterProcedureInitByPurchLine(var KVSKBADocumentLineBuffer: Record "KVSKBADocumentLineBuffer"; PurchaseLine: Record "Purchase Line"): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBADocumentLineBuffer", 'OnAfterProcedureInitByPurchLine', '', false, false)]
local procedure DoSomethingOnAfterProcedureInitByPurchLine(var KVSKBADocumentLineBuffer: Record "KVSKBADocumentLineBuffer"; PurchaseLine: Record "Purchase Line")
begin
end;

OnAfterProcedureInitByPurchLineArchive(Record KVSKBADocumentLineBuffer, Record Purchase Line Archive) :#

[IntegrationEvent(false, false)]
local procedure OnAfterProcedureInitByPurchLineArchive(var KVSKBADocumentLineBuffer: Record "KVSKBADocumentLineBuffer"; PurchaseLineArchive: Record "Purchase Line Archive"): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBADocumentLineBuffer", 'OnAfterProcedureInitByPurchLineArchive', '', false, false)]
local procedure DoSomethingOnAfterProcedureInitByPurchLineArchive(var KVSKBADocumentLineBuffer: Record "KVSKBADocumentLineBuffer"; PurchaseLineArchive: Record "Purchase Line Archive")
begin
end;

OnAfterProcedureInitByServiceLine(Record KVSKBADocumentLineBuffer, Record Service Line) :#

[IntegrationEvent(false, false)]
local procedure OnAfterProcedureInitByServiceLine(var KVSKBADocumentLineBuffer: Record "KVSKBADocumentLineBuffer"; ServiceLine: Record "Service Line"): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBADocumentLineBuffer", 'OnAfterProcedureInitByServiceLine', '', false, false)]
local procedure DoSomethingOnAfterProcedureInitByServiceLine(var KVSKBADocumentLineBuffer: Record "KVSKBADocumentLineBuffer"; ServiceLine: Record "Service Line")
begin
end;

OnAfterProcedureInitByServiceItemLine(Record KVSKBADocumentLineBuffer, Record Service Item Line) :#

[IntegrationEvent(false, false)]
local procedure OnAfterProcedureInitByServiceItemLine(var KVSKBADocumentLineBuffer: Record "KVSKBADocumentLineBuffer"; ServiceItemLine: Record "Service Item Line"): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBADocumentLineBuffer", 'OnAfterProcedureInitByServiceItemLine', '', false, false)]
local procedure DoSomethingOnAfterProcedureInitByServiceItemLine(var KVSKBADocumentLineBuffer: Record "KVSKBADocumentLineBuffer"; ServiceItemLine: Record "Service Item Line")
begin
end;

OnAfterProcedureInitByServiceCommentLine(Record KVSKBADocumentLineBuffer, Record Service Comment Line) :#

[IntegrationEvent(false, false)]
local procedure OnAfterProcedureInitByServiceCommentLine(var KVSKBADocumentLineBuffer: Record "KVSKBADocumentLineBuffer"; ServiceCommentLine: Record "Service Comment Line"): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBADocumentLineBuffer", 'OnAfterProcedureInitByServiceCommentLine', '', false, false)]
local procedure DoSomethingOnAfterProcedureInitByServiceCommentLine(var KVSKBADocumentLineBuffer: Record "KVSKBADocumentLineBuffer"; ServiceCommentLine: Record "Service Comment Line")
begin
end;

OnAfterGetPurchLineType(Record Purchase Line, Enum KVSKBADocumentLineType) :#

[IntegrationEvent(false, false)]
local procedure OnAfterGetPurchLineType(PurchaseLine: Record "Purchase Line"; var KVSKBADocumentLineType: Enum "KVSKBADocumentLineType"): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBADocumentLineBuffer", 'OnAfterGetPurchLineType', '', false, false)]
local procedure DoSomethingOnAfterGetPurchLineType(PurchaseLine: Record "Purchase Line"; var KVSKBADocumentLineType: Enum "KVSKBADocumentLineType")
begin
end;

OnAfterGetPurchArchiveLineType(Record Purchase Line Archive, Enum KVSKBADocumentLineType) :#

[IntegrationEvent(false, false)]
local procedure OnAfterGetPurchArchiveLineType(PurchaseLineArchive: Record "Purchase Line Archive"; var KVSKBADocumentLineType: Enum "KVSKBADocumentLineType"): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBADocumentLineBuffer", 'OnAfterGetPurchArchiveLineType', '', false, false)]
local procedure DoSomethingOnAfterGetPurchArchiveLineType(PurchaseLineArchive: Record "Purchase Line Archive"; var KVSKBADocumentLineType: Enum "KVSKBADocumentLineType")
begin
end;

OnAfterGetSalesLineType(Record Sales Line, Enum KVSKBADocumentLineType) :#

[IntegrationEvent(false, false)]
local procedure OnAfterGetSalesLineType(SalesLine: Record "Sales Line"; var KVSKBADocumentLineType: Enum "KVSKBADocumentLineType"): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBADocumentLineBuffer", 'OnAfterGetSalesLineType', '', false, false)]
local procedure DoSomethingOnAfterGetSalesLineType(SalesLine: Record "Sales Line"; var KVSKBADocumentLineType: Enum "KVSKBADocumentLineType")
begin
end;

OnAfterGetGenericTypeFromSalesLineType(Enum Sales Line Type, Enum KVSKBADocumentGenericLineType) :#

[IntegrationEvent(false, false)]
local procedure OnAfterGetGenericTypeFromSalesLineType(SalesLineType: Enum "Sales Line Type"; var DocumentGenericLineType: Enum "KVSKBADocumentGenericLineType"): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBADocumentLineBuffer", 'OnAfterGetGenericTypeFromSalesLineType', '', false, false)]
local procedure DoSomethingOnAfterGetGenericTypeFromSalesLineType(SalesLineType: Enum "Sales Line Type"; var DocumentGenericLineType: Enum "KVSKBADocumentGenericLineType")
begin
end;

OnAfterGetGenericTypeFromPurchaseLineType(Enum Purchase Line Type, Enum KVSKBADocumentGenericLineType) :#

[IntegrationEvent(false, false)]
local procedure OnAfterGetGenericTypeFromPurchaseLineType(PurchaseLineType: Enum "Purchase Line Type"; var DocumentGenericLineType: Enum "KVSKBADocumentGenericLineType"): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBADocumentLineBuffer", 'OnAfterGetGenericTypeFromPurchaseLineType', '', false, false)]
local procedure DoSomethingOnAfterGetGenericTypeFromPurchaseLineType(PurchaseLineType: Enum "Purchase Line Type"; var DocumentGenericLineType: Enum "KVSKBADocumentGenericLineType")
begin
end;

OnAfterGetGenericLineTypeFromServiceLineType(Enum Service Line Type, Enum KVSKBADocumentGenericLineType) :#

[IntegrationEvent(false, false)]
local procedure OnAfterGetGenericLineTypeFromServiceLineType(ServiceLineType: Enum "Service Line Type"; var DocumentGenericLineType: Enum "KVSKBADocumentGenericLineType"): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBADocumentLineBuffer", 'OnAfterGetGenericLineTypeFromServiceLineType', '', false, false)]
local procedure DoSomethingOnAfterGetGenericLineTypeFromServiceLineType(ServiceLineType: Enum "Service Line Type"; var DocumentGenericLineType: Enum "KVSKBADocumentGenericLineType")
begin
end;

OnAfterGetSalesArchiveLineType(Record Sales Line Archive, Enum KVSKBADocumentLineType) :#

[IntegrationEvent(false, false)]
local procedure OnAfterGetSalesArchiveLineType(SalesLineArchive: Record "Sales Line Archive"; var KVSKBADocumentLineType: Enum "KVSKBADocumentLineType"): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBADocumentLineBuffer", 'OnAfterGetSalesArchiveLineType', '', false, false)]
local procedure DoSomethingOnAfterGetSalesArchiveLineType(SalesLineArchive: Record "Sales Line Archive"; var KVSKBADocumentLineType: Enum "KVSKBADocumentLineType")
begin
end;

OnAfterGetServiceLineType(Record Service Line, Enum KVSKBADocumentLineType) :#

[IntegrationEvent(false, false)]
local procedure OnAfterGetServiceLineType(ServiceLine: Record "Service Line"; var KVSKBADocumentLineType: Enum "KVSKBADocumentLineType"): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBADocumentLineBuffer", 'OnAfterGetServiceLineType', '', false, false)]
local procedure DoSomethingOnAfterGetServiceLineType(ServiceLine: Record "Service Line"; var KVSKBADocumentLineType: Enum "KVSKBADocumentLineType")
begin
end;

OnAfterGetServiceItemLineType(Record Service Item Line, Enum KVSKBADocumentLineType) :#

[IntegrationEvent(false, false)]
local procedure OnAfterGetServiceItemLineType(ServiceItemLine: Record "Service Item Line"; var KVSKBADocumentLineType: Enum "KVSKBADocumentLineType"): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBADocumentLineBuffer", 'OnAfterGetServiceItemLineType', '', false, false)]
local procedure DoSomethingOnAfterGetServiceItemLineType(ServiceItemLine: Record "Service Item Line"; var KVSKBADocumentLineType: Enum "KVSKBADocumentLineType")
begin
end;

OnAfterGetServiceInvoiceLineType(Record Service Invoice Line, Enum KVSKBADocumentLineType) :#

[IntegrationEvent(false, false)]
local procedure OnAfterGetServiceInvoiceLineType(ServiceInvoiceLine: Record "Service Invoice Line"; var KVSKBADocumentLineType: Enum "KVSKBADocumentLineType"): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBADocumentLineBuffer", 'OnAfterGetServiceInvoiceLineType', '', false, false)]
local procedure DoSomethingOnAfterGetServiceInvoiceLineType(ServiceInvoiceLine: Record "Service Invoice Line"; var KVSKBADocumentLineType: Enum "KVSKBADocumentLineType")
begin
end;

OnBuildFieldDataListOnAfterAddSubtotalLevel(Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBuildFieldDataListOnAfterAddSubtotalLevel(var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBADocumentLineBuffer", 'OnBuildFieldDataListOnAfterAddSubtotalLevel', '', false, false)]
local procedure DoSomethingOnBuildFieldDataListOnAfterAddSubtotalLevel(var IsHandled: Boolean)
begin
end;

OnAfterBuildFieldDataList(Record KVSKBADocumentHeaderBuffer, Codeunit KVSKBAMasterDocGlobalData, Codeunit KVSKBAMasterDocFieldData, Record KVSKBADocumentLineBuffer) :#

[IntegrationEvent(false, false)]
local procedure OnAfterBuildFieldDataList(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer"; var MasterDocGlobalData: Codeunit "KVSKBAMasterDocGlobalData"; var MasterDocFieldData: Codeunit "KVSKBAMasterDocFieldData"; var DocumentLineBuffer: Record "KVSKBADocumentLineBuffer"): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBADocumentLineBuffer", 'OnAfterBuildFieldDataList', '', false, false)]
local procedure DoSomethingOnAfterBuildFieldDataList(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer"; var MasterDocGlobalData: Codeunit "KVSKBAMasterDocGlobalData"; var MasterDocFieldData: Codeunit "KVSKBAMasterDocFieldData"; var DocumentLineBuffer: Record "KVSKBADocumentLineBuffer")
begin
end;