Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Nguyen Hien 52 posts 133 karma points
    Jan 27, 2016 @ 21:56
    Nguyen Hien
    0

    Cache after save method

    MerchelloContext.Services.InvoiceService.Save(invoice);

            invoice = MerchelloContext.Services.InvoiceService.GetByInvoiceNumber(invoice.InvoiceNumber);
    

    After this call, invoice still keep logged customer key. But in other page, I recall method:

    invoice = MerchelloContext.Services.InvoiceService.GetByInvoiceNumber(invoice.InvoiceNumber);

    It get with set customer key ( difference key)

    How can I get invoice with new customer key immediate?

Please Sign in or register to post replies

Write your reply to:

Draft