Pending Operation

You can manage the pending state.

Note: Use the SubmitPendingOperations and CancelPendingOperations methods only when there are multiple pending entities on the same MBO type. Otherwise, use the MBO instance’s SubmitPending or CancelPending methods, which are more efficient if the MBO instance is already available in memory.
SampleAppCustomer *customer = [SUP101Customer find:101]; 
//Make some changes to the customer record.
//Save the changes

//If the user  wishes to cancel the changes, a call to cancel pending will revert to the old values.

[customer cancelPending]; 

// The user can submit the changes to the server as follows:
[customer submitPending];