I've got a store CurrentStore where I store data joined with a user right into a form. Once the user presses a "Sync With Server" button, I would like the information to become moved from the CurrentStore and right into a HistoryStore in addition to get pressed to some server. How do you start that??

The Shop:

App.stores.CurrentStore = new Ext.data.Store ({
model : 'ExpenseReport',
sorters: [{
    property: 'date',
    direction: 'DESC'
}],
autoLoad : true,
autoSave : true
});

The Model :

BReimb.models.Expense = Ext.regModel('Expense', {
fields : [
    { name : 'id', type : 'integer'},
    { name : 'categ', type : 'string'},
    { name : 'cost', type : 'auto'},
    { name : 'date', type : 'date'},
    { name : 'desc', type : 'string'},
    { name : 'paymeth', type : 'string'},
    { name : 'userlogged', type : 'string'},
    { name : 'synced', type : 'string', defaultValue: 'no'}
],
proxy : {
    type : 'localstorage',
    id : 'user-reimb'
}
});

I've got a simple button around the plugin by having an empty handler function by since I wish to use to Sync the shops and exterior server database. What must i do ??

make use of

 proxy:{
    type:'ajax',
    url:' your remot server url',
     reader: {
           type: 'json',
           root: 'results'
       }

 },

as well as your store be jsonStore