{"id":2649,"date":"2023-12-09T01:56:14","date_gmt":"2023-12-08T22:56:14","guid":{"rendered":"https:\/\/ainurpos.com\/help\/?post_type=ht_kb&#038;p=2649"},"modified":"2024-02-27T23:51:03","modified_gmt":"2024-02-27T20:51:03","slug":"how-to-fix-the-cost-of-goods-in-the-store","status":"publish","type":"ht_kb","link":"https:\/\/ainurpos.com\/help\/knowledge\/how-to-fix-the-cost-of-goods-in-the-store\/","title":{"rendered":"How to fix the cost of goods in the store"},"content":{"rendered":"\n<p>Sometimes the cost is calculated incorrectly. This can be fixed.<\/p>\n\n\n\n<p>Here are the three main problems and their solutions:<\/p>\n\n\n\n<p><strong>Problem 1.<\/strong> The product has no cost and negative balances.<\/p>\n\n\n\n<p><strong>Reason. <\/strong>The product is not registered.<\/p>\n\n\n\n<p><strong>Decision. <\/strong>Make the registration retroactively.<\/p>\n\n\n\n<p>You go into the reports and see 100% marginality and zero cost. You probably added an item and immediately sold it. In this case, the program did not find out about the initial balances \u2014 you did make stock adjustments.<br><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"238\" src=\"https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.45-1-1024x238.jpeg\" alt=\"\" class=\"wp-image-2650\" srcset=\"https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.45-1-1024x238.jpeg 1024w, https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.45-1-300x70.jpeg 300w, https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.45-1-768x179.jpeg 768w, https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.45-1-50x12.jpeg 50w, https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.45-1-60x14.jpeg 60w, https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.45-1-100x23.jpeg 100w, https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.45-1.jpeg 1465w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Everything should be in order: first you enter the goods into the warehouse, and then you sell. Click &#171;Create Document&#187; and select &#171;Stock Adjustment&#187;.<\/p>\n\n\n\n<p>Specify the store and change the date. The date must be earlier than the day on which the first sale was carried out: the stock adjustment must be Fullfiled out before the sale. Its date can be seen in the product card in the Inventory History.<\/p>\n\n\n\n<p>Then add the goods to the document and specify the initial quantity, enter the purchase price. After that \u2014 &#171;Save&#187;.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"568\" src=\"https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.46-1-1024x568.jpeg\" alt=\"\" class=\"wp-image-2651\" srcset=\"https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.46-1-1024x568.jpeg 1024w, https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.46-1-300x166.jpeg 300w, https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.46-1-768x426.jpeg 768w, https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.46-1-50x28.jpeg 50w, https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.46-1-60x33.jpeg 60w, https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.46-1-100x55.jpeg 100w, https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.46-1.jpeg 1428w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>You can check the updated cost price in the reports and in the product card.<br><\/p>\n\n\n\n<p><strong>Problem 2. <\/strong>The product has no cost price, but the stock is correct.<\/p>\n\n\n\n<p><strong>Reason. <\/strong>The product is not registered, but added by correcting the balances.<\/p>\n\n\n\n<p><strong>Decision. <\/strong>Delete the correction and post it retroactively.<\/p>\n\n\n\n<p>This happens if you adjust the balances directly in the product card. How to fix it? Find the adjustment documents in the card and delete them. Then make the registration retroactively, before sales.<br><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"329\" src=\"https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.47-2-1024x329.jpeg\" alt=\"\" class=\"wp-image-2652\" srcset=\"https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.47-2-1024x329.jpeg 1024w, https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.47-2-300x96.jpeg 300w, https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.47-2-768x247.jpeg 768w, https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.47-2-50x16.jpeg 50w, https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.47-2-60x19.jpeg 60w, https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.47-2-100x32.jpeg 100w, https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.47-2.jpeg 1418w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>It is done the same way: &#171;Create a document&#187; \u27f6 &#171;Stock Adjustment&#187; \u27f6 change the date \u27f6 add goods, quantity and purchase price \u27f6 save.<\/p>\n\n\n\n<p>You can check the updated cost price in the reports and in the product card.<\/p>\n\n\n\n<p><strong>Problem 3. <\/strong>The cost is calculated incorrectly<\/p>\n\n\n\n<p><strong>Reason. <\/strong>The product is first sold, and then registered.<\/p>\n\n\n\n<p><strong>Decision.<\/strong> Change the date in the stock adjustment document.<\/p>\n\n\n\n<p>Check the history in the product card. Everything should be correct there: first stock adjustment, then sales. Wrong? Change the date in the stock adjustment document.<\/p>\n\n\n\n<p>Open to edit and change the date in the upper right corner. The date must be before the sales.<br><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"559\" src=\"https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.47-3-1024x559.jpeg\" alt=\"\" class=\"wp-image-2653\" srcset=\"https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.47-3-1024x559.jpeg 1024w, https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.47-3-300x164.jpeg 300w, https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.47-3-768x419.jpeg 768w, https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.47-3-50x27.jpeg 50w, https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.47-3-60x33.jpeg 60w, https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.47-3-100x55.jpeg 100w, https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.47-3.jpeg 1424w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>You can check the updated cost price in the reports and in the product card.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">Correct calculation of the cost of goods in trade<\/h1>\n\n\n\n<p>The cost price will be calculated correctly if you add the goods in the right way.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Immediately add products with quantity and purchase price<\/h3>\n\n\n\n<p>Specify two parameters \u2014 the purchase price and the initial balances \u2014 right when creating a new product. After saving, the stock adjustment document will be automatically processed and the cost price will be calculated immediately.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"981\" height=\"1024\" src=\"https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.48-1-981x1024.jpeg\" alt=\"\" class=\"wp-image-2654\" srcset=\"https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.48-1-981x1024.jpeg 981w, https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.48-1-287x300.jpeg 287w, https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.48-1-768x802.jpeg 768w, https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.48-1-48x50.jpeg 48w, https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.48-1-57x60.jpeg 57w, https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.48-1-96x100.jpeg 96w, https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.48-1.jpeg 1278w\" sizes=\"auto, (max-width: 981px) 100vw, 981px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">First add products, and then stock adjustment.<\/h3>\n\n\n\n<p>When adding a new product, it is important to specify only the name. The rest of the data can be specified later. You can creat stock adjustment or purchase goods at any time through the &#171;Create Document&#187; menu.<br><br><strong>Important! <\/strong>The date in the purchase and stock adjustment must be earlier than the date of the sales.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Import goods with a purchase price<\/h3>\n\n\n\n<p>When importing several products, you can add columns with the purchase price and the initial balances. At the same time, the goods are accounted for automatically and the cost price is also calculated automatically.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"368\" src=\"https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.49-1-1024x368.jpeg\" alt=\"\" class=\"wp-image-2655\" srcset=\"https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.49-1-1024x368.jpeg 1024w, https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.49-1-300x108.jpeg 300w, https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.49-1-768x276.jpeg 768w, https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.49-1-50x18.jpeg 50w, https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.49-1-1536x552.jpeg 1536w, https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.49-1-60x22.jpeg 60w, https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.49-1-100x36.jpeg 100w, https:\/\/ainurpos.com\/help\/wp-content\/uploads\/2023\/12\/\u0421\u043d\u0438\u043c\u043e\u043a-09.12.2023-\u0432-01.49-1.jpeg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>It is easy to keep track of the cost price. It is important to consider three points:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Create stock adjustment before sales.<\/li>\n\n\n\n<li>Adjustment doesn\u2019t change the cost.<\/li>\n\n\n\n<li>You need to add goods only through stock adjustment or purchase.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes the cost is calculated incorrectly. This can be fixed. Here are the three main problems and their solutions: Problem 1. The product has no cost and negative balances. Reason. The product is not registered. Decision. Make the registration retroactively. You go into the reports and see 100% marginality and&#8230;<\/p>\n","protected":false},"author":5,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[29],"ht-kb-tag":[],"class_list":["post-2649","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-inventory-management"],"_links":{"self":[{"href":"https:\/\/ainurpos.com\/help\/wp-json\/wp\/v2\/ht-kb\/2649","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ainurpos.com\/help\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/ainurpos.com\/help\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/ainurpos.com\/help\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ainurpos.com\/help\/wp-json\/wp\/v2\/comments?post=2649"}],"version-history":[{"count":1,"href":"https:\/\/ainurpos.com\/help\/wp-json\/wp\/v2\/ht-kb\/2649\/revisions"}],"predecessor-version":[{"id":2656,"href":"https:\/\/ainurpos.com\/help\/wp-json\/wp\/v2\/ht-kb\/2649\/revisions\/2656"}],"wp:attachment":[{"href":"https:\/\/ainurpos.com\/help\/wp-json\/wp\/v2\/media?parent=2649"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/ainurpos.com\/help\/wp-json\/wp\/v2\/ht-kb-category?post=2649"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/ainurpos.com\/help\/wp-json\/wp\/v2\/ht-kb-tag?post=2649"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}