{"id":1302,"date":"2021-05-05T14:39:48","date_gmt":"2021-05-05T12:39:48","guid":{"rendered":"https:\/\/simplygest.es\/blogtecnico\/?p=1302"},"modified":"2021-05-05T14:39:50","modified_gmt":"2021-05-05T12:39:50","slug":"si-abro-un-documento-venta-compra-desde-el-historial-aparecen-articulos-que-no-he-vendido-en-ese-documento","status":"publish","type":"post","link":"https:\/\/simplygest.es\/blogtecnico\/si-abro-un-documento-venta-compra-desde-el-historial-aparecen-articulos-que-no-he-vendido-en-ese-documento\/","title":{"rendered":"Si abro un documento (venta, compra&#8230;) desde el historial, aparecen art\u00edculos que no he vendido en ese documento"},"content":{"rendered":"\n<p>El historial de SimplyGest est\u00e1 formado por varias tablas: El hist\u00f3rico de documentos (MOVIM) y el contenido de cada documento (HISTOVEN, HISTOCOM, etc\u2026).<br><br>Este error s\u00f3lo ocurre cuando, por alguna raz\u00f3n, el MOVIM tiene facturas del a\u00f1o actual PERO el HISTOVEN tiene facturas a\u00fan de otros a\u00f1os. Bien porque no se eliminaron correctamente, o porque el cambio de a\u00f1o no se realiz\u00f3 correctamente, o por otras causas.<br><br><br><br>Por esa raz\u00f3n, al hacer por ejemplo la venta N\u00ba 495, se mezclar\u00e1 con la venta 495 del a\u00f1o anterior. Consecuentemente, al abrir esa venta, aparecer\u00e1n art\u00edculos que en realidad corresponden a la venta 495 del a\u00f1o pasado.<br><br><br><br>La soluci\u00f3n es \u00absencilla\u00bb, pero la causa del problema est\u00e1 en un \u00abcambio de a\u00f1o\u00bb realizado incorrectamente. Puede que cuando hiciera el cambio de a\u00f1o estuviera da\u00f1ada alguna tabla, o haya recuperado datos despu\u00e9s de haber hecho el cambio de a\u00f1o, o movido archivos, etc\u2026<\/p>\n","protected":false},"excerpt":{"rendered":"<p>El historial de SimplyGest est\u00e1 formado por varias tablas: El hist\u00f3rico de documentos (MOVIM) y el contenido de cada documento (HISTOVEN, HISTOCOM, etc\u2026). Este error s\u00f3lo ocurre cuando, por alguna raz\u00f3n, el MOVIM tiene facturas del a\u00f1o actual PERO el HISTOVEN tiene facturas a\u00fan de otros a\u00f1os. Bien porque no se eliminaron correctamente, o porque [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[42],"tags":[],"class_list":["post-1302","post","type-post","status-publish","format-standard","hentry","category-documentos-e-historial-de-movimientos-albaranes-presupuestos-facturas-compras-etc"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\r\n<title>Si abro un documento (venta, compra...) desde el historial, aparecen art\u00edculos que no he vendido en ese documento | SimplyGest Academy<\/title>\r\n<meta name=\"description\" content=\"Si abro un documento (venta, compra...) desde el historial, aparecen art\u00edculos que no he vendido en ese documento | SimplyGest Academy\" \/>\r\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\r\n<link rel=\"canonical\" href=\"https:\/\/simplygest.es\/blogtecnico\/si-abro-un-documento-venta-compra-desde-el-historial-aparecen-articulos-que-no-he-vendido-en-ese-documento\/\" \/>\r\n<meta property=\"og:locale\" content=\"es_ES\" \/>\r\n<meta property=\"og:type\" content=\"article\" \/>\r\n<meta property=\"og:title\" content=\"Si abro un documento (venta, compra...) desde el historial, aparecen art\u00edculos que no he vendido en ese documento | SimplyGest Academy\" \/>\r\n<meta property=\"og:description\" content=\"Si abro un documento (venta, compra...) desde el historial, aparecen art\u00edculos que no he vendido en ese documento | SimplyGest Academy\" \/>\r\n<meta property=\"og:url\" content=\"https:\/\/simplygest.es\/blogtecnico\/si-abro-un-documento-venta-compra-desde-el-historial-aparecen-articulos-que-no-he-vendido-en-ese-documento\/\" \/>\r\n<meta property=\"og:site_name\" content=\"SimplyGest Academy\" \/>\r\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/simplygest\" \/>\r\n<meta property=\"article:published_time\" content=\"2021-05-05T12:39:48+00:00\" \/>\r\n<meta property=\"article:modified_time\" content=\"2021-05-05T12:39:50+00:00\" \/>\r\n<meta property=\"og:image\" content=\"https:\/\/simplygest.es\/blogtecnico\/wp-content\/uploads\/2023\/07\/logointro.png\" \/>\r\n\t<meta property=\"og:image:width\" content=\"512\" \/>\r\n\t<meta property=\"og:image:height\" content=\"512\" \/>\r\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\r\n<meta name=\"author\" content=\"administrator\" \/>\r\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\r\n<meta name=\"twitter:creator\" content=\"@simplygest\" \/>\r\n<meta name=\"twitter:site\" content=\"@simplygest\" \/>\r\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"administrator\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minuto\" \/>\r\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/simplygest.es\/blogtecnico\/si-abro-un-documento-venta-compra-desde-el-historial-aparecen-articulos-que-no-he-vendido-en-ese-documento\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/simplygest.es\/blogtecnico\/si-abro-un-documento-venta-compra-desde-el-historial-aparecen-articulos-que-no-he-vendido-en-ese-documento\/\"},\"author\":{\"name\":\"administrator\",\"@id\":\"https:\/\/simplygest.es\/blogtecnico\/#\/schema\/person\/4a875ec2a27d84320a9e98f3c7a56619\"},\"headline\":\"Si abro un documento (venta, compra&#8230;) desde el historial, aparecen art\u00edculos que no he vendido en ese documento\",\"datePublished\":\"2021-05-05T12:39:48+00:00\",\"dateModified\":\"2021-05-05T12:39:50+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/simplygest.es\/blogtecnico\/si-abro-un-documento-venta-compra-desde-el-historial-aparecen-articulos-que-no-he-vendido-en-ese-documento\/\"},\"wordCount\":184,\"publisher\":{\"@id\":\"https:\/\/simplygest.es\/blogtecnico\/#organization\"},\"articleSection\":[\"Documentos e Historial de Movimientos: Albaranes, presupuestos, facturas, compras, etc...\"],\"inLanguage\":\"es\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/simplygest.es\/blogtecnico\/si-abro-un-documento-venta-compra-desde-el-historial-aparecen-articulos-que-no-he-vendido-en-ese-documento\/\",\"url\":\"https:\/\/simplygest.es\/blogtecnico\/si-abro-un-documento-venta-compra-desde-el-historial-aparecen-articulos-que-no-he-vendido-en-ese-documento\/\",\"name\":\"Si abro un documento (venta, compra...) desde el historial, aparecen art\u00edculos que no he vendido en ese documento | SimplyGest Academy\",\"isPartOf\":{\"@id\":\"https:\/\/simplygest.es\/blogtecnico\/#website\"},\"datePublished\":\"2021-05-05T12:39:48+00:00\",\"dateModified\":\"2021-05-05T12:39:50+00:00\",\"description\":\"Si abro un documento (venta, compra...) desde el historial, aparecen art\u00edculos que no he vendido en ese documento | SimplyGest Academy\",\"breadcrumb\":{\"@id\":\"https:\/\/simplygest.es\/blogtecnico\/si-abro-un-documento-venta-compra-desde-el-historial-aparecen-articulos-que-no-he-vendido-en-ese-documento\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/simplygest.es\/blogtecnico\/si-abro-un-documento-venta-compra-desde-el-historial-aparecen-articulos-que-no-he-vendido-en-ese-documento\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/simplygest.es\/blogtecnico\/si-abro-un-documento-venta-compra-desde-el-historial-aparecen-articulos-que-no-he-vendido-en-ese-documento\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\/\/simplygest.es\/blogtecnico\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Si abro un documento (venta, compra&#8230;) desde el historial, aparecen art\u00edculos que no he vendido en ese documento\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/simplygest.es\/blogtecnico\/#website\",\"url\":\"https:\/\/simplygest.es\/blogtecnico\/\",\"name\":\"SimplyGest Academy\",\"description\":\"El punto de partida para encontrar respuestas a todas tus dudas\",\"publisher\":{\"@id\":\"https:\/\/simplygest.es\/blogtecnico\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/simplygest.es\/blogtecnico\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/simplygest.es\/blogtecnico\/#organization\",\"name\":\"SimplyGest\",\"url\":\"https:\/\/simplygest.es\/blogtecnico\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\/\/simplygest.es\/blogtecnico\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/simplygest.es\/blogtecnico\/wp-content\/uploads\/2023\/07\/logointro.png\",\"contentUrl\":\"https:\/\/simplygest.es\/blogtecnico\/wp-content\/uploads\/2023\/07\/logointro.png\",\"width\":512,\"height\":512,\"caption\":\"SimplyGest\"},\"image\":{\"@id\":\"https:\/\/simplygest.es\/blogtecnico\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/simplygest\",\"https:\/\/x.com\/simplygest\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/simplygest.es\/blogtecnico\/#\/schema\/person\/4a875ec2a27d84320a9e98f3c7a56619\",\"name\":\"administrator\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\/\/simplygest.es\/blogtecnico\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/7e0fb2e5a6f71e06fd41d2f6a748e325?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/7e0fb2e5a6f71e06fd41d2f6a748e325?s=96&d=mm&r=g\",\"caption\":\"administrator\"},\"url\":\"https:\/\/simplygest.es\/blogtecnico\/author\/administrator\/\"}]}<\/script>\r\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Si abro un documento (venta, compra...) desde el historial, aparecen art\u00edculos que no he vendido en ese documento | SimplyGest Academy","description":"Si abro un documento (venta, compra...) desde el historial, aparecen art\u00edculos que no he vendido en ese documento | SimplyGest Academy","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/simplygest.es\/blogtecnico\/si-abro-un-documento-venta-compra-desde-el-historial-aparecen-articulos-que-no-he-vendido-en-ese-documento\/","og_locale":"es_ES","og_type":"article","og_title":"Si abro un documento (venta, compra...) desde el historial, aparecen art\u00edculos que no he vendido en ese documento | SimplyGest Academy","og_description":"Si abro un documento (venta, compra...) desde el historial, aparecen art\u00edculos que no he vendido en ese documento | SimplyGest Academy","og_url":"https:\/\/simplygest.es\/blogtecnico\/si-abro-un-documento-venta-compra-desde-el-historial-aparecen-articulos-que-no-he-vendido-en-ese-documento\/","og_site_name":"SimplyGest Academy","article_publisher":"https:\/\/www.facebook.com\/simplygest","article_published_time":"2021-05-05T12:39:48+00:00","article_modified_time":"2021-05-05T12:39:50+00:00","og_image":[{"width":512,"height":512,"url":"https:\/\/simplygest.es\/blogtecnico\/wp-content\/uploads\/2023\/07\/logointro.png","type":"image\/png"}],"author":"administrator","twitter_card":"summary_large_image","twitter_creator":"@simplygest","twitter_site":"@simplygest","twitter_misc":{"Escrito por":"administrator","Tiempo de lectura":"1 minuto"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/simplygest.es\/blogtecnico\/si-abro-un-documento-venta-compra-desde-el-historial-aparecen-articulos-que-no-he-vendido-en-ese-documento\/#article","isPartOf":{"@id":"https:\/\/simplygest.es\/blogtecnico\/si-abro-un-documento-venta-compra-desde-el-historial-aparecen-articulos-que-no-he-vendido-en-ese-documento\/"},"author":{"name":"administrator","@id":"https:\/\/simplygest.es\/blogtecnico\/#\/schema\/person\/4a875ec2a27d84320a9e98f3c7a56619"},"headline":"Si abro un documento (venta, compra&#8230;) desde el historial, aparecen art\u00edculos que no he vendido en ese documento","datePublished":"2021-05-05T12:39:48+00:00","dateModified":"2021-05-05T12:39:50+00:00","mainEntityOfPage":{"@id":"https:\/\/simplygest.es\/blogtecnico\/si-abro-un-documento-venta-compra-desde-el-historial-aparecen-articulos-que-no-he-vendido-en-ese-documento\/"},"wordCount":184,"publisher":{"@id":"https:\/\/simplygest.es\/blogtecnico\/#organization"},"articleSection":["Documentos e Historial de Movimientos: Albaranes, presupuestos, facturas, compras, etc..."],"inLanguage":"es"},{"@type":"WebPage","@id":"https:\/\/simplygest.es\/blogtecnico\/si-abro-un-documento-venta-compra-desde-el-historial-aparecen-articulos-que-no-he-vendido-en-ese-documento\/","url":"https:\/\/simplygest.es\/blogtecnico\/si-abro-un-documento-venta-compra-desde-el-historial-aparecen-articulos-que-no-he-vendido-en-ese-documento\/","name":"Si abro un documento (venta, compra...) desde el historial, aparecen art\u00edculos que no he vendido en ese documento | SimplyGest Academy","isPartOf":{"@id":"https:\/\/simplygest.es\/blogtecnico\/#website"},"datePublished":"2021-05-05T12:39:48+00:00","dateModified":"2021-05-05T12:39:50+00:00","description":"Si abro un documento (venta, compra...) desde el historial, aparecen art\u00edculos que no he vendido en ese documento | SimplyGest Academy","breadcrumb":{"@id":"https:\/\/simplygest.es\/blogtecnico\/si-abro-un-documento-venta-compra-desde-el-historial-aparecen-articulos-que-no-he-vendido-en-ese-documento\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/simplygest.es\/blogtecnico\/si-abro-un-documento-venta-compra-desde-el-historial-aparecen-articulos-que-no-he-vendido-en-ese-documento\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/simplygest.es\/blogtecnico\/si-abro-un-documento-venta-compra-desde-el-historial-aparecen-articulos-que-no-he-vendido-en-ese-documento\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/simplygest.es\/blogtecnico\/"},{"@type":"ListItem","position":2,"name":"Si abro un documento (venta, compra&#8230;) desde el historial, aparecen art\u00edculos que no he vendido en ese documento"}]},{"@type":"WebSite","@id":"https:\/\/simplygest.es\/blogtecnico\/#website","url":"https:\/\/simplygest.es\/blogtecnico\/","name":"SimplyGest Academy","description":"El punto de partida para encontrar respuestas a todas tus dudas","publisher":{"@id":"https:\/\/simplygest.es\/blogtecnico\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/simplygest.es\/blogtecnico\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"},{"@type":"Organization","@id":"https:\/\/simplygest.es\/blogtecnico\/#organization","name":"SimplyGest","url":"https:\/\/simplygest.es\/blogtecnico\/","logo":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/simplygest.es\/blogtecnico\/#\/schema\/logo\/image\/","url":"https:\/\/simplygest.es\/blogtecnico\/wp-content\/uploads\/2023\/07\/logointro.png","contentUrl":"https:\/\/simplygest.es\/blogtecnico\/wp-content\/uploads\/2023\/07\/logointro.png","width":512,"height":512,"caption":"SimplyGest"},"image":{"@id":"https:\/\/simplygest.es\/blogtecnico\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/simplygest","https:\/\/x.com\/simplygest"]},{"@type":"Person","@id":"https:\/\/simplygest.es\/blogtecnico\/#\/schema\/person\/4a875ec2a27d84320a9e98f3c7a56619","name":"administrator","image":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/simplygest.es\/blogtecnico\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/7e0fb2e5a6f71e06fd41d2f6a748e325?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7e0fb2e5a6f71e06fd41d2f6a748e325?s=96&d=mm&r=g","caption":"administrator"},"url":"https:\/\/simplygest.es\/blogtecnico\/author\/administrator\/"}]}},"_links":{"self":[{"href":"https:\/\/simplygest.es\/blogtecnico\/wp-json\/wp\/v2\/posts\/1302","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/simplygest.es\/blogtecnico\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/simplygest.es\/blogtecnico\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/simplygest.es\/blogtecnico\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/simplygest.es\/blogtecnico\/wp-json\/wp\/v2\/comments?post=1302"}],"version-history":[{"count":1,"href":"https:\/\/simplygest.es\/blogtecnico\/wp-json\/wp\/v2\/posts\/1302\/revisions"}],"predecessor-version":[{"id":1303,"href":"https:\/\/simplygest.es\/blogtecnico\/wp-json\/wp\/v2\/posts\/1302\/revisions\/1303"}],"wp:attachment":[{"href":"https:\/\/simplygest.es\/blogtecnico\/wp-json\/wp\/v2\/media?parent=1302"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/simplygest.es\/blogtecnico\/wp-json\/wp\/v2\/categories?post=1302"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/simplygest.es\/blogtecnico\/wp-json\/wp\/v2\/tags?post=1302"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}