'Represent for the Goods Received Note
if show_link is True then it will generate a link to the pdf'

@staticmethod
def inv_recv_ref_represent(value, show_link=True):

    if value:
        if show_link:
            db = current.db
            table = db.inv_recv
            recv_row = db((table.recv_ref == value)).select(table.id, limitby=(0, 1)).first()
            return A(value, _href=URL(c='inv', f='recv', args=[recv_row.id, 'form']))
        else:
            return B(value)
    else:
        return current.messages['NONE']
