Skip to content

KVSMEDDocumentAttributesDoc#

Fields#

Name Type Note
Document Type Option OptionMembers: Sales/Purch. Quote,Sales/Purch. Order,Sales/Purch. Invoice,Sales/Purch. Credit Memo,Sales/Purch. Blanket Order,Return Order
Document No. Code[20]
Document No. 2 Code[20]
Document No. 3 Code[20]
Document Attribute Code Code[10]
Table ID Integer
Description Text[50] FlowField
Printed Boolean
Reason eliminated Boolean
Print Control Option OptionMembers: ,Print Receipt,Print Purch.Order,Print Presc.CostEstimate,Print Shipment,Print Invoice,Print PO
Creation Date Date
Creation User Code[50]
Printed Date Date
Printed User Code[50]
External Contact No. Code[20]
External Contact Name Text[100] FlowField
Comment Text[50]
No. To Call Integer
No. Called Integer
Filter Date Date
Print per Quantity Boolean
Document Line No. Integer
FromItem Boolean
FromSerialNo Boolean
Document Attribute Complete Boolean
DMS Barcode Text[250]
DMS Field Mapping ID Integer
Archiving Type Option OptionMembers: On scanning answer,If marked as complete,On printing,On importing as PDF

Events#

OnArchiveDocumentAttribute(Record KVSMEDDocumentAttributesDoc, Record KVSMEDPDFQueue) :#

[IntegrationEvent(false, false)]
local procedure OnArchiveDocumentAttribute(var Rec: Record "KVSMEDDocumentAttributesDoc"; var PDFQueue: Record "KVSMEDPDFQueue"): 
[EventSubscriber(ObjectType::Table, Table::"KVSMEDDocumentAttributesDoc", 'OnArchiveDocumentAttribute', '', false, false)]
local procedure DoSomethingOnArchiveDocumentAttribute(var Rec: Record "KVSMEDDocumentAttributesDoc"; var PDFQueue: Record "KVSMEDPDFQueue")
begin
end;

OnBeforeCreatePDF(Record KVSMEDDocumentAttributesDoc, Enum KVSMEDCreatePDFWorkingType, Text[1024], Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCreatePDF(var Rec: Record "KVSMEDDocumentAttributesDoc"; WorkingTypPar: Enum "KVSMEDCreatePDFWorkingType"; CreationPathSilentPar: Text[1024]; var Handled: Boolean): 
[EventSubscriber(ObjectType::Table, Table::"KVSMEDDocumentAttributesDoc", 'OnBeforeCreatePDF', '', false, false)]
local procedure DoSomethingOnBeforeCreatePDF(var Rec: Record "KVSMEDDocumentAttributesDoc"; WorkingTypPar: Enum "KVSMEDCreatePDFWorkingType"; CreationPathSilentPar: Text[1024]; var Handled: Boolean)
begin
end;

OnBeforeCreatePdfTempBlob(Record KVSMEDDocumentAttributesDoc, Record KVSMEDPDFQueue, Codeunit Temp Blob, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCreatePdfTempBlob(var Rec: Record "KVSMEDDocumentAttributesDoc"; var PDFQueue: Record "KVSMEDPDFQueue"; var ResultTempBlobCodeunit: Codeunit "Temp Blob"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Table, Table::"KVSMEDDocumentAttributesDoc", 'OnBeforeCreatePdfTempBlob', '', false, false)]
local procedure DoSomethingOnBeforeCreatePdfTempBlob(var Rec: Record "KVSMEDDocumentAttributesDoc"; var PDFQueue: Record "KVSMEDPDFQueue"; var ResultTempBlobCodeunit: Codeunit "Temp Blob"; var IsHandled: Boolean)
begin
end;

OnBeforeOpenPDF(Record KVSMEDDocumentAttributesDoc, Record KVSMEDPDFQueue, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeOpenPDF(var Rec: Record "KVSMEDDocumentAttributesDoc"; var PDFQueueVar: Record "KVSMEDPDFQueue"; var Handled: Boolean): 
[EventSubscriber(ObjectType::Table, Table::"KVSMEDDocumentAttributesDoc", 'OnBeforeOpenPDF', '', false, false)]
local procedure DoSomethingOnBeforeOpenPDF(var Rec: Record "KVSMEDDocumentAttributesDoc"; var PDFQueueVar: Record "KVSMEDPDFQueue"; var Handled: Boolean)
begin
end;

OnBeforeLookUpDocumentNo(Record KVSMEDDocumentAttributesDoc, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeLookUpDocumentNo(var Rec: Record "KVSMEDDocumentAttributesDoc"; var Handled: Boolean): 
[EventSubscriber(ObjectType::Table, Table::"KVSMEDDocumentAttributesDoc", 'OnBeforeLookUpDocumentNo', '', false, false)]
local procedure DoSomethingOnBeforeLookUpDocumentNo(var Rec: Record "KVSMEDDocumentAttributesDoc"; var Handled: Boolean)
begin
end;

OnOpenPDFOnBeforeBlobExport(Codeunit Temp Blob, Text, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnOpenPDFOnBeforeBlobExport(var OutboundTempBlobLoc: Codeunit "Temp Blob"; FileNameLoc: Text; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Table, Table::"KVSMEDDocumentAttributesDoc", 'OnOpenPDFOnBeforeBlobExport', '', false, false)]
local procedure DoSomethingOnOpenPDFOnBeforeBlobExport(var OutboundTempBlobLoc: Codeunit "Temp Blob"; FileNameLoc: Text; var IsHandled: Boolean)
begin
end;