Community

Copy value in another field which is editable Answered

Hi,

I want to copy value of one field to another field. I can do it by "merge" command but then it becomes non editable.

What can be the best way to copy value in another field and make it editable?

Thanks in advance.

Was this article helpful?

0 out of 0 found this helpful

Comments

7 comments

  • Avatar

    Hi,

    You should then create rule script and add the value from the code directly, for example:

    Context.Field("DestinationField").Text = Context.Field("SourceField").Text;

    You also have to add condition to execute this rule only if the DestinationField is empty. 

    Best regards,
    Vladimir

    1
  • Avatar
    Sara

    Thanks Vladimir. It worked..!!!

    But sometimes for another group i get an error message " A  group can change only child fields of that group". What can be this? 

    0
  • Avatar
    Sandeep Yerramsetti

    Hi,

    I am getting the same error. How did you solve it? (A  group can change only child fields of that group)

    I have 2 fields and based on a few conditions I've to copy from Field 1 to Field 2.

    1. Order number in Purchase order group 

    2. Field 2

    _____

    if I write my script in the Order number, I'm getting this error.

    if I write in Field2, I can't read the order number.

    0
  • Avatar
    Sara

     Hi Sandeep,

    Still i couldn't resolve this.Looking for solution.

    0
  • Avatar
    NAGESHWAR PORLA

    Hi Team,

    Could you please help how to resolve above issue.

    I am getting same issue Unable to set the value from one group value to another group.

    If any solution please send me to omshivanagesh@gmail.com

    0
  • Avatar
    NAGESHWAR PORLA

    Hi Rahul Kapoor,

    Good Morning.

    I am new in ABBYY .

    Please help me on below requirements.

    There is a Vendor Level --> PO Level -->Invoice Level.

    Payment Terms Filed exists in all Stages I mean it will be available in VENDOR,PO and Invoice Level.

    My requirement is we need to get PAYMENT TERM Value from Vendor (If there is no PO DATA)and assign the value to Invoice level MEANWHILE Users can able to edit the payment term field in INVOICE Level if users wants to change with different value.

    If PO DATA Available we need to copy the PO Payment Term value to Invoice Level.

    Could you please help me out.

     

    Thanks and Regards,

    Nageshwar Reddy Porla.

    0
  • Avatar
    NAGESHWAR PORLA

    Hi Rahul Kapoor,

    Good Morning.

    I am new in ABBYY .

    Please help me on below requirements.

    There is a Vendor Level --> PO Level -->Invoice Level.

    Payment Terms Filed exists in all Stages I mean it will be available in VENDOR,PO and Invoice Level.

    My requirement is we need to get PAYMENT TERM Value from Vendor (If there is no PO DATA)and assign the value to Invoice level MEANWHILE Users can able to edit the payment term field in INVOICE Level if users wants to change with different value.

    If PO DATA Available we need to copy the PO Payment Term value to Invoice Level.

    Could you please help me out.

     

    Thanks and Regards,

    Nageshwar Reddy Porla.

    0

Please sign in to leave a comment.