{"id":1416,"date":"2024-11-23T04:58:27","date_gmt":"2024-11-23T04:58:27","guid":{"rendered":"https:\/\/support-landing.altegio.cloud\/support\/4849919203357-wholesale-cost-of-products-in-storage\/"},"modified":"2026-03-18T13:59:49","modified_gmt":"2026-03-18T13:59:49","password":"","slug":"4849919203357-wholesale-cost-of-products-in-storage","status":"publish","type":"docs","link":"https:\/\/alteg.io\/en\/support\/knowledge-base\/4849919203357-wholesale-cost-of-products-in-storage\/","title":{"rendered":"Wholesale cost of products in inventory"},"content":{"rendered":"\n<p>The algorithm for calculating cost of goods is configured in the warehouse settings. The cost value for an item can be taken from the item settings or from the latest goods receipt, or it can be calculated as an average cost across all receipts.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Setup<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to <strong>Products > Settings > Inventory Settings<\/strong>.<\/li>\n<\/ol>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69dfb126e1197&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69dfb126e1197\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"771\" height=\"1024\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/11\/Screen-Shot-2026-03-18-at-17.55.43-771x1024.png\" alt=\"\" class=\"wp-image-303154\" srcset=\"https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/11\/Screen-Shot-2026-03-18-at-17.55.43-771x1024.png 771w, https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/11\/Screen-Shot-2026-03-18-at-17.55.43-226x300.png 226w, https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/11\/Screen-Shot-2026-03-18-at-17.55.43-768x1020.png 768w, https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/11\/Screen-Shot-2026-03-18-at-17.55.43-360x478.png 360w, https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/11\/Screen-Shot-2026-03-18-at-17.55.43.png 798w\" sizes=\"auto, (max-width: 771px) 100vw, 771px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li>In the drop-down list, select the required cost calculation method:<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Take from the latest products receipt.<\/li>\n\n\n\n<li>Calculate the average cost across all receipts.<\/li>\n\n\n\n<li>Take from the product settings.<\/li>\n<\/ul>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69dfb12774795&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69dfb12774795\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"256\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/11\/Screen-Shot-2025-12-17-at-17.01.14-1024x256.png\" alt=\"\" class=\"wp-image-213544\" srcset=\"https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/11\/Screen-Shot-2025-12-17-at-17.01.14-1024x256.png 1024w, https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/11\/Screen-Shot-2025-12-17-at-17.01.14-300x75.png 300w, https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/11\/Screen-Shot-2025-12-17-at-17.01.14-768x192.png 768w, https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/11\/Screen-Shot-2025-12-17-at-17.01.14-1536x384.png 1536w, https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/11\/Screen-Shot-2025-12-17-at-17.01.14-2048x512.png 2048w, https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/11\/Screen-Shot-2025-12-17-at-17.01.14-360x90.png 360w, https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/11\/Screen-Shot-2025-12-17-at-17.01.14-1568x392.png 1568w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li>If needed, enable the option <strong>Restrict sales\/write-off\/transfer operations when there is insufficient stock<\/strong>.<br>This option prevents inventory operations if there is less stock available than required.<\/li>\n<\/ol>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>Example<\/strong><br>If there is no shampoo in stock (quantity 0), when you try to sell it the system will show an error. To continue the sale, you must first record a goods receipt for the item.<\/p>\n<\/blockquote>\n\n\n\n<ol start=\"4\" class=\"wp-block-list\">\n<li>Click <strong>Save<\/strong>.<br>The cost value changes automatically when a new delivery is recorded and the delivery price is specified.<\/li>\n<\/ol>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<h3 class=\"wp-block-heading\">Important<\/h3>\n\n\n\n<p>Regarding the delivery price when goods are received into the warehouse, it\u2019s important to understand the following: if the report is old (for example, for October) and it is now November, and the last delivery was in November, the system will use the delivery price from the latest receipt <strong>as of the end of October<\/strong>.<\/p>\n\n\n\n<p>The same logic applies in <strong>Inventory > Inventory operations<\/strong> transaction history. If an item was sold on the 20th, its cost will be based on the latest delivery <strong>before the 20th<\/strong>. If the item was sold on the 30th, the cost will be based on the delivery on the 25th, etc.<\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\">Where the cost is used<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>When viewing warehouse operations in <strong>Products > Inventory Management<\/strong>.<\/li>\n<\/ol>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69dfb1280bc44&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69dfb1280bc44\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"502\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/11\/Screen-Shot-2025-12-17-at-17.04.29-1024x502.png\" alt=\"\" class=\"wp-image-213577\" srcset=\"https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/11\/Screen-Shot-2025-12-17-at-17.04.29-1024x502.png 1024w, https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/11\/Screen-Shot-2025-12-17-at-17.04.29-300x147.png 300w, https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/11\/Screen-Shot-2025-12-17-at-17.04.29-768x376.png 768w, https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/11\/Screen-Shot-2025-12-17-at-17.04.29-1536x753.png 1536w, https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/11\/Screen-Shot-2025-12-17-at-17.04.29-2048x1004.png 2048w, https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/11\/Screen-Shot-2025-12-17-at-17.04.29-360x176.png 360w, https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/11\/Screen-Shot-2025-12-17-at-17.04.29-1568x769.png 1568w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li>In reports under <strong>Products > Stock Audit<\/strong> and <strong>Sales analysis<\/strong>.<br>You can read more about warehouse reports <strong><a href=\"https:\/\/alteg.io\/en\/support\/knowledge-base\/categories\/inventory-reports\/\">here<\/a>.<\/strong><\/li>\n\n\n\n<li>When calculating <strong>team member payroll.<\/strong><\/li>\n<\/ol>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69dfb128819d8&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69dfb128819d8\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"316\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/11\/Screen-Shot-2025-12-17-at-17.12.05-1024x316.png\" alt=\"\" class=\"wp-image-213604\" srcset=\"https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/11\/Screen-Shot-2025-12-17-at-17.12.05-1024x316.png 1024w, https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/11\/Screen-Shot-2025-12-17-at-17.12.05-300x93.png 300w, https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/11\/Screen-Shot-2025-12-17-at-17.12.05-768x237.png 768w, https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/11\/Screen-Shot-2025-12-17-at-17.12.05-1536x474.png 1536w, https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/11\/Screen-Shot-2025-12-17-at-17.12.05-2048x632.png 2048w, https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/11\/Screen-Shot-2025-12-17-at-17.12.05-360x111.png 360w, https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/11\/Screen-Shot-2025-12-17-at-17.12.05-1568x484.png 1568w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>If the <strong>Include cost of consumables<\/strong> option is enabled in the team member payroll calculation settings, then when calculating payroll in <strong>Payroll  &gt; Settlements<\/strong>, the cost of consumables will be displayed.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>Important<\/strong><\/p>\n\n\n\n<p>Consumables, by default, can only be written off from an inventory with the type <strong>For consumables write-off<\/strong>.<\/p>\n\n\n\n<p>To set up automatic write-off of consumables, use the instructions in the article <a href=\"https:\/\/alteg.io\/en\/support\/knowledge-base\/4849632024861-configuring-automatic-writing-off-of-products\/\"><strong>Setting up automatic consumables write-off<\/strong>.<\/a><br><br>To set up accounting for the cost of consumables when calculating payroll, follow the instructions in the article <a href=\"https:\/\/alteg.io\/en\/support\/knowledge-base\/4861418835485-how-to-configure-calculation-rules\/\"><strong>How to set payroll calculation rules<\/strong>.<\/a><\/p>\n<\/blockquote>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The algorithm for calculating cost of goods is configured in the warehouse settings. The cost value for an item can be taken from the item settings or from the latest goods receipt, or it can be calculated as an average cost across all receipts. Setup ExampleIf there is no shampoo in stock (quantity 0), when&hellip; <a class=\"more-link\" href=\"https:\/\/alteg.io\/en\/support\/knowledge-base\/4849919203357-wholesale-cost-of-products-in-storage\/\">Continue reading <span class=\"screen-reader-text\">Wholesale cost of products in inventory<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[49],"doc_tag":[2029,1924,1579,1939,2041],"class_list":["post-1416","docs","type-docs","status-publish","hentry","doc_category-inventory","doc_tag-inventory-en","doc_tag-payroll-en","doc_tag-products-en","doc_tag-settlements-en","doc_tag-stock-audit-en","entry"],"aioseo_notices":[],"year_month":"2026-04","word_count":393,"total_views":"185","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"ivan.k","author_nicename":"altegio","author_url":"https:\/\/alteg.io\/en\/author\/altegio\/"},"doc_category_info":[{"term_name":"Inventory","term_url":"https:\/\/alteg.io\/en\/support\/knowledge-base\/categories\/inventory\/"}],"doc_tag_info":[{"term_name":"Inventory","term_url":"https:\/\/alteg.io\/en\/support\/knowledge-base\/docs-tag\/inventory-en\/"},{"term_name":"Payroll","term_url":"https:\/\/alteg.io\/en\/support\/knowledge-base\/docs-tag\/payroll-en\/"},{"term_name":"Products","term_url":"https:\/\/alteg.io\/en\/support\/knowledge-base\/docs-tag\/products-en\/"},{"term_name":"Settlements","term_url":"https:\/\/alteg.io\/en\/support\/knowledge-base\/docs-tag\/settlements-en\/"},{"term_name":"Stock Audit","term_url":"https:\/\/alteg.io\/en\/support\/knowledge-base\/docs-tag\/stock-audit-en\/"}],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/alteg.io\/en\/support\/wp-json\/wp\/v2\/docs\/1416","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alteg.io\/en\/support\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/alteg.io\/en\/support\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/alteg.io\/en\/support\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/alteg.io\/en\/support\/wp-json\/wp\/v2\/comments?post=1416"}],"version-history":[{"count":3,"href":"https:\/\/alteg.io\/en\/support\/wp-json\/wp\/v2\/docs\/1416\/revisions"}],"predecessor-version":[{"id":303220,"href":"https:\/\/alteg.io\/en\/support\/wp-json\/wp\/v2\/docs\/1416\/revisions\/303220"}],"wp:attachment":[{"href":"https:\/\/alteg.io\/en\/support\/wp-json\/wp\/v2\/media?parent=1416"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/alteg.io\/en\/support\/wp-json\/wp\/v2\/doc_category?post=1416"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/alteg.io\/en\/support\/wp-json\/wp\/v2\/doc_tag?post=1416"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}