AL icon indicating copy to clipboard operation
AL copied to clipboard

Codeunit Graph Mgt - Inc Doc Attachment

Open georgii01 opened this issue 7 years ago • 6 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);`

georgii01 avatar Jan 10 '19 15:01 georgii01

@georgii01 what is the issue? Could you please explain?

atoader avatar Jan 14 '19 08:01 atoader

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

georgii01 avatar Jan 16 '19 08:01 georgii01

Hi @georgii01, can you elaborate a bit more about the issue? What is the scenario you are trying to achieve, the result you expect and what is the current result? Is this an issue with with an existing page in the base app? If yes, which one is it?

qutreson avatar Feb 03 '19 12:02 qutreson

Hi @qutreson,

The scenario is very simple. I want to attach file: Incoming Documents -> Incoming Document Files -> Attach File The result: File not added, no error message. Yes, Incoming Documents is the base page/app.

georgii01 avatar Feb 06 '19 08:02 georgii01

Hi @georgii01, this looks like an application issue. This repository is no longer dedicated to handling application requests. Instead please log a new issue in the following repository: https://github.com/Microsoft/ALAppExtensions

qutreson avatar Feb 07 '19 09:02 qutreson

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 08 '19 05:02 finn777