Skip to content

KVSMEDCreatePurchaseOrder#

Events#

OnBeforeSalesHeaderOnAfterGetRecord(Record Sales Header, Enum KVSMEDOrderType, Code[20], Code[20], Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeSalesHeaderOnAfterGetRecord(var SalesHeader: Record "Sales Header"; var OrderType: Enum "KVSMEDOrderType"; var OrderNo: Code[20]; var VendorNo: Code[20]; var SkipStandardCode: Boolean): 
[EventSubscriber(ObjectType::Report, Report::"KVSMEDCreatePurchaseOrder", 'OnBeforeSalesHeaderOnAfterGetRecord', '', false, false)]
local procedure DoSomethingOnBeforeSalesHeaderOnAfterGetRecord(var SalesHeader: Record "Sales Header"; var OrderType: Enum "KVSMEDOrderType"; var OrderNo: Code[20]; var VendorNo: Code[20]; var SkipStandardCode: Boolean)
begin
end;

OnAfterOnOpenPage(Enum KVSMEDOrderType, Code[20], Text, Integer, Boolean, Record Vendor) :#

[IntegrationEvent(false, false)]
local procedure OnAfterOnOpenPage(var KVSMEDOrderType: Enum "KVSMEDOrderType"; var VendorNo: Code[20]; var VendorName: Text; var VendorCount: Integer; var AllLines: Boolean; var TempVendor: Record "Vendor" temporary): 
[EventSubscriber(ObjectType::Report, Report::"KVSMEDCreatePurchaseOrder", 'OnAfterOnOpenPage', '', false, false)]
local procedure DoSomethingOnAfterOnOpenPage(var KVSMEDOrderType: Enum "KVSMEDOrderType"; var VendorNo: Code[20]; var VendorName: Text; var VendorCount: Integer; var AllLines: Boolean; var TempVendor: Record "Vendor" temporary)
begin
end;

Protected Variables#

G_AllLines#

Type: Boolean

G_OrderNo#

Type: Code[20]

G_VendorNo#

Type: Code[20]

G_KVSMEDOrderType#

Type: Enum (KVSMEDOrderType)

G_VendorCount#

Type: Integer

G_VendorName#

Type: Text