Skip to content

KVSMTCKFWReportMgt#

Procedures#

MED_GetTableType(Integer) : Enum#

procedure MED_GetTableType(ReportID: Integer): Enum KVSKBADocumentTableType

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

procedure GetSalesPurchPersonInfo(var TempKVSKBADocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var KVSKBAMasterDoc: Codeunit "KVSKBAMasterDoc"; KVSKBAPrintSalesPerson: 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): 

MTC_AppendString(Text, Text, Text) :#

procedure MTC_AppendString(var TextBuffer: Text; Delimiter: Text; TextToAdd: Text): 

GetSalesUnitPriceInclCaption() : Text#

Summary: Provides the caption "Gross Price" or the translation if any exist for the current language.

procedure GetSalesUnitPriceInclCaption(): Text

Returns: "Gross Price" or the translation

GetSalesAmountInclCaption() : Text#

Summary: Provides the caption "Gross Amount" or the translation if any exist for the current language.

procedure GetSalesAmountInclCaption(): Text

Returns: "Gross Amount" or the translation

GetPostcodeCityComb() : Text#

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

procedure GetPostcodeCityComb(): Text

Returns: "Combination string

GetCopyTextLabel() : Text#

Summary: Provides the CopyText string used in various documents.

procedure GetCopyTextLabel(): Text

Returns: "CopyText label

GetPageLabel() : Text#

Summary: Provides the PageCaption string used in various documents.

procedure GetPageLabel(): Text

Returns: "PageCaption label

GetItemTrackingNoLabel() : Text#

Summary: Provides the ItemTrackingNoCaption string used in various documents.

procedure GetItemTrackingNoLabel(): Text

Returns: "ItemTrackingNoCaption label

GetShipmentDatePrefixLabel() : Text#

Summary: Provides the ShipmentDatePrefixCaption string used in various documents.

procedure GetShipmentDatePrefixLabel(): Text

Returns: "ShipmentDatePrefixCaption label

GetPUCaption() : Text#

Summary: Provides the caption "PU" or the translation if any exist for the current language.

procedure GetPUCaption(): Text

Returns: "PU" or the translation

Events#

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

[IntegrationEvent(false, false)]
procedure OnAfterGetSalesPurchPersonInfo_MTC(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]): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCKFWReportMgt", 'OnAfterGetSalesPurchPersonInfo_MTC', '', false, false)]
local procedure DoSomethingOnAfterGetSalesPurchPersonInfo_MTC(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])
begin
end;

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

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

OnBeforeAddItemTrackingHeading_MTC(Codeunit KVSKBAMasterDoc, Record KVSKBADocumentHeaderBuffer, Record KVSKBADocumentLineBuffer, Record Tracking Specification, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeAddItemTrackingHeading_MTC(var KVSKBAMasterDoc: Codeunit "KVSKBAMasterDoc"; var KVSKBADocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var KVSKBADocumentLineBuffer: Record "KVSKBADocumentLineBuffer" temporary; var TempTrackingSpecification: Record "Tracking Specification" temporary; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCKFWReportMgt", 'OnBeforeAddItemTrackingHeading_MTC', '', false, false)]
local procedure DoSomethingOnBeforeAddItemTrackingHeading_MTC(var KVSKBAMasterDoc: Codeunit "KVSKBAMasterDoc"; var KVSKBADocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var KVSKBADocumentLineBuffer: Record "KVSKBADocumentLineBuffer" temporary; var TempTrackingSpecification: Record "Tracking Specification" temporary; var IsHandled: Boolean)
begin
end;

OnBeforeAddItemTrackingLine_MTC(Codeunit KVSKBAMasterDoc, Record KVSKBADocumentHeaderBuffer, Record KVSKBADocumentLineBuffer, Record Tracking Specification, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeAddItemTrackingLine_MTC(var KVSKBAMasterDoc: Codeunit "KVSKBAMasterDoc"; var KVSKBADocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var KVSKBADocumentLineBuffer: Record "KVSKBADocumentLineBuffer" temporary; var TempTrackingSpecification: Record "Tracking Specification" temporary; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCKFWReportMgt", 'OnBeforeAddItemTrackingLine_MTC', '', false, false)]
local procedure DoSomethingOnBeforeAddItemTrackingLine_MTC(var KVSKBAMasterDoc: Codeunit "KVSKBAMasterDoc"; var KVSKBADocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var KVSKBADocumentLineBuffer: Record "KVSKBADocumentLineBuffer" temporary; var TempTrackingSpecification: Record "Tracking Specification" temporary; var IsHandled: Boolean)
begin
end;