{"id":8788,"date":"2023-06-20T08:46:30","date_gmt":"2023-06-20T08:46:30","guid":{"rendered":"https:\/\/docs.daftra.com\/faq\/%d9%84%d9%85%d8%a7%d8%b0%d8%a7-%d9%84%d9%85-%d9%8a%d8%aa%d9%85-%d8%a7%d8%ad%d8%aa%d8%b3%d8%a7%d8%a8-%d9%85%d8%aa%d9%88%d8%b3%d8%b7-%d8%b3%d8%b9%d8%b1-%d8%aa%d9%83%d9%84%d9%81%d8%a9-%d9%84%d9%84%d9%85\/"},"modified":"2023-12-11T11:50:41","modified_gmt":"2023-12-11T11:50:41","slug":"why-wasnt-the-average-cost-price-calculated-for-some-inventory-transactions-or-sales","status":"publish","type":"faq","link":"https:\/\/docs.daftra.com\/en\/faq\/why-wasnt-the-average-cost-price-calculated-for-some-inventory-transactions-or-sales\/","title":{"rendered":"Why wasn&#8217;t the Average Cost Price Calculated for Some Inventory Transactions or Sales?"},"content":{"rendered":"<div class=\"flex-1 overflow-hidden\">\n<div class=\"react-scroll-to-bottom--css-wrlhh-79elbk h-full\">\n<div class=\"react-scroll-to-bottom--css-wrlhh-1n7m0yu\">\n<div class=\"flex flex-col pb-9 text-sm\">\n<div class=\"w-full text-token-text-primary\" data-testid=\"conversation-turn-75\">\n<div class=\"px-4 py-2 justify-center text-base md:gap-6 m-auto\">\n<div class=\"flex flex-1 text-base mx-auto gap-3 md:px-5 lg:px-1 xl:px-5 md:max-w-3xl lg:max-w-[40rem] xl:max-w-[48rem] } group final-completion\">\n<div class=\"relative flex w-full flex-col lg:w-[calc(100%-115px)] agent-turn\">\n<div class=\"flex-col gap-1 md:gap-3\">\n<div class=\"flex flex-grow flex-col max-w-full\">\n<div class=\"min-h-[20px] text-message flex flex-col items-start gap-3 whitespace-pre-wrap break-words [.text-message+&amp;]:mt-5 overflow-x-auto\" data-message-author-role=\"assistant\" data-message-id=\"9e404ad5-449c-41d3-9808-8a95523889d3\">\n<div class=\"markdown prose w-full break-words dark:prose-invert light\">\n<p>This issue arises when the date of expenditure precedes the date of addition, causing the product to be expended at an average cost price (<strong>zero<\/strong>) if the first transaction for the product is an expenditure.<\/p>\n<p>To resolve the issue, you need to adjust the addition date in the inventory transaction for the product or modify the date of the inbound requisition so that the inbound date precedes the outbound date.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"author":17,"template":"","categories":[2182,2177,2184],"tags":[4845,4846,4847,4848],"class_list":["post-8788","faq","type-faq","status-publish","hentry","category-requisitions","category-inventory","category-products-services","tag------en","tag--------e","tag-----en","tag----en"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Why wasn&#039;t the Average Cost Price Calculated for Some Inventory Transactions or Sales? - Daftra Knowledge Base<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/docs.daftra.com\/en\/faq\/why-wasnt-the-average-cost-price-calculated-for-some-inventory-transactions-or-sales\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Why wasn&#039;t the Average Cost Price Calculated for Some Inventory Transactions or Sales? - Daftra Knowledge Base\" \/>\n<meta property=\"og:description\" content=\"This issue arises when the date of expenditure precedes the date of addition, causing the product to be expended at an average cost price (zero) if the first transaction for the product is an expenditure. To resolve the issue, you need to adjust the addition date in the inventory transaction for the product or modify [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.daftra.com\/en\/faq\/why-wasnt-the-average-cost-price-calculated-for-some-inventory-transactions-or-sales\/\" \/>\n<meta property=\"og:site_name\" content=\"Daftra Knowledge Base\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-11T11:50:41+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/docs.daftra.com\/#website\",\"url\":\"https:\/\/docs.daftra.com\/\",\"name\":\"Daftra Knowledge Base\",\"description\":\"Daftra\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/docs.daftra.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/docs.daftra.com\/en\/faq\/why-wasnt-the-average-cost-price-calculated-for-some-inventory-transactions-or-sales\/#webpage\",\"url\":\"https:\/\/docs.daftra.com\/en\/faq\/why-wasnt-the-average-cost-price-calculated-for-some-inventory-transactions-or-sales\/\",\"name\":\"Why wasn't the Average Cost Price Calculated for Some Inventory Transactions or Sales? - Daftra Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\/\/docs.daftra.com\/#website\"},\"datePublished\":\"2023-06-20T08:46:30+00:00\",\"dateModified\":\"2023-12-11T11:50:41+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/docs.daftra.com\/en\/faq\/why-wasnt-the-average-cost-price-calculated-for-some-inventory-transactions-or-sales\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/docs.daftra.com\/en\/faq\/why-wasnt-the-average-cost-price-calculated-for-some-inventory-transactions-or-sales\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/docs.daftra.com\/en\/faq\/why-wasnt-the-average-cost-price-calculated-for-some-inventory-transactions-or-sales\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/docs.daftra.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Why wasn&#8217;t the Average Cost Price Calculated for Some Inventory Transactions or Sales?\"}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Why wasn't the Average Cost Price Calculated for Some Inventory Transactions or Sales? - Daftra Knowledge Base","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:\/\/docs.daftra.com\/en\/faq\/why-wasnt-the-average-cost-price-calculated-for-some-inventory-transactions-or-sales\/","og_locale":"en_US","og_type":"article","og_title":"Why wasn't the Average Cost Price Calculated for Some Inventory Transactions or Sales? - Daftra Knowledge Base","og_description":"This issue arises when the date of expenditure precedes the date of addition, causing the product to be expended at an average cost price (zero) if the first transaction for the product is an expenditure. To resolve the issue, you need to adjust the addition date in the inventory transaction for the product or modify [&hellip;]","og_url":"https:\/\/docs.daftra.com\/en\/faq\/why-wasnt-the-average-cost-price-calculated-for-some-inventory-transactions-or-sales\/","og_site_name":"Daftra Knowledge Base","article_modified_time":"2023-12-11T11:50:41+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/docs.daftra.com\/#website","url":"https:\/\/docs.daftra.com\/","name":"Daftra Knowledge Base","description":"Daftra","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/docs.daftra.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/docs.daftra.com\/en\/faq\/why-wasnt-the-average-cost-price-calculated-for-some-inventory-transactions-or-sales\/#webpage","url":"https:\/\/docs.daftra.com\/en\/faq\/why-wasnt-the-average-cost-price-calculated-for-some-inventory-transactions-or-sales\/","name":"Why wasn't the Average Cost Price Calculated for Some Inventory Transactions or Sales? - Daftra Knowledge Base","isPartOf":{"@id":"https:\/\/docs.daftra.com\/#website"},"datePublished":"2023-06-20T08:46:30+00:00","dateModified":"2023-12-11T11:50:41+00:00","breadcrumb":{"@id":"https:\/\/docs.daftra.com\/en\/faq\/why-wasnt-the-average-cost-price-calculated-for-some-inventory-transactions-or-sales\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.daftra.com\/en\/faq\/why-wasnt-the-average-cost-price-calculated-for-some-inventory-transactions-or-sales\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/docs.daftra.com\/en\/faq\/why-wasnt-the-average-cost-price-calculated-for-some-inventory-transactions-or-sales\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/docs.daftra.com\/en\/"},{"@type":"ListItem","position":2,"name":"Why wasn&#8217;t the Average Cost Price Calculated for Some Inventory Transactions or Sales?"}]}]}},"_links":{"self":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/faq\/8788","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/faq"}],"about":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/types\/faq"}],"author":[{"embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/users\/17"}],"version-history":[{"count":2,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/faq\/8788\/revisions"}],"predecessor-version":[{"id":9870,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/faq\/8788\/revisions\/9870"}],"wp:attachment":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/media?parent=8788"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/categories?post=8788"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/tags?post=8788"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}