{"title":"Codeunit 5450 Sales Invoice PDF Doc.Handler, procedures","url":"https://jonas-paprotka.de/ref/codeunit/5450-sales-invoice-pdf-doc-handler/procedures/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"codeunit","id":5450,"name":"Sales Invoice PDF Doc.Handler","app":"Base Application","versions":"17-20, 28-29","url":"https://jonas-paprotka.de/ref/codeunit/5450-sales-invoice-pdf-doc-handler/","json":"https://jonas-paprotka.de/ref/codeunit/5450-sales-invoice-pdf-doc-handler.json"},"aspect":"procedures","total":12,"rows":[{"name":"AddOrUpdateGraphSubscription","sig":"(var Boolean, Boolean, var Record Webhook Subscription, Text[250])","named":"(var FirstTimeSync: Boolean; WebhookExists: Boolean; var WebhookSubscription: Record \"Webhook Subscription\"; EntityEndpoint: Text[250])","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-20","first":17,"last":20,"obsoleteSince":null,"spans":[{"from":17,"to":20,"named":"(var FirstTimeSync: Boolean; WebhookExists: Boolean; var WebhookSubscription: Record \"Webhook Subscription\"; EntityEndpoint: Text[250])","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"CleanExistingWebhookSubscription","sig":"(Text[250], Text[30])","named":"(ResourceUrl: Text[250]; CompName: Text[30])","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-20","first":17,"last":20,"obsoleteSince":null,"spans":[{"from":17,"to":20,"named":"(ResourceUrl: Text[250]; CompName: Text[30])","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"GetDestinationRecordRef","sig":"(var RecordRef, Record Webhook Notification, Integer)","named":"(var NAVRecordRef: RecordRef; WebhookNotification: Record \"Webhook Notification\"; TableID: Integer)","returns":"Boolean","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"This function will be removed, Graph Integration Record is not supported any more.","tag":"18.0"},"range":"17-20","first":17,"last":20,"obsoleteSince":18,"spans":[{"from":17,"to":17,"named":"(var NAVRecordRef: RecordRef; WebhookNotification: Record \"Webhook Notification\"; TableID: Integer)","returns":"Boolean","kind":"procedure","access":"public","obsolete":null},{"from":18,"to":20,"named":"(var NAVRecordRef: RecordRef; WebhookNotification: Record \"Webhook Notification\"; TableID: Integer)","returns":"Boolean","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"This function will be removed, Graph Integration Record is not supported any more.","tag":"18.0"}}]},{"name":"GetGraphSubscriptionType","sig":"()","named":"()","returns":"Text[250]","kind":"procedure","access":"public","obsolete":null,"range":"17-20","first":17,"last":20,"obsoleteSince":null,"spans":[{"from":17,"to":20,"named":"()","returns":"Text[250]","kind":"procedure","access":"public","obsolete":null}]},{"name":"GetGraphSubscriptionCreatedChangeType","sig":"()","named":"()","returns":"Text[50]","kind":"procedure","access":"public","obsolete":null,"range":"17-20","first":17,"last":20,"obsoleteSince":null,"spans":[{"from":17,"to":20,"named":"()","returns":"Text[50]","kind":"procedure","access":"public","obsolete":null}]},{"name":"GetMaximumExpirationDateTimeOffset","sig":"()","named":"()","returns":"Integer","kind":"procedure","access":"public","obsolete":null,"range":"17-20","first":17,"last":20,"obsoleteSince":null,"spans":[{"from":17,"to":20,"named":"()","returns":"Integer","kind":"procedure","access":"public","obsolete":null}]},{"name":"GetSourceRecordRef","sig":"(var RecordRef, Record Webhook Notification, Integer)","named":"(var GraphRecordRef: RecordRef; WebhookNotification: Record \"Webhook Notification\"; IntegrationTableID: Integer)","returns":"Boolean","kind":"procedure","access":"public","obsolete":null,"range":"17-20","first":17,"last":20,"obsoleteSince":null,"spans":[{"from":17,"to":20,"named":"(var GraphRecordRef: RecordRef; WebhookNotification: Record \"Webhook Notification\"; IntegrationTableID: Integer)","returns":"Boolean","kind":"procedure","access":"public","obsolete":null}]},{"name":"TraceCategory","sig":"()","named":"()","returns":"Text","kind":"procedure","access":"public","obsolete":null,"range":"17-20","first":17,"last":20,"obsoleteSince":null,"spans":[{"from":17,"to":20,"named":"()","returns":"Text","kind":"procedure","access":"public","obsolete":null}]},{"name":"UpdateGraphOnAfterDelete","sig":"(var RecordRef)","named":"(var EntityRecordRef: RecordRef)","returns":"","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"This function will be removed, Graph Integration Record is not supported any more.","tag":"18.0"},"range":"17-20","first":17,"last":20,"obsoleteSince":18,"spans":[{"from":17,"to":17,"named":"(var EntityRecordRef: RecordRef)","returns":"","kind":"procedure","access":"public","obsolete":null},{"from":18,"to":20,"named":"(var EntityRecordRef: RecordRef)","returns":"","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"This function will be removed, Graph Integration Record is not supported any more.","tag":"18.0"}}]},{"name":"UpdateGraphOnAfterInsert","sig":"(var RecordRef)","named":"(var EntityRecordRef: RecordRef)","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-20","first":17,"last":20,"obsoleteSince":null,"spans":[{"from":17,"to":20,"named":"(var EntityRecordRef: RecordRef)","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"UpdateGraphOnAfterModify","sig":"(var RecordRef)","named":"(var EntityRecordRef: RecordRef)","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-20","first":17,"last":20,"obsoleteSince":null,"spans":[{"from":17,"to":20,"named":"(var EntityRecordRef: RecordRef)","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"GeneratePdfBlobWithDocumentType","sig":"(Guid, Enum Attachment Entity Buffer Document Type, var Record Attachment Entity Buffer)","named":"(DocumentId: Guid; DocumentType: Enum \"Attachment Entity Buffer Document Type\"; var TempAttachmentEntityBuffer: Record \"Attachment Entity Buffer\" temporary)","returns":"Boolean","kind":"procedure","access":"public","obsolete":null,"range":"28-29","first":28,"last":29,"obsoleteSince":null,"spans":[{"from":28,"to":29,"named":"(DocumentId: Guid; DocumentType: Enum \"Attachment Entity Buffer Document Type\"; var TempAttachmentEntityBuffer: Record \"Attachment Entity Buffer\" temporary)","returns":"Boolean","kind":"procedure","access":"public","obsolete":null}]}]}