Skip to content

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 heasder
  • Unit: Unit of measure which should be shown in the report
  • PostingDate: Posting Date which should be shown in the report
  • YourRef: Reference which should be shown in the report