KVSKBAMasterDoc#
Procedures#
FindFirstHeader(Record KVSKBADocumentHeaderBuffer) : Boolean#
procedure FindFirstHeader(var tmpDocHeader: Record "KVSKBADocumentHeaderBuffer"): Boolean
FindNextHeader(Record KVSKBADocumentHeaderBuffer) : Boolean#
procedure FindNextHeader(var tmpDocHeader: Record "KVSKBADocumentHeaderBuffer"): Boolean
GetTempDocHeaderBuffer(Record KVSKBADocumentHeaderBuffer) :#
procedure GetTempDocHeaderBuffer(var OutKVSKBADocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary):
FindFirstDataItem(Record KVSKBADocumentDataItemBuffer, Record KVSKBADocumentHeaderBuffer, Integer) : Boolean#
procedure FindFirstDataItem(var tmpDocDataItem: Record "KVSKBADocumentDataItemBuffer" temporary; tmpDocHeader: Record "KVSKBADocumentHeaderBuffer"; CopyLoopNo: Integer): Boolean
FindNextDataItem(Record KVSKBADocumentDataItemBuffer, Record KVSKBADocumentHeaderBuffer) : Boolean#
procedure FindNextDataItem(var tmpDocDataItem: Record "KVSKBADocumentDataItemBuffer" temporary; tmpDocHeader: Record "KVSKBADocumentHeaderBuffer"): Boolean
FindStaticData(Record KVSKBADocumentDataItemBuffer) : Boolean#
procedure FindStaticData(var tmpDocDataItem: Record "KVSKBADocumentDataItemBuffer" temporary): Boolean
GetDimText(Integer) : Text#
procedure GetDimText(DimSetIDPar: Integer): Text
InitMaster(Integer, Integer, Boolean, Boolean) :#
procedure InitMaster(ReportIDPar: Integer; NoOfCopiesPar: Integer; PrintOnNotePar: Boolean; ShowInternalInfoPar: Boolean):
GetNoOfCopies() : Integer#
procedure GetNoOfCopies(): Integer
SetAdditionalNoOfCopies(Integer) : Integer#
procedure SetAdditionalNoOfCopies(AdditionalNoOfCopies: Integer): Integer
InitCustomFields() :#
procedure InitCustomFields():
AddCustomFieldValue(Text, Text) :#
procedure AddCustomFieldValue(LabelText: Text; ValueText: Text):
GetCustomFieldValue(Text) : Text#
procedure GetCustomFieldValue(LabelText: Text): Text
AddDocHeader(Record KVSKBADocumentHeaderBuffer) :#
procedure AddDocHeader(DocHeader: Record "KVSKBADocumentHeaderBuffer" temporary):
UpdateDocHeader(Record KVSKBADocumentHeaderBuffer) :#
procedure UpdateDocHeader(var DocHeader: Record "KVSKBADocumentHeaderBuffer" temporary):
AddStaticData(Record KVSKBADocumentHeaderBuffer) :#
procedure AddStaticData(DocHeader: Record "KVSKBADocumentHeaderBuffer" temporary):
SetCopyLoopNo(Integer) :#
procedure SetCopyLoopNo(LoopNo: Integer):
AddDataItemLine(Record KVSKBADocumentHeaderBuffer, Record KVSKBADocumentDataItemBuffer) :#
procedure AddDataItemLine(DocHeader: Record "KVSKBADocumentHeaderBuffer"; var tmpDataItemLine: Record "KVSKBADocumentDataItemBuffer"):
AddDataItemLineText(Record KVSKBADocumentHeaderBuffer, Enum KVSKBADocumentDataItemType, Enum KVSKBADocumentTableType, Enum KVSKBADocumentLineType, Text, Codeunit KVSKBAMasterDocFieldData) :#
procedure AddDataItemLineText(DocHeader: Record "KVSKBADocumentHeaderBuffer"; DataItemType: Enum "KVSKBADocumentDataItemType"; TableType: Enum "KVSKBADocumentTableType"; LineType: Enum "KVSKBADocumentLineType"; TextValue: Text; var FieldDataList: Codeunit "KVSKBAMasterDocFieldData"):
AddDocHeading(Record KVSKBADocumentHeaderBuffer, Option, Text[100], Text[100], Text[100], Text[100], Text[100], Text[100], Text[100], Text[100], Text[100], Text[100]) :#
procedure AddDocHeading(DocHeaderPar: Record "KVSKBADocumentHeaderBuffer"; TypePar: Option; Col1ValuePar: Text[100]; Col1FormatPar: Text[100]; Col2ValuePar: Text[100]; Col2FormatPar: Text[100]; Col3ValuePar: Text[100]; Col3FormatPar: Text[100]; Col4ValuePar: Text[100]; Col4FormatPar: Text[100]; Col5ValuePar: Text[100]; Col5FormatPar: Text[100]):
AddDocHeadingWithHeadingEntryNo(Record KVSKBADocumentHeaderBuffer, Integer, Option, Text[100], Text[100], Text[100], Text[100], Text[100], Text[100], Text[100], Text[100], Text[100], Text[100]) :#
procedure AddDocHeadingWithHeadingEntryNo(DocHeaderPar: Record "KVSKBADocumentHeaderBuffer"; HeadingLineNo: Integer; TypePar: Option; Col1ValuePar: Text[100]; Col1FormatPar: Text[100]; Col2ValuePar: Text[100]; Col2FormatPar: Text[100]; Col3ValuePar: Text[100]; Col3FormatPar: Text[100]; Col4ValuePar: Text[100]; Col4FormatPar: Text[100]; Col5ValuePar: Text[100]; Col5FormatPar: Text[100]):
GetDocHeadingEntryNoByCaption(Record KVSKBADocumentHeaderBuffer, Text[100]) : Integer#
procedure GetDocHeadingEntryNoByCaption(DocHeaderPar: Record "KVSKBADocumentHeaderBuffer"; CaptionName: Text[100]): Integer
GetDocHeadingEntryNoByCaptionOrMinusOne(Record KVSKBADocumentHeaderBuffer, Text[100]) : Integer#
Summary: Retrieves Heading EntryNo of the given Caption. Returns 0, if no entries have been found. Returns -1 if there are entries, but not the searched one.
procedure GetDocHeadingEntryNoByCaptionOrMinusOne(DocHeaderPar: Record "KVSKBADocumentHeaderBuffer"; CaptionName: Text[100]): Integer
UpdateDocHeadingEntry(Record KVSKBADocumentHeaderBuffer, Integer, Option, Text[100], Text[100], Text[100], Text[100], Text[100], Text[100], Text[100], Text[100], Text[100], Text[100]) : Boolean#
procedure UpdateDocHeadingEntry(DocHeaderPar: Record "KVSKBADocumentHeaderBuffer"; EntryNo: Integer; TypePar: Option; Col1ValuePar: Text[100]; Col1FormatPar: Text[100]; Col2ValuePar: Text[100]; Col2FormatPar: Text[100]; Col3ValuePar: Text[100]; Col3FormatPar: Text[100]; Col4ValuePar: Text[100]; Col4FormatPar: Text[100]; Col5ValuePar: Text[100]; Col5FormatPar: Text[100]): Boolean
DeleteDocHeadingEntry(Record KVSKBADocumentHeaderBuffer, Integer) : Boolean#
procedure DeleteDocHeadingEntry(DocHeaderPar: Record "KVSKBADocumentHeaderBuffer"; EntryNo: Integer): Boolean
AddDocHeaderLine(Record KVSKBADocumentHeaderBuffer, Text, Text, Option) :#
procedure AddDocHeaderLine(DocHeaderPar: Record "KVSKBADocumentHeaderBuffer"; TextPar: Text; FormatPar: Text; TextTypePar: Option):
AddDocLine_LongText(Record KVSKBADocumentHeaderBuffer, Enum KVSKBADocumentTableType, Integer, Enum KVSKBADocumentLineType, Text, Text, Option) :#
procedure AddDocLine_LongText(DocHeaderPar: Record "KVSKBADocumentHeaderBuffer"; TableTypePar: Enum "KVSKBADocumentTableType"; LineNoPar: Integer; LineTypePar: Enum "KVSKBADocumentLineType"; TextPar: Text; FormatPar: Text; TextTypePar: Option):
AddDocLine_LongTextDetail(Record KVSKBADocumentHeaderBuffer, Enum KVSKBADocumentTableType, Integer, Integer, Enum KVSKBADocumentLineType, Text, Text, Option) :#
procedure AddDocLine_LongTextDetail(DocHeaderPar: Record "KVSKBADocumentHeaderBuffer"; TableTypePar: Enum "KVSKBADocumentTableType"; LineNoPar: Integer; DetailLineNoPar: Integer; LineTypePar: Enum "KVSKBADocumentLineType"; TextPar: Text; FormatPar: Text; TextTypePar: Option):
AddDocLine_Text(Record KVSKBADocumentHeaderBuffer, Enum KVSKBADocumentTableType, Integer, Enum KVSKBADocumentLineType, Text[250], Text) :#
procedure AddDocLine_Text(DocHeader: Record "KVSKBADocumentHeaderBuffer"; TableTypePar: Enum "KVSKBADocumentTableType"; LineNoPar: Integer; LineTypePar: Enum "KVSKBADocumentLineType"; TextPar: Text[250]; FormatPar: Text):
AddDocLine(Record KVSKBADocumentHeaderBuffer, Record KVSKBADocumentLineBuffer) :#
procedure AddDocLine(var DocHeader: Record "KVSKBADocumentHeaderBuffer"; var DocLine: Record "KVSKBADocumentLineBuffer"):
AddDocFooterLine(Record KVSKBADocumentHeaderBuffer, Text, Text, Option) :#
procedure AddDocFooterLine(DocHeaderPar: Record "KVSKBADocumentHeaderBuffer"; TextPar: Text; FormatPar: Text; TextTypePar: Option):
AddDocPrepaymentLine(Record KVSKBADocumentLineBuffer) :#
procedure AddDocPrepaymentLine(DocLine: Record "KVSKBADocumentLineBuffer"):
AddItemTrackingHeading(Record KVSKBADocumentHeaderBuffer, Enum KVSKBADocumentTableType, Integer, Text[250], Text[50], Text[50], Text[30]) :#
procedure AddItemTrackingHeading(DocHeader: Record "KVSKBADocumentHeaderBuffer"; TableTypePar: Enum "KVSKBADocumentTableType"; LineNoPar: Integer; FormatPar: Text[250]; LotNoCaptionPar: Text[50]; SerialNoCaptionPar: Text[50]; QuantityCaptionPar: Text[30]):
AddItemTrackingHeading(Record KVSKBADocumentHeaderBuffer, Enum KVSKBADocumentTableType, Integer, Integer, Text[250], Text[50], Text[50], Text[30]) :#
Summary: Add an item tracking heading line to DataItem buffer with Detail Line No.
procedure AddItemTrackingHeading(DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer"; DocumentTableType: Enum "KVSKBADocumentTableType"; LineNo: Integer; DetailLineNo: Integer; FormatText: Text[250]; LotNoCaption: Text[50]; SerialNoCaption: Text[50]; QuantityCaption: Text[30]):
Parameters:
DocumentHeaderBuffer
: Global printing infos as Record KVSKBADocumentHeaderBufferDocumentTableType
: Type of printing Area as Enum KVSKBADocumentTableTypeLineNo
: Line no. of the main line (Service Item Line No.)DetailLineNo
: Detail Line no. of the main line (Service Line No.)FormatText
: Defines the formatting to be printed as textLotNoCaption
: Caption of Lot No. as TextSerialNoCaption
: Caption of Serial No. as TextQuantityCaption
: Caption of Quantity as Text
AddItemTrackingLine(Record KVSKBADocumentHeaderBuffer, Enum KVSKBADocumentTableType, Integer, Text[250], Code[20], Text[250], Code[20], Code[50], Code[50], Decimal, Text[50]) :#
Obsolete
This Element will be removed or changed with a future Version of the App.
[Obsolete('AddItemTrackingLine is marked for Removal, use AddItemTrackingLine with TempTrackingSpecification instead', '22.1')]
procedure AddItemTrackingLine(DocHeader: Record "KVSKBADocumentHeaderBuffer"; TableTypePar: Enum "KVSKBADocumentTableType"; LineNoPar: Integer; FormatPar: Text[250]; PositionNoPar: Code[20]; DescriptionPar: Text[250]; ItemNoPar: Code[20]; LotNoPar: Code[50]; SerialNoPar: Code[50]; QuantityPar: Decimal; SortTrigger1Par: Text[50]):
AddItemTrackingLine(Record KVSKBADocumentHeaderBuffer, Enum KVSKBADocumentTableType, Integer, Text[250], Code[20], Text[250], Code[20], Code[50], Code[50], Decimal, Text[50], Record Tracking Specification) :#
procedure AddItemTrackingLine(DocHeader: Record "KVSKBADocumentHeaderBuffer"; TableTypePar: Enum "KVSKBADocumentTableType"; LineNoPar: Integer; FormatPar: Text[250]; PositionNoPar: Code[20]; DescriptionPar: Text[250]; ItemNoPar: Code[20]; LotNoPar: Code[50]; SerialNoPar: Code[50]; QuantityPar: Decimal; SortTrigger1Par: Text[50]; TempTrackingSpecification: Record "Tracking Specification" temporary):
AddItemTrackingLine(Record KVSKBADocumentHeaderBuffer, Enum KVSKBADocumentTableType, Integer, Integer, Text[250], Code[20], Text[250], Code[20], Code[50], Code[50], Decimal, Text[50], Record Tracking Specification) :#
Summary: Add an item tracking line to DataItem buffer
procedure AddItemTrackingLine(DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer"; DocumentTableType: Enum "KVSKBADocumentTableType"; LineNo: Integer; DetailLineNo: Integer; FormatText: Text[250]; PositionNo: Code[20]; Description: Text[250]; ItemNo: Code[20]; LotNo: Code[50]; SerialNo: Code[50]; Quantity: Decimal; SortTrigger1: Text[50]; TempTrackingSpecification: Record "Tracking Specification" temporary):
Parameters:
DocumentHeaderBuffer
: Global printing infos as Record KVSKBADocumentHeaderBufferDocumentTableType
: Type of printing Area as Enum KVSKBADocumentTableTypeLineNo
: Line no. of the main line (Service Item Line No.)DetailLineNo
: Detail Line no. of the main line (Service Line No.)FormatText
: Defines the formatting to be printed as textPositionNo
: Document Line Positionno as CodeDescription
: Item Tracking Line Description as TextItemNo
: Item Tracking Line Item No. as CodeLotNo
: Lot No. as CodeSerialNo
: Serial No. as CodeQuantity
: Item Tracking Line Quantity as DecimalSortTrigger1
: Sorting as TextTempTrackingSpecification
: Record TrackingSpecification for more Information
CheckAndAddDocTextBuffer(Record KVSKBADocumentHeaderBuffer, Enum KVSKBADocumentLineType, Text, Text, Text, Text, Boolean, Boolean, Boolean) : Boolean#
procedure CheckAndAddDocTextBuffer(DocHeaderPar: Record "KVSKBADocumentHeaderBuffer"; DocPosPar: Enum "KVSKBADocumentLineType"; LineFormatPar: Text; var TextBufferVar: Text; TextPar: Text; FormattedTextPar: Text; LastLinePar: Boolean; NewBlockPar: Boolean; HasFormattedTextPar: Boolean): Boolean
CheckAndAddLineTextBuffer(Record KVSKBADocumentHeaderBuffer, Enum KVSKBADocumentTableType, Integer, Enum KVSKBADocumentLineType, Text, Text, Text, Text, Boolean, Boolean, Boolean) : Boolean#
procedure CheckAndAddLineTextBuffer(DocHeader: Record "KVSKBADocumentHeaderBuffer"; TableType: Enum "KVSKBADocumentTableType"; LineNo: Integer; LinePos: Enum "KVSKBADocumentLineType"; LineFormat: Text; var TextBuffer: Text; TextLine: Text; FormattedText: Text; LastLine: Boolean; NewBlock: Boolean; HasFormattedText: Boolean): Boolean
CheckAndAddDetailLineTextBuffer(Record KVSKBADocumentHeaderBuffer, Enum KVSKBADocumentTableType, Integer, Integer, Enum KVSKBADocumentLineType, Text, Text, Text, Text, Boolean, Boolean, Boolean) : Boolean#
procedure CheckAndAddDetailLineTextBuffer(DocHeader: Record "KVSKBADocumentHeaderBuffer"; TableType: Enum "KVSKBADocumentTableType"; LineNo: Integer; DetailLineNo: Integer; LinePos: Enum "KVSKBADocumentLineType"; LineFormat: Text; var TextBuffer: Text; TextLine: Text; FormattedText: Text; LastLine: Boolean; NewBlock: Boolean; HasFormattedText: Boolean): Boolean
AddDocTotalLine(Record KVSKBADocumentHeaderBuffer, Record KVSKBADocumentTotalBuffer) :#
procedure AddDocTotalLine(DocHeader: Record "KVSKBADocumentHeaderBuffer"; DocTotalLine: Record "KVSKBADocumentTotalBuffer" temporary):
AddDocTotalText(Record KVSKBADocumentHeaderBuffer, Option, Text[250]) :#
procedure AddDocTotalText(DocHeaderPar: Record "KVSKBADocumentHeaderBuffer"; TypeValue: Option; TextLine: Text[250]):
AddDocTotalAmount(Record KVSKBADocumentHeaderBuffer, Option, Text[250], Decimal, Code[10], Date) :#
procedure AddDocTotalAmount(DocHeader: Record "KVSKBADocumentHeaderBuffer"; TypeValue: Option; TextLine: Text[250]; AmountValue: Decimal; CurrencyValue: Code[10]; DateValue: Date):
AddDocTotalFormattedText(Record KVSKBADocumentHeaderBuffer, Option, Text) :#
procedure AddDocTotalFormattedText(DocHeader: Record "KVSKBADocumentHeaderBuffer"; TypeValue: Option; TextLine: Text):
InitVATTotals() :#
procedure InitVATTotals():
AddDocVATLine(Record KVSKBADocumentHeaderBuffer, Code[20], Decimal, Decimal, Decimal, Decimal, Decimal, Decimal) :#
procedure AddDocVATLine(DocHeader: Record "KVSKBADocumentHeaderBuffer"; VATIdentifier: Code[20]; VATPercent: Decimal; VATAmount: Decimal; VATBase: Decimal; LineAmount: Decimal; InvDiscBaseAmount: Decimal; InvDiscAmount: Decimal):
AddDocVATLineLCY(Record KVSKBADocumentHeaderBuffer, Code[20], Decimal, Text[250], Decimal, Decimal) :#
procedure AddDocVATLineLCY(DocHeader: Record "KVSKBADocumentHeaderBuffer"; VATIdentifier: Code[20]; VATPercent: Decimal; ExchangeRate: Text[250]; VATBase: Decimal; VATAmount: Decimal):
AddDocVATClause(Record KVSKBADocumentHeaderBuffer, Code[20], Code[20], Decimal, Text[250], Text[250]) :#
procedure AddDocVATClause(DocHeader: Record "KVSKBADocumentHeaderBuffer"; VATIdentifier: Code[20]; VATClauseCode: Code[20]; VATAmount: Decimal; Description: Text[250]; Description2: Text[250]):
AddDocPrepaymentVATLine(Record KVSKBADocumentHeaderBuffer, Code[20], Decimal, Decimal, Decimal, Decimal, Decimal, Decimal) :#
procedure AddDocPrepaymentVATLine(DocHeader: Record "KVSKBADocumentHeaderBuffer"; VATIdentifier: Code[20]; VATPercent: Decimal; VATAmount: Decimal; VATBase: Decimal; LineAmount: Decimal; InvDiscBaseAmount: Decimal; InvDiscAmount: Decimal):
GetReportFileName(Integer, Text[80], Code[20]) : Text#
procedure GetReportFileName(ReportIDPar: Integer; DocCaptionPar: Text[80]; DocNoPar: Code[20]): Text
GetReportID(Text) : Integer#
procedure GetReportID(ReportID: Text): Integer
GetTableID(Variant) : Integer#
procedure GetTableID(TableVariant: Variant): Integer
CheckForPageBreak(Boolean, Integer) :#
procedure CheckForPageBreak(PrintPageBreak: Boolean; LineNo: Integer):
ForcePageBreak(Boolean) :#
Summary: Force Page Break in Report
procedure ForcePageBreak(PrintPageBreak: Boolean):
Parameters:
PrintPageBreak
: true the page break is forced
CheckForNewBlock(Integer) :#
procedure CheckForNewBlock(LineNo: Integer):
IsMasterDocReport(Integer) : Boolean#
Summary: Checks the given ReportID to be a MasterDoc report.
procedure IsMasterDocReport(ReportID: Integer): Boolean
RunArchiveManagement(Variant, Boolean, Boolean, Enum Report Selection Usage) :#
procedure RunArchiveManagement(DocHeader: Variant; ArchiveDocument: Boolean; LogInteraction: Boolean; Usage: Enum "Report Selection Usage"):
RunSegManagement(Variant, Boolean, Enum Report Selection Usage) :#
procedure RunSegManagement(DocHeader: Variant; LogInteraction: Boolean; Usage: Enum "Report Selection Usage"):
GetSalesPurchasePersonInformation(Enum KVSKBAPrintSalesPerson, Code[20], Code[20], Code[50], Text[50], Text[50], Text[30], Text[30], Text[80], Text) :#
procedure GetSalesPurchasePersonInformation(PrintSalesPurchPerson: Enum "KVSKBAPrintSalesPerson"; SalesPurchPersonCode: Code[20]; SalesPurchPersonCode2: Code[20]; AssignedUserID: Code[50]; var SalesPurchPersonName: Text[50]; var SalesPurchPerson2Name: Text[50]; var PhoneNo: Text[30]; var FaxNo: Text[30]; var Email: Text[80]; ReportText: Text):
GetDefaultReportOption(Integer, Text[50], Text[50]) : Text#
procedure GetDefaultReportOption(ReportIDPar: Integer; OptionPar: Text[50]; ParameterNamePar: Text[50]): Text
GetOptionValue(Text, Text[50]) : Text#
procedure GetOptionValue(ParametersPar: Text; OptionPar: Text[50]): Text
CalcSalesVATClauseVATAmountLines(Option, Record Sales Header, Record Sales Line, Record VAT Amount Line) :#
procedure CalcSalesVATClauseVATAmountLines(QtyType: Option; var SalesHeader: Record "Sales Header"; var SalesLine: Record "Sales Line"; var VATAmountLine: Record "VAT Amount Line"):
GetAbsMin(Decimal, Decimal) : Decimal#
procedure GetAbsMin(QtyToHandle: Decimal; QtyHandled: Decimal): Decimal
PurchOrdConfRemindVend(Text[100], Record KVSKBAPOrdConfRemHeader) :#
procedure PurchOrdConfRemindVend(var AddrArray: Text[100]; var POrdConfRemHeader: Record "KVSKBAPOrdConfRemHeader"):
IssPurchOrdConfRemindVend(Text[100], Record KVSKBAIssuedPOrdConfRemHdr) :#
procedure IssPurchOrdConfRemindVend(var AddrArray: Text[100]; var IssuedPOrdConfRemHdr: Record "KVSKBAIssuedPOrdConfRemHdr"):
Events#
OnBeforeInsertTmpHeaderBufferInAddDocHeader(Record KVSKBADocumentHeaderBuffer) :#
[IntegrationEvent(true, false)]
local procedure OnBeforeInsertTmpHeaderBufferInAddDocHeader(var DocHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAMasterDoc", 'OnBeforeInsertTmpHeaderBufferInAddDocHeader', '', false, false)]
local procedure DoSomethingOnBeforeInsertTmpHeaderBufferInAddDocHeader(var DocHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary)
begin
end;
OnBeforeModifyTmpHeaderBufferInUpdateDocHeader(Record KVSKBADocumentHeaderBuffer) :#
[IntegrationEvent(true, false)]
local procedure OnBeforeModifyTmpHeaderBufferInUpdateDocHeader(var DocHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAMasterDoc", 'OnBeforeModifyTmpHeaderBufferInUpdateDocHeader', '', false, false)]
local procedure DoSomethingOnBeforeModifyTmpHeaderBufferInUpdateDocHeader(var DocHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary)
begin
end;
OnBeforeAddDocVATClause(Record KVSKBADocumentHeaderBuffer, Code[20], Code[20], Decimal, Text[250], Text[250], Boolean) :#
[IntegrationEvent(true, false)]
local procedure OnBeforeAddDocVATClause(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer"; var VATIdentifier: Code[20]; var VATClauseCode: Code[20]; var VATAmount: Decimal; var Description: Text[250]; var Description2: Text[250]; var ExitStandardCode: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAMasterDoc", 'OnBeforeAddDocVATClause', '', false, false)]
local procedure DoSomethingOnBeforeAddDocVATClause(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer"; var VATIdentifier: Code[20]; var VATClauseCode: Code[20]; var VATAmount: Decimal; var Description: Text[250]; var Description2: Text[250]; var ExitStandardCode: Boolean)
begin
end;
OnBeforeAddDocTotalLineToDataItemBuffer(Record KVSKBADocumentHeaderBuffer, Record KVSKBADocumentTotalBuffer) :#
[IntegrationEvent(true, false)]
local procedure OnBeforeAddDocTotalLineToDataItemBuffer(DocHeader: Record "KVSKBADocumentHeaderBuffer"; var DocTotalLine: Record "KVSKBADocumentTotalBuffer" temporary):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAMasterDoc", 'OnBeforeAddDocTotalLineToDataItemBuffer', '', false, false)]
local procedure DoSomethingOnBeforeAddDocTotalLineToDataItemBuffer(DocHeader: Record "KVSKBADocumentHeaderBuffer"; var DocTotalLine: Record "KVSKBADocumentTotalBuffer" temporary)
begin
end;
OnBeforeInsertStaticDataItem(Record KVSKBADocumentDataItemBuffer) :#
[IntegrationEvent(true, false)]
local procedure OnBeforeInsertStaticDataItem(var DocDataItemBuffer: Record "KVSKBADocumentDataItemBuffer" temporary):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAMasterDoc", 'OnBeforeInsertStaticDataItem', '', false, false)]
local procedure DoSomethingOnBeforeInsertStaticDataItem(var DocDataItemBuffer: Record "KVSKBADocumentDataItemBuffer" temporary)
begin
end;
OnBeforeAddCaptionForAdditionalFields(Text[50], Text[50], Text[50], Record KVSKBADocumentHeaderBuffer, Codeunit KVSKBAMasterDocFieldData, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeAddCaptionForAdditionalFields(ExtLotCaption: Text[50]; ProductionDate: Text[50]; ExpirationDate: Text[50]; var DocHeader: Record "KVSKBADocumentHeaderBuffer"; var FieldDataList: Codeunit "KVSKBAMasterDocFieldData"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAMasterDoc", 'OnBeforeAddCaptionForAdditionalFields', '', false, false)]
local procedure DoSomethingOnBeforeAddCaptionForAdditionalFields(ExtLotCaption: Text[50]; ProductionDate: Text[50]; ExpirationDate: Text[50]; var DocHeader: Record "KVSKBADocumentHeaderBuffer"; var FieldDataList: Codeunit "KVSKBAMasterDocFieldData"; var IsHandled: Boolean)
begin
end;
OnBeforeGetSalesPurchasePersonInformation(Enum KVSKBAPrintSalesPerson, Code[20], Code[20], Code[50], Text[50], Text[50], Text[30], Text[30], Text[80], Integer, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeGetSalesPurchasePersonInformation(PrintSalesPurchPerson: Enum "KVSKBAPrintSalesPerson"; SalesPurchPersonCode: Code[20]; SalesPurchPersonCode2: Code[20]; AssignedUserID: Code[50]; var SalesPurchPersonName: Text[50]; var SalesPurchPerson2Name: Text[50]; var PhoneNo: Text[30]; var FaxNo: Text[30]; var Email: Text[80]; ReportID: Integer; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAMasterDoc", 'OnBeforeGetSalesPurchasePersonInformation', '', false, false)]
local procedure DoSomethingOnBeforeGetSalesPurchasePersonInformation(PrintSalesPurchPerson: Enum "KVSKBAPrintSalesPerson"; SalesPurchPersonCode: Code[20]; SalesPurchPersonCode2: Code[20]; AssignedUserID: Code[50]; var SalesPurchPersonName: Text[50]; var SalesPurchPerson2Name: Text[50]; var PhoneNo: Text[30]; var FaxNo: Text[30]; var Email: Text[80]; ReportID: Integer; var IsHandled: Boolean)
begin
end;
OnAfterGetSalesPurchasePersonInformation(Enum KVSKBAPrintSalesPerson, Code[20], Code[20], Code[50], Text[50], Text[50], Text[30], Text[30], Text[80], Integer) :#
[IntegrationEvent(false, false)]
local procedure OnAfterGetSalesPurchasePersonInformation(PrintSalesPurchPerson: Enum "KVSKBAPrintSalesPerson"; SalesPurchPersonCode: Code[20]; SalesPurchPersonCode2: Code[20]; AssignedUserID: Code[50]; var SalesPurchPersonName: Text[50]; var SalesPurchPerson2Name: Text[50]; var PhoneNo: Text[30]; var FaxNo: Text[30]; var Email: Text[80]; ReportID: Integer):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAMasterDoc", 'OnAfterGetSalesPurchasePersonInformation', '', false, false)]
local procedure DoSomethingOnAfterGetSalesPurchasePersonInformation(PrintSalesPurchPerson: Enum "KVSKBAPrintSalesPerson"; SalesPurchPersonCode: Code[20]; SalesPurchPersonCode2: Code[20]; AssignedUserID: Code[50]; var SalesPurchPersonName: Text[50]; var SalesPurchPerson2Name: Text[50]; var PhoneNo: Text[30]; var FaxNo: Text[30]; var Email: Text[80]; ReportID: Integer)
begin
end;
OnBeforeRunArchiveManagement(Variant, Boolean, Boolean, Enum Report Selection Usage, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeRunArchiveManagement(var DocHeader: Variant; var ArchiveDocument: Boolean; var LogInteraction: Boolean; var Usage: Enum "Report Selection Usage"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAMasterDoc", 'OnBeforeRunArchiveManagement', '', false, false)]
local procedure DoSomethingOnBeforeRunArchiveManagement(var DocHeader: Variant; var ArchiveDocument: Boolean; var LogInteraction: Boolean; var Usage: Enum "Report Selection Usage"; var IsHandled: Boolean)
begin
end;
OnAfterRunArchiveManagement(Variant, Boolean, Boolean, Enum Report Selection Usage) :#
[IntegrationEvent(false, false)]
local procedure OnAfterRunArchiveManagement(var DocHeader: Variant; var ArchiveDocument: Boolean; var LogInteraction: Boolean; var Usage: Enum "Report Selection Usage"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAMasterDoc", 'OnAfterRunArchiveManagement', '', false, false)]
local procedure DoSomethingOnAfterRunArchiveManagement(var DocHeader: Variant; var ArchiveDocument: Boolean; var LogInteraction: Boolean; var Usage: Enum "Report Selection Usage")
begin
end;
OnBeforeTrytoDetermineReportID(Text, Integer, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeTrytoDetermineReportID(ReportText: Text; var ReportID: Integer; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAMasterDoc", 'OnBeforeTrytoDetermineReportID', '', false, false)]
local procedure DoSomethingOnBeforeTrytoDetermineReportID(ReportText: Text; var ReportID: Integer; var IsHandled: Boolean)
begin
end;
OnBeforeCalcSalesVATClauseVATAmountLines(Option, Record Sales Header, Record Sales Line, Record VAT Amount Line, Boolean) :#
[IntegrationEvent(false, false)]
procedure OnBeforeCalcSalesVATClauseVATAmountLines(QtyType: Option; var SalesHeader: Record "Sales Header"; var SalesLine: Record "Sales Line"; var VATAmountLine: Record "VAT Amount Line"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAMasterDoc", 'OnBeforeCalcSalesVATClauseVATAmountLines', '', false, false)]
local procedure DoSomethingOnBeforeCalcSalesVATClauseVATAmountLines(QtyType: Option; var SalesHeader: Record "Sales Header"; var SalesLine: Record "Sales Line"; var VATAmountLine: Record "VAT Amount Line"; var IsHandled: Boolean)
begin
end;
OnCalcSalesVATClauseVATAmountLinesOnBeforeVATAmountLineInsert(Record Sales Header, Record Sales Line, Record VAT Amount Line) :#
[IntegrationEvent(false, false)]
procedure OnCalcSalesVATClauseVATAmountLinesOnBeforeVATAmountLineInsert(SalesHeader: Record "Sales Header"; SalesLine: Record "Sales Line"; var VATAmountLine: Record "VAT Amount Line"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAMasterDoc", 'OnCalcSalesVATClauseVATAmountLinesOnBeforeVATAmountLineInsert', '', false, false)]
local procedure DoSomethingOnCalcSalesVATClauseVATAmountLinesOnBeforeVATAmountLineInsert(SalesHeader: Record "Sales Header"; SalesLine: Record "Sales Line"; var VATAmountLine: Record "VAT Amount Line")
begin
end;
OnAfterCheckForMasterDocReport(Integer, Boolean) :#
[IntegrationEvent(false, false)]
procedure OnAfterCheckForMasterDocReport(ReportID: Integer; var IsMasterDocReport: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAMasterDoc", 'OnAfterCheckForMasterDocReport', '', false, false)]
local procedure DoSomethingOnAfterCheckForMasterDocReport(ReportID: Integer; var IsMasterDocReport: Boolean)
begin
end;