on 04-02-2013 8:57 AM
Hello Experts,
I have created BuilHeader Entity as root and I am trying to create BuilStandardAddress by using create_releted_entity method.
I am Getting the instance for BuilStandardAddress but I am not getting the Address Guid corresponding to it. So , when I call Save it is not getting saved.
While creating relared entity I am passing Relationship name and child entity name . Do I need to explicitly create the Address guid or am making any mistake? Can any one please suggest the solution.
Thanks In Advance.
Regards,
Santosh
Hi santhosh,
Is you problem only in UI or does it happen in Genil_bol_browser as well? You need to call Modify for the Related Entities, and while saving do call Commit() for that transaction after calling save().
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I think GUID would be created through assigned class for that related object; what I see is in post you are only saving the transaction, please call 'commit' method to save in database.
Thanks
Krish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The process is like this
a) When you create an entity, it is first available in the BOL layer.
b) To push the changes to GENIL , you have to use the CL_CRM_BOL_CORE=>MODIFY( ).
c) To persist the changes , you have to call Transaction handler , Save. The changes which are in the genil buffers ( as in step b) are then persisted.
Test the same in GENIL_BOL_BROWSER and put the breakpoints in the CREATE , MODIFY , SAVE methods in the GENIL.
Regards,
Kavindra
Hello, Santosh.
Address guid will be assigned during the save process. What do you mean under 'when I call Save'? How do you call this?
Please check also the process of creation through BOLs using tx. GENIL_BOL_BROWSER. There you can create root entity BuilHeader (give BP component on the first screen then choose New Root Object and give BP_CATEGORY at least). After you entered some information for BuilHeader press Children button and then find and click BuilStandardAddressRel. Then press Insert Entity button. As you'll see there is no guid for address yet. Enter at lest COUNTRY and then press Save All at the top row of buttons. After this the guid will be assigned.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
3 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.