Page 1 of 1

Invoice "Recent"

PostPosted: Wed Aug 24, 2011 3:58 pm
by DPmax
On the Recent tab in the Invoice sidebar the invoice is displayed as Invoice ID and Contact, I'd like to change Contact to Project. This seems to be done via a calculation that originates from the Recent script. I'm having a hard time digging out where this is set, any help would be appreciated.

If this change would also impact other "Recent" sections of SCC I'm fine with that, this version is more Project focused rather than Contact.

Thanks

Re: Invoice "Recent"

PostPosted: Wed Aug 24, 2011 6:20 pm
by John Sindelar
In the script "Recent", find the comment "How to I describe / name this record?". Two Set Variable lines follow it. Edit the second one and you'll see the contact's name as:

GetFieldName ( Invoices::ContactName )

Switch that to...

GetFieldName ( Invoices::ProjectName )

... and you're all set. (Good question.)