public Resolution guardar(String path) {
try {
connect();
AtrilSession oSes = getSession();
Dms oDms = oSes.getDms();
CustomerAccount cacc = new CustomerAccount(oDms, getSessionAttribute("customer_account_docid"));
oSes.commit();
cacc.put("name_billing",getName());
cacc.put("cif_billing",getCif());
cacc.put("phone_billing",getPhone());
cacc.put("mail_billing",getMail());
cacc.put("address_billing",getAddress());
cacc.put("postcode_billing",getPostcode());
cacc.put("city_billing",getCity());
cacc.put("state_billing",getState());
cacc.put("country_billing",getCountry());
cacc.save(oSes);
oSes.commit();
order = cacc.createOrder(oSes);
order.put("user_id", getSessionAttribute("user_docid"));
order.put("credits_bought", selectedProduct.getCredits());
//order.save(oSes);