Hi, I am trying to add attachment to invoice journal using OData. As I understand, the table for this corresponds to LedgerJournalAttachmentsEntity. The problem is that I see it doesn't have PublicEntityName and PublicCollectionName, and DataServiceEnabled is set to false:
Have a look at the CustomerAttachmentsV2Entity entity, it is uses the DocuRefEntity to attach files/documents. It's sole purpose is to attach files/documents. I would create a new data entity using the same technique as the CustomerAttachmentsV2Entity entity for the journal. Then there is no copying of standard code and tables etc.
Hi, IsPublic, Public Collection Name, Public Entity Name properties of data entity can not be changed in data entity extension. The only way is to duplicate the entity, rename entity and staging table, create view and maintain security privileges for new data entity and change those properties.
André Arnaud de Cal...
291,965
Super User 2025 Season 1
Martin Dráb
230,836
Most Valuable Professional
nmaenpaa
101,156