@ Override public CPAttachmentFileEntry fetchCPAttachmentFileEntryByReferenceCode ( long companyId , String externalReferenceCode ) { return cpAttachmentFileEntryPersistence . fetchByC_ERC ( companyId , null ) ; }
Returns the cp attachment file entry with the matching external reference code and company .