I have a Custom Field that I have added to the Order Contact, which is called Corp_DesignatedTeam##
I want to assign a value to this field, but because of the hash marks that I cannot define this as I would a standard field.
As I understood it, I needed to define a fake function and then rename the function doing something like the following:
Code: Select all
def Order_DesignatedTeam(args):
args.Value = 'Hello'
Order_DesignatedTeam.__name__ = 'Order_Corp_DesignatedTeam##_Value'
What am I doing wrong?
Thank you