Skip to Content

Does store.flush update the local created entity

Hi Experts,

Can store.flush updates the local created entity with the key? I don't see that store.refresh refreshes the with new entries (if exists) in the backend, but I want my locally created entry need to be updated as my the local record will have temporary key assigned(within the program) where as when it sent to backend new number(key) will be generated.

Is there a way to update the local created record? or delete from the local record if flush was successful.



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Oct 30, 2015 at 08:41 AM

    Hi Narasimha,

    Could you explain in detail what you are trying to do and what is your requirement.

    I don't understand what you mean by temporary key.

    Regards, Midhun

    SAP Technology RIG

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.