-
Use Docu Framework when posting journals
Issue:
- In flows like PR > PO and RFQCase > RFQ, attachments are copied using the standard Docu framework (
Docu::copyDocumentAttachments
), which includes an extensibility point via the OnCopy delegate. - However, during the Journal creation flow (
FormLetterJournalPost.Post()
), the attachment copy process follows a different path (copyDocuRefTable() → docuRefCopy() → docuRefCopyByRecId()
), which does not leverage the Docu framework and lacks extensibility.
Proposals:
- Rework the Journal posting code to use the Docu framework.
- Or introduce a delegate to the current Journal posting attachment copy flow to allow for customization.
- In flows like PR > PO and RFQCase > RFQ, attachments are copied using the standard Docu framework (