ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

Codeunit Graph Mgt - Inc Doc Attachment

Open georgii01 opened this issue 7 years ago • 2 comments

Versions:

  • AL Langauge: 2.1.69331
  • Business Central: 13.2.26556.0 (SE)
  • Codeunit: 5509 Graph Mgt - Inc Doc Attachment
  • Procedure: UpdateRelatedDocument

LOCAL UpdateRelatedDocument(VAR IncomingDocumentAttachment : Record "Incoming Document Attachment") IF IncomingDocumentAttachment.ISTEMPORARY OR (NOT GraphMgtGeneralTools.IsApiEnabled) THEN EXIT;

IF NOT IncomingDocument.GET(IncomingDocumentAttachment."Incoming Document Entry No.") THEN EXIT;

IF NOT IncomingDocument.GetRecord(RelatedDocument) THEN EXIT;

RelatedRecRef := RelatedDocument; RelatedRecRef – rec reference RelatedDocument – variant

IF NOT RelatedRecRef.WRITEPERMISSION THEN BEGIN SENDTRACETAG('00006WH',AttachmentCategoryLbl,VERBOSITY::Error,NoPermissionErr,DATACLASSIFICATION::SystemMetadata); EXIT; END;

IF NOT IntegrationManagement.IsIntegrationRecord(RelatedRecRef.NUMBER) THEN EXIT;

RelatedRecRef.MODIFY(TRUE);`

Incoming Documents -> Incoming Document Files -> Attach File There is no possibility to add file.

Scenario: Incoming Documents -> Incoming Document Files -> Attach File The result: File not added, no error message.

georgii01 avatar Feb 07 '19 10:02 georgii01

Looks like bug 299273 - No file is added through Attach File action in the Incoming Document Files just registered for this story.

finn777 avatar Feb 11 '19 07:02 finn777

Correct. This issue is tracked through a bug. Also, this repo is for extensibility requests only, not gerneral bug reports.

JesperSchulz avatar Feb 13 '19 16:02 JesperSchulz