Skip to content

KVSMEDKFWReportMgt#

Procedures#

MED_SetReportID(Integer) :#

procedure MED_SetReportID(ReportID: Integer): 

MED_GetTableType(Integer) : Enum#

Summary: Provides the table type used in Report to add additional lines.

procedure MED_GetTableType(ReportID: Integer): Enum KVSKBADocumentTableType

Parameters:

  • ReportID:

Returns: "Table type

MED_SetCallLine(Option, Boolean, Record KVSKBADocumentHeaderBuffer, Record KVSKBADocumentLineBuffer, Codeunit KVSKBAMasterDoc) :#

procedure MED_SetCallLine(PrintCallDocType: Option; LoanUnit: Boolean; var KVSKBADocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer"; var KVSKBADocumentLineBuffer: Record "KVSKBADocumentLineBuffer"; var KVSKBAMasterDoc: Codeunit "KVSKBAMasterDoc"): 

GetPostcodeCityComb() : Text#

Summary: Provides the string to combine postcode and city in various documents.

procedure GetPostcodeCityComb(): Text

Returns: "Combination string

Events#

OnAfterGetSalesPurchPersonInfo_MED(Codeunit KVSKBAMasterDoc, Record KVSKBADocumentHeaderBuffer, Enum KVSKBAPrintSalesPerson, Code[20], Code[20], Code[50], Text[50], Text[50], Text[30], Text[30], Text[80], Text) :#

[IntegrationEvent(false, false)]
procedure OnAfterGetSalesPurchPersonInfo_MED(var KVAKBAMasterDoc: Codeunit "KVSKBAMasterDoc"; var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; PrintSalesPurchPersonPar: Enum "KVSKBAPrintSalesPerson"; SalesPurchPersonCodePar: Code[20]; SalesPurchPersonCode2Par: Code[20]; AssignedUserIDPar: Code[50]; var SalesPurchPersonNameVar: Text[50]; var SalesPurchPerson2NameVar: Text[50]; var PhoneNoVar: Text[30]; var FaxNoVar: Text[30]; var EmailVar: Text[80]; ReportTextPar: Text): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDKFWReportMgt", 'OnAfterGetSalesPurchPersonInfo_MED', '', false, false)]
local procedure DoSomethingOnAfterGetSalesPurchPersonInfo_MED(var KVAKBAMasterDoc: Codeunit "KVSKBAMasterDoc"; var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; PrintSalesPurchPersonPar: Enum "KVSKBAPrintSalesPerson"; SalesPurchPersonCodePar: Code[20]; SalesPurchPersonCode2Par: Code[20]; AssignedUserIDPar: Code[50]; var SalesPurchPersonNameVar: Text[50]; var SalesPurchPerson2NameVar: Text[50]; var PhoneNoVar: Text[30]; var FaxNoVar: Text[30]; var EmailVar: Text[80]; ReportTextPar: Text)
begin
end;

OnBeforeAddTariffNoAndCountryOfOriginInfo_MED(Codeunit KVSKBAMasterDoc, Record KVSKBADocumentHeaderBuffer, Record KVSKBADocumentLineBuffer, Record Customer, Record Item, Enum KVSKBADocumentTableType, Boolean, Boolean, Text) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeAddTariffNoAndCountryOfOriginInfo_MED(var MasterDoc: Codeunit "KVSKBAMasterDoc"; var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var DocumentLineBuffer: Record "KVSKBADocumentLineBuffer" temporary; Customer: Record "Customer"; Item: Record "Item"; var TableType: Enum "KVSKBADocumentTableType"; var ShowTariffNoPar: Boolean; ShowCountryOfOriginPar: Boolean; var TextBuffer: Text): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDKFWReportMgt", 'OnBeforeAddTariffNoAndCountryOfOriginInfo_MED', '', false, false)]
local procedure DoSomethingOnBeforeAddTariffNoAndCountryOfOriginInfo_MED(var MasterDoc: Codeunit "KVSKBAMasterDoc"; var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var DocumentLineBuffer: Record "KVSKBADocumentLineBuffer" temporary; Customer: Record "Customer"; Item: Record "Item"; var TableType: Enum "KVSKBADocumentTableType"; var ShowTariffNoPar: Boolean; ShowCountryOfOriginPar: Boolean; var TextBuffer: Text)
begin
end;