on 06-11-2016 7:22 AM
Hello MDG Guru's,
I have a requirement where I have custom entity in data model 0G with several attributes, I need to copy all the attributes data based on a value YES in one of the attribute.
The main primary SU type 1 attribute is char10 field and if I found YES in one of the custom attribute of this entity then exact replica of all the contents should be created with prefix A for main primary attribute char10. This should be saved in the same CR with another record created.
Please suggest and advise on how to proceed with this, helpful response will be highly rewarded.
Thanks,
Naveen
Hello Naveen
Can you please give more details? Give some example so that I can suggest the option...
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kiran,
My yentity is type1 entity storing some acc. id with 10 characters. This has several attributes, now when I go to single processing and create a line item with ABC123456 for this acc. id and my CR is created. Now when I go to fill other attributes value on single processing screen then based on yyattribute2 = YES I need to create another acid with value = XABC and if it is NO then no second record is required. Now this CR No. will have two records one with Acc Id = ABC123456 and second with Acc Id = XABC123456.
So basically I need to copy all the attributes data in second Acc. Id based on the value in yyattribute2.
I hope my requirement is clear to you know and you can please provide some idea and suggestion on this.
Thanks for your kind help.
Naveen
Hello Naveen
Technically you can copy the values from one attribute to other if you have a CR type with all the entity types from both objects.
One more option but I don't know whether it is useful in your case. Try to use Copy functionality. Create multiple dummy CR's and then when you want to create a new CR, use copy button and then create a new one with the default values available in old CR.
Kiran
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.