Skip to content

KVSKBADocumentDataItemBuffer#

Fields#

Name Type Note
Doc Scope Enum (KVSKBADocumentScope)
Doc Type Enum (KVSKBADocumentType)
No. Code[20]
Doc. No. Occurrence Integer
Version No. Integer
Document Order No. Integer
OutputNo Integer
Entry No. Integer
DataItem Type Enum (KVSKBADocumentDataItemType)
Table Type Enum (KVSKBADocumentTableType)
Line No. Integer
Detail Line No. Integer
Line Type Enum (KVSKBADocumentLineType)
Sort Trigger 1 Text[50]
Sort Trigger 2 Text[50]
Sort Trigger 3 Text[50]
Decimal 1 Decimal
Decimal 2 Decimal
Carry Amount Decimal
Page Break Trigger Integer
Line Block Trigger Integer
Line Format String Text[250]
Line Fields Blob
Formatted Text Blob
Picture 1 Blob
Picture 2 Blob
Picture 3 Blob

Procedures#

InitByHeader(Codeunit KVSKBAMasterDocGlobalData, Record KVSKBADocumentHeaderBuffer) :#

procedure InitByHeader(var GlobalData: Codeunit "KVSKBAMasterDocGlobalData"; var tmpDocHeader: Record "KVSKBADocumentHeaderBuffer" temporary): 

AddCustomFields(Codeunit KVSKBAMasterDocFieldData) :#

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

InsertDocHeader(Codeunit KVSKBAMasterDocGlobalData, Record KVSKBADocumentHeaderBuffer) :#

procedure InsertDocHeader(var GlobalData: Codeunit "KVSKBAMasterDocGlobalData"; var tmpDocHeader: Record "KVSKBADocumentHeaderBuffer" temporary): 

UpdateDocHeader(Codeunit KVSKBAMasterDocGlobalData, Record KVSKBADocumentHeaderBuffer, Codeunit KVSKBAMasterDocFieldData) :#

procedure UpdateDocHeader(var GlobalData: Codeunit "KVSKBAMasterDocGlobalData"; var tmpDocHeader: Record "KVSKBADocumentHeaderBuffer" temporary; var CustomFieldsDataList: Codeunit "KVSKBAMasterDocFieldData"): 

InsertDocHeading(Codeunit KVSKBAMasterDocGlobalData, Record KVSKBADocumentHeaderBuffer, Record KVSKBADocumentHeadingBuffer) :#

procedure InsertDocHeading(var GlobalData: Codeunit "KVSKBAMasterDocGlobalData"; var tmpDocHeader: Record "KVSKBADocumentHeaderBuffer" temporary; var tmpDocHeading: Record "KVSKBADocumentHeadingBuffer" temporary): 

InsertDocLine(Codeunit KVSKBAMasterDocGlobalData, Record KVSKBADocumentHeaderBuffer, Record KVSKBADocumentLineBuffer) :#

procedure InsertDocLine(var GlobalData: Codeunit "KVSKBAMasterDocGlobalData"; var tmpDocHeader: Record "KVSKBADocumentHeaderBuffer" temporary; var tmpDocLine: Record "KVSKBADocumentLineBuffer" temporary): 

InsertDocTotalLine(Codeunit KVSKBAMasterDocGlobalData, Record KVSKBADocumentHeaderBuffer, Record KVSKBADocumentTotalBuffer) :#

procedure InsertDocTotalLine(var GlobalData: Codeunit "KVSKBAMasterDocGlobalData"; var tmpDocHeader: Record "KVSKBADocumentHeaderBuffer" temporary; var tmpDocTotal: Record "KVSKBADocumentTotalBuffer" temporary): 

InsertDocVATInfoLine(Codeunit KVSKBAMasterDocGlobalData, Record KVSKBADocumentHeaderBuffer, Record KVSKBADocumentVATInfoBuffer) :#

procedure InsertDocVATInfoLine(var GlobalData: Codeunit "KVSKBAMasterDocGlobalData"; var tmpDocHeader: Record "KVSKBADocumentHeaderBuffer" temporary; var tmpDocTotal: Record "KVSKBADocumentVATInfoBuffer" temporary): 

GetLineFields() : Text#

procedure GetLineFields(): Text

SetLineFields(Text) :#

procedure SetLineFields(WriteText: Text): 

GetBlobText() : Text#

procedure GetBlobText(): Text

SetBlobText(Text) :#

procedure SetBlobText(WriteText: Text): 

SetDocTextTranslation(Record KVSKBADocumentTextTranslation) :#

procedure SetDocTextTranslation(var InDocTextTranslation: Record "KVSKBADocumentTextTranslation"): 

GetDocTextTranslation(Record KVSKBADocumentTextTranslation) :#

procedure GetDocTextTranslation(var OutDocTextTranslation: Record "KVSKBADocumentTextTranslation"): 

SetPicture1FromBlob(Codeunit Temp Blob) :#

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

SetPicture2FromBlob(Codeunit Temp Blob) :#

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

SetPicture3FromBlob(Codeunit Temp Blob) :#

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

SetCopyLoopNo(Integer) :#

procedure SetCopyLoopNo(LoopNo: Integer): 

UpdateHeaderLineFieldsForCopy(Text) :#

procedure UpdateHeaderLineFieldsForCopy(var LineFields: Text): 

Events#

OnBeforeTransferPictures(Record KVSKBADocumentTextTranslation, Record KVSKBADocumentHeaderBuffer, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeTransferPictures(var KVSKBADocumentTextTranslation: Record "KVSKBADocumentTextTranslation"; var TempKVSKBADocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBADocumentDataItemBuffer", 'OnBeforeTransferPictures', '', false, false)]
local procedure DoSomethingOnBeforeTransferPictures(var KVSKBADocumentTextTranslation: Record "KVSKBADocumentTextTranslation"; var TempKVSKBADocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var IsHandled: Boolean)
begin
end;