KVSQME - Inspection Order#
Events#
SetDocumentReference(Record KVSQME - Insp. Order Header, Code[10], Date, Text[120]) :#
Summary: This event allows to set information about unit of measure, posting date and reference in case that the source document is not a purchase receipt or a return receipt
[IntegrationEvent(false, false)]
local procedure SetDocumentReference(InspectOrderHeader: Record "KVSQME - Insp. Order Header"; var Unit: Code[10]; var PostingDate: Date; var YourRef: Text[120]):
[EventSubscriber(ObjectType::Report, Report::"KVSQME - Inspection Order", 'SetDocumentReference', '', false, false)]
local procedure DoSomethingSetDocumentReference(InspectOrderHeader: Record "KVSQME - Insp. Order Header"; var Unit: Code[10]; var PostingDate: Date; var YourRef: Text[120])
begin
end;
Parameters:
InspectOrderHeader
: Current record of inspection oder heasderUnit
: Unit of measure which should be shown in the reportPostingDate
: Posting Date which should be shown in the reportYourRef
: Reference which should be shown in the report