Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 950

Re: ExecuteFromDB Issue

$
0
0

Hi Sameer,

 

Thanks for sharing the provided information.

 

however, could you be so kind and clarify some question/doubts for me:

 

  • Could you please explain me what exactly do you mean with "Identification Node". If i'm correct, you refer to the node "Identification" on the business object Business Partner, correct?

 

  • If by "Not support of traversing to other nodes" you mean that it will not be possible access any other node on the business object, could you please be so kind and explain to me the utility/profit of this functionality? I dont see any utility on this functionality as (if i'm correct on my first point) it will only offer access to identification data such as "ID" or  "TypeCode" which are not maintainable by the user.

 

  • Now suppose the following case: I would like to overwrite ALL changes performed by the user on a business partner before the save take place. This is to prevent that certain user change/maintain certain contact information by means extern tools such as outlook. As the query will return an instance of the business object from DB level, will the following instruction take care of replacing/rollback all values:

               var result = BusinessPartnerIdentification.ExecuteFromDBDataOnly(params).

               var bp = result.getFirst();

               IF ( bp.isSet())

               {

                   this = bp;

               }

        

  • suppose that the previous approach doesnt work, is there any way on the event AfterModify or BeforeSave to Drop/discard all changes performed by the user without returing FALSE on event OnSave. Please take into consideration that OnSave = False will be interpretate by a external tool such as outlook that the tool should reprocess the contact (business partner) again. While my goal is to drop all changes + OnSave = True and the following synchronization should in theory get a fresh copy of the contact.

 

  • If i'm interpretate your respons correctly, the current query ExecuteFromDB, still doesn't work correctly for BusinessPartner (see post "ExecuteFromDB Issue: Buffer vs DB").

 

thanks in advance for all suggestion/tips/info that you can share with me.

 

kind regards,

 

Andres


Viewing all articles
Browse latest Browse all 950

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>