Codeunit 5503 Graph Mgt - Attachment Buffer
src/Layers/W1/BaseApp/Integration/Graph/GraphMgtAttachmentBuffer.Codeunit.al59 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT
LoadDocumentAttachments line 61
TransferDocAttachmentToBuffer line 74, local
- 82callsCodeunit 419 File Management CreateFileNameWithExtension
- 86callsConvertDocumentTypeFromDocumentAttachment
- 90callsGetDocumentAttachmentDocumentId
- 91writesTable 5509 Attachment Entity Buffer Insert
- 95callsTable 1173 Document Attachment ExportToStream
- 96writesTable 5509 Attachment Entity Buffer Modify
- 99callsTable 1173 Document Attachment HasContent
- 100callsTable 1173 Document Attachment GetAsTempBlob
- 102callsCodeunit 4100 Temp Blob Length
- 103writesTable 5509 Attachment Entity Buffer Modify
GetDocumentAttachmentDocumentId line 107, local
- 126callsCodeunit 701 Data Type Management FindFieldByName
LoadAttachments line 547
- 555writesTable 5509 Attachment Entity Buffer DeleteAll
- 557callsIsLinkedAttachment
- 558callsLoadUnlinkedAttachmentsToBuffer
- 562callsFindParentDocument
- 563callsFindIncomingDocument
- 566callsIsGLEntry
- 567callsGetGLEntryNo
- 569callsGetDocumentId
- 571callsLoadLinkedAttachmentsToBuffer
- 578writesTable 5509 Attachment Entity Buffer Modify(true)
LoadAttachmentsWithDocumentType line 583
- 591writesTable 5509 Attachment Entity Buffer DeleteAll
- 593callsIsLinkedAttachment
- 594callsLoadUnlinkedAttachmentsToBuffer
- 598callsFindParentDocumentWithDocumentTypeSafe
- 602callsFindIncomingDocument
- 605callsGetDocumentId
- 607callsLoadLinkedAttachmentsToBuffer
- 611callsIsGLEntry
- 613writesTable 5509 Attachment Entity Buffer Modify(true)
LoadAttachmentsWithoutDocumentType line 618
- 624writesTable 5509 Attachment Entity Buffer DeleteAll
- 626callsLoadAttachmentsToBuffer
- 630callsIsGLEntry
- 632writesTable 5509 Attachment Entity Buffer Modify(true)
PropagateInsertAttachment line 637
- 641callsPropagateInsertLinkedAttachment
- 643callsThrowErrorIfAny
- 644callsPropagateInsertUnlinkedAttachment
PropagateInsertAttachmentSafe line 648
PropagateInsertAttachmentSafeWithDocumentType line 661
PropagateInsertAttachmentSafeWithoutDocumentType line 671
PropagateInsertLinkedAttachmentWithDocumentType line 680, local
- 696callsGetDocumentIdFilter
- 697callsGetDocumentTypeFilter
- 699callsIsLinkedAttachment
- 702callsFindParentDocumentWithDocumentTypeSafe
- 706callsVerifyCRUDIsPossibleSafe
- 710callsFindOrCreateIncomingDocument
- 714callsGetIncrement
- 716callsGetIncrement
- 726callsGetDocumentId
- 727callsTransferToIncomingDocumentAttachment
- 728callsFileNameToNameAndExtension
- 739writesTable 133 Incoming Document Attachment Insert(true)
- 742writesTable 133 Incoming Document Attachment Insert(true)
- 745callsFindUnlinkedAttachment
- 747writesTable 138 Unlinked Attachment Delete(true)
PropagateInsertAttachmentWithoutDocumentType line 761, local
- 770callsFileNameToNameAndExtension
- 772writesTable 130 Incoming Document Insert(true)
- 776callsGetIncrement
- 778callsGetIncrement
- 788callsTransferToIncomingDocumentAttachment
- 799writesTable 133 Incoming Document Attachment Insert(true)
- 802writesTable 133 Incoming Document Attachment Insert(true)
PropagateInsertUnlinkedAttachment line 810, local
- 819callsFindUnlinkedAttachment
- 822callsTransferToUnlinkedAttachment
- 825writesTable 138 Unlinked Attachment Insert(true)
- 828writesTable 138 Unlinked Attachment Insert(true)
- 833callsFindLinkedAttachment
- 836callsDeleteLinkedAttachment
PropagateInsertLinkedAttachment line 846, local
- 862callsGetDocumentIdFilter
- 863callsGetGLEntryNoFilter
- 864callsIsLinkedAttachment
- 864callsIsLinkedAttachment
- 868callsFindParentDocumentSafe
- 870callsFindParentDocumentSafe
- 874callsVerifyCRUDIsPossibleSafe
- 878callsFindOrCreateIncomingDocument
- 882callsGetIncrement
- 884callsGetIncrement
- 892callsGetDocumentId
- 893callsTransferToIncomingDocumentAttachment
- 894callsFileNameToNameAndExtension
- 904writesTable 133 Incoming Document Attachment Insert(true)
- 907writesTable 133 Incoming Document Attachment Insert(true)
- 910callsFindUnlinkedAttachment
- 912writesTable 138 Unlinked Attachment Delete(true)
PropagateModifyAttachment line 923
- 937callsFindUnlinkedAttachment
- 939callsTransferToUnlinkedAttachment
- 940writesTable 138 Unlinked Attachment Modify(true)
- 943callsLinkAttachmentToDocument
- 954callsTable 130 Incoming Document GetRecord
- 956callsVerifyCRUDIsPossible
- 957callsTransferToIncomingDocumentAttachment
- 958callsUnlinkAttachmentFromDocument
- 961callsGetDocumentIdFilter
- 962callsGetGLEntryNoFilter
- 964callsFindParentDocument
- 966callsFindParentDocument
- 967callsFindIncomingDocument
- 969callsVerifyCRUDIsPossible
- 970callsTransferToIncomingDocumentAttachment
- 971writesTable 133 Incoming Document Attachment Modify(true)
PropagateModifyAttachmentWithDocumentType line 979
- 994callsFindUnlinkedAttachment
- 996callsTransferToUnlinkedAttachment
- 997writesTable 138 Unlinked Attachment Modify(true)
- 1000callsLinkAttachmentToDocumentWithDocumentType
- 1012callsTable 130 Incoming Document GetRecord
- 1014callsVerifyCRUDIsPossible
- 1015callsTransferToIncomingDocumentAttachment
- 1016callsUnlinkAttachmentFromDocument
- 1019callsGetDocumentIdFilter
- 1020callsGetDocumentTypeFilter
- 1022callsFindParentDocumentWithDocumentTypeSafe
- 1026callsFindIncomingDocument
- 1028callsVerifyCRUDIsPossible
- 1029callsTransferToIncomingDocumentAttachment
- 1030writesTable 133 Incoming Document Attachment Modify(true)
PropagateModifyAttachmentWithoutDocumentType line 1038
- 1047callsTransferToIncomingDocumentAttachment
- 1048writesTable 133 Incoming Document Attachment Modify(true)
PropagateDeleteAttachment line 1051
- 1063writesTable 1173 Document Attachment Delete(true)
- 1067callsFindUnlinkedAttachment
- 1068writesTable 138 Unlinked Attachment Delete(true)
- 1075callsGetDocumentIdFilter
- 1076callsGetGLEntryNoFilter
- 1079callsFindParentDocument
- 1081callsFindParentDocument
- 1082callsFindIncomingDocument
- 1084callsVerifyCRUDIsPossible
- 1087callsDeleteLinkedAttachment
PropagateDeleteAttachmentWithDocumentType line 1090
- 1103writesTable 1173 Document Attachment Delete(true)
- 1107callsFindUnlinkedAttachment
- 1108writesTable 138 Unlinked Attachment Delete(true)
- 1116callsGetDocumentIdFilter
- 1117callsGetDocumentTypeFilter
- 1118callsFindParentDocumentWithDocumentTypeSafe
- 1122callsFindIncomingDocument
- 1125callsVerifyCRUDIsPossible
- 1126callsDeleteLinkedAttachment
PropagateDeleteAttachmentWithoutDocumentType line 1129
- 1138writesTable 1173 Document Attachment Delete(true)
- 1142callsFindUnlinkedAttachment
- 1143writesTable 138 Unlinked Attachment Delete(true)
- 1153callsDeleteLinkedAttachment
DeleteLinkedAttachment line 1156
- 1168writesTable 133 Incoming Document Attachment Delete(true)
- 1172writesTable 133 Incoming Document Attachment Modify
- 1173writesTable 133 Incoming Document Attachment Delete(true)
- 1177validatesTable 133 Incoming Document Attachment Default
- 1178validatesTable 133 Incoming Document Attachment Main Attachment
- 1179writesTable 133 Incoming Document Attachment Modify(true)
- 1197writesTable 130 Incoming Document Modify(true)
- 1200writesTable 130 Incoming Document Delete(true)
UpdateAttachments line 1204
DeleteUnusedAttachments line 1210, local
InsertFromTempAttachmentEntityBufferToDocumentAttachment line 1219
- 1225callsHasRegisteredField
- 1226validatesTable 1173 Document Attachment Line No.
- 1228callsHasRegisteredField
- 1229validatesTable 1173 Document Attachment File Extension
- 1229callsCodeunit 419 File Management GetExtension
- 1230validatesTable 1173 Document Attachment File Name
- 1230callsCodeunit 419 File Management GetFileNameWithoutExtension
- 1233callsConvertDocumentTypeToDocumentAttachment
- 1234callsSetDocumentAttachmentNo
- 1236callsHasRegisteredField
- 1237validatesTable 1173 Document Attachment Document Flow Sales
- 1239callsHasRegisteredField
- 1240validatesTable 1173 Document Attachment Document Flow Purchase
- 1242writesTable 1173 Document Attachment Insert
ModifyFromTempAttachmentEntityBufferToDocumentAttachment line 1245
- 1253callsHasRegisteredField
- 1254callsConvertDocumentTypeToDocumentAttachment
- 1258callsHasRegisteredField
- 1259callsSetDocumentAttachmentNo
- 1263callsHasRegisteredField
- 1269writesTable 1173 Document Attachment Rename
- 1273callsHasRegisteredField
- 1274validatesTable 1173 Document Attachment Document Flow Sales
- 1278callsHasRegisteredField
- 1279validatesTable 1173 Document Attachment Document Flow Purchase
- 1283callsHasRegisteredField
- 1284validatesTable 1173 Document Attachment File Extension
- 1284callsCodeunit 419 File Management GetExtension
- 1285validatesTable 1173 Document Attachment File Name
- 1285callsCodeunit 419 File Management GetFileNameWithoutExtension
- 1290writesTable 1173 Document Attachment Modify(true)
SetDocumentAttachmentNo line 1293
- 1337callsCodeunit 701 Data Type Management FindFieldByName
LinkNewAttachmentsToDocument line 1342, local
- 1355callsFindUnlinkedAttachment
- 1359callsLinkAttachmentToDocument
- 1361callsFindLinkedAttachment
- 1365writesTable 5509 Attachment Entity Buffer Modify(true)
- 1366callsCopyAttachment
- 1368callsNameAndExtensionToFileName
- 1370callsLinkAttachmentToDocument
- 1373callsCopyAttachment
- 1376callsLinkAttachmentToDocument
- 1381callsFindLinkedAttachment
- 1382callsFileNameToNameAndExtension
- 1383writesTable 133 Incoming Document Attachment Modify(true)
LinkAttachmentToDocument line 1388, local
LinkAttachmentToDocumentWithDocumentType line 1406, local
UnlinkAttachmentFromDocument line 1425, local
- 1430callsTransferFromIncomingDocumentAttachment
- 1431callsRegisterFieldSet
- 1432callsRegisterFieldSet
- 1433callsRegisterFieldSet
- 1434callsPropagateInsertUnlinkedAttachment
CopyAttachment line 1437
- 1441writesTable 138 Unlinked Attachment Insert(true)
RegisterFieldSet line 1444
- 1456writesTable 8450 Field Buffer Insert
GetDocumentId line 1667, local
- 1683callsCodeunit 5477 Sales Invoice Aggregator GetSalesInvoiceHeaderId
- 1688callsCodeunit 5508 Graph Mgt - Sal. Cr. Memo Buf. GetSalesCrMemoHeaderId
- 1693callsCodeunit 5529 Purch. Inv. Aggregator GetPurchaseInvoiceHeaderId
- 1703callsCodeunit 5511 Graph Mgt - Purch. Cr. Memo GetPurchaseCrMemoHeaderId
GetGLEntryNo line 1711, local
- 1718callsCodeunit 701 Data Type Management FindFieldByName
GetDocumentIdFromAttachmentId line 1723
- 1736callsTable 130 Incoming Document GetRecord
- 1741callsGetDocumentId
VerifyCRUDIsPossibleSafe line 1802, local
- 1822callsGetDocumentId
- 1824callsIsGeneralJournalLine
- 1833callsIsGLEntry
- 1836callsIsGLEntry
- 1844callsIsSalesInvoice
- 1856callsIsPurchaseInvoice
- 1868callsIsSalesQuote
- 1880callsIsSalesOrder
- 1892callsIsSalesCreditMemo
- 1904callsIsPurchaseOrder
- 1916callsIsPurchaseCreditMemo
VerifyCRUDIsPossible line 1931, local
- 1935callsVerifyCRUDIsPossibleSafe
- 1936callsThrowErrorIfAny
FindParentDocumentSafe line 1950, local
- 1971callsCodeunit 10 Type Helper Evaluate
- 1991callsCodeunit 5477 Sales Invoice Aggregator GetSalesInvoiceHeaderFromId
- 2002callsCodeunit 5529 Purch. Inv. Aggregator GetPurchaseInvoiceHeaderFromId
FindParentDocument line 2010, local
- 2014callsFindParentDocumentSafe
- 2015callsThrowErrorIfAny
FindParentDocumentWithDocumentTypeSafe line 2018, local
- 2083callsCodeunit 5477 Sales Invoice Aggregator GetSalesInvoiceHeaderFromId
- 2095callsCodeunit 5508 Graph Mgt - Sal. Cr. Memo Buf. GetSalesCrMemoHeaderFromId
- 2107callsCodeunit 5529 Purch. Inv. Aggregator GetPurchaseInvoiceHeaderFromId
- 2125callsCodeunit 5511 Graph Mgt - Purch. Cr. Memo GetPurchaseCrMemoHeaderFromId
FindIncomingDocument line 2251, local
- 2253callsIsPostedDocument
- 2253callsIsGLEntry
- 2254callsTable 130 Incoming Document FindByDocumentNoAndPostingDate
- 2255callsTable 130 Incoming Document FindFromIncomingDocumentEntryNo
FindOrCreateIncomingDocument line 2258, local
- 2269callsFindIncomingDocument
- 2275callsIsSalesInvoice
- 2275callsIsPostedDocument
- 2284writesTable 130 Incoming Document Insert(true)
- 2288callsIsGeneralJournalLine
- 2292writesTable 130 Incoming Document Insert(true)
- 2294writesTable 81 Gen. Journal Line Modify
- 2299callsIsGLEntry
- 2306writesTable 130 Incoming Document Insert(true)
- 2318writesTable 130 Incoming Document Insert(true)
- 2320writesTable 36 Sales Header Modify
- 2324callsIsPurchaseInvoice
- 2324callsIsPostedDocument
- 2333writesTable 130 Incoming Document Insert(true)
- 2345writesTable 130 Incoming Document Insert(true)
- 2347writesTable 38 Purchase Header Modify
- 2351callsIsSalesCreditMemo
- 2351callsIsPostedDocument
- 2360writesTable 130 Incoming Document Insert(true)
- 2364callsIsPurchaseCreditMemo
- 2364callsIsPostedDocument
- 2373writesTable 130 Incoming Document Insert(true)
LoadLinkedAttachmentsToBuffer line 2378, local
- 2395callsTransferFromIncomingDocumentAttachment
- 2398callsCodeunit 4100 Temp Blob FromRecord
- 2399callsGetContentLength
- 2400writesTable 5509 Attachment Entity Buffer Modify(true)
LoadAttachmentsToBuffer line 2404, local
- 2420callsAttachmentLoadUpperLimit
- 2421callsAttachmentLoadUpperLimit
- 2425callsTransferFromIncomingDocumentAttachment
- 2429callsCodeunit 4100 Temp Blob FromRecord
- 2430callsGetContentLength
- 2431writesTable 5509 Attachment Entity Buffer Modify(true)
LoadUnlinkedAttachmentsToBuffer line 2440, local
- 2457callsTransferFromUnlinkedAttachment
- 2460callsCodeunit 4100 Temp Blob FromRecord
- 2461callsGetContentLength
- 2462writesTable 5509 Attachment Entity Buffer Modify(true)
TransferToIncomingDocumentAttachment line 2466, local
- 2476callsCodeunit 4100 Temp Blob FromRecord
- 2477callsGetContentLength
- 2482callsFileNameToNameAndExtension
- 2484callsCodeunit 10 Type Helper TransferFieldsWithValidate
- 2487validatesTable 133 Incoming Document Attachment Name
- 2488validatesTable 133 Incoming Document Attachment File Extension
TransferToUnlinkedAttachment line 2492, local
- 2500callsCodeunit 10 Type Helper TransferFieldsWithValidate
TransferFromIncomingDocumentAttachment line 2504
- 2509callsNameAndExtensionToFileName
- 2511callsTransferDocumentTypeFromIncomingDocument
- 2512writesTable 5509 Attachment Entity Buffer Insert(true)
TransferFromIncomingDocumentAttachment line 2515, local
- 2521callsNameAndExtensionToFileName
- 2523callsTransferDocumentTypeFromIncomingDocument
- 2524writesTable 5509 Attachment Entity Buffer Insert(true)
TransferFromUnlinkedAttachment line 2527
- 2533writesTable 5509 Attachment Entity Buffer Insert(true)
GetContentLength line 2537
- 2541callsCodeunit 4100 Temp Blob HasValue
- 2543callsCodeunit 4100 Temp Blob CreateInStream
FileNameToNameAndExtension line 2566, local
- 2570callsCodeunit 419 File Management GetExtension
- 2571callsCodeunit 419 File Management GetFileNameWithoutExtension