I’m looking to add a custom field to the ‘Customer Invoices’ view that returns the number of attachments of a certain Document Class.
Does anyone know if there is an existing Function I could adapt to retrieve this, please?
Apps9 (moving to Cloud soon...)

Many thanks!