JP2020035049A - Journalization creation device, journalization creation method and journalization creation program - Google Patents

Journalization creation device, journalization creation method and journalization creation program Download PDF

Info

Publication number
JP2020035049A
JP2020035049A JP2018159163A JP2018159163A JP2020035049A JP 2020035049 A JP2020035049 A JP 2020035049A JP 2018159163 A JP2018159163 A JP 2018159163A JP 2018159163 A JP2018159163 A JP 2018159163A JP 2020035049 A JP2020035049 A JP 2020035049A
Authority
JP
Japan
Prior art keywords
purchase
sales
unit price
data
amount
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2018159163A
Other languages
Japanese (ja)
Inventor
正雄 古賀
Masao Koga
正雄 古賀
剛光 上野
Takemitsu Ueno
剛光 上野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Obic Co Ltd
Original Assignee
Obic Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Obic Co Ltd filed Critical Obic Co Ltd
Priority to JP2018159163A priority Critical patent/JP2020035049A/en
Publication of JP2020035049A publication Critical patent/JP2020035049A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

To provide a journalization creation device and the like that can create journalization which includes a purchase difference amount being a difference amount in a case where a purchase amount is calculated using a unit price before revision and a unit price after the revision, and an inventory evaluation difference amount being a difference amount in a case where an inventory evaluation amount of a quantity after selling of a commodity is calculated using the unit price before the revision and the unit price after the revision.SOLUTION: In the present embodiment, a journalization creation method comprises: (1) calculating sum of an amount in present inventory purchase red data and an amount in present inventory purchase black data as an inventory evaluation difference amount (inventory adjustment amount); (2) calculating sum of an amount in sales purchase red data and an amount in sales purchase black data as sales prime cost difference amount (paid amount) on the basis of input information; and (3) creating journalization which includes the calculated inventory evaluation difference amount (inventory adjustment amount), the calculated sales prime cost difference amount (paid amount), and a purchase difference amount (debt adjustment amount) corresponding to sum of the inventory evaluation difference amount and the sales prime cost difference amount.SELECTED DRAWING: Figure 3

Description

本発明は、仕訳作成装置、仕訳作成方法および仕訳作成プログラムに関する。   The present invention relates to a journal creation device, a journal creation method, and a journal creation program.

特許文献1には、「商取引を実施した後に、商取引内容を修正する場合がある。例えば、石油化学業界の商習慣は価格後決め方式である。まず、ナフサなどの商品を仮決めの単価で年間契約を締結し、販売・購入した数量を基に仮決めの価格で請求・支払を行う。後日、期ごとに市況を勘案して正式な単価を決定し、仮決めの商取引を遡及して新たに差額分を請求・支払することが通例になっている。」と開示されている(特許文献1の段落0124等参照)。   Patent Literature 1 states, "There is a case where the contents of a commercial transaction are modified after executing the commercial transaction. For example, the business practice of the petrochemical industry is a post-pricing method. First, a product such as naphtha is temporarily determined at a unit price. The company concludes an annual contract and bills and pays at a tentatively determined price based on the quantity sold and purchased. It is customary to bill and pay the difference anew "(see paragraph 0124 of Patent Document 1).

特開2002−41750号公報JP 2002-41750 A

このように、鉄鋼、化学および石油業界等においては、仕入れた商品のうちの一部の売上後に前記商品についての仕入の単価が改定された場合において、改定後の単価を遡及適用することが商慣習となっている。   Thus, in the iron and steel, chemical and petroleum industries, etc., when the unit price of the purchase of a commodity is revised after the sale of a part of the purchased commodity, it is possible to retroactively apply the revised unit price. It has become a business practice.

遡及適用を行うにあたっては、契約ベースでの遡及適用を行うという観点から、仕入金額に関して改定前の単価と改定後の単価で計算した場合の差額である仕入差額を正確に把握する必要がある。これに加えて、在庫評価替ベースでの遡及適用を行うという観点から、前記商品の前記売上後の数量に関して改定前の単価と改定後の単価で計算した場合の差額である在庫評価差額も正確に把握する必要がある。   When applying retrospective application, from the perspective of applying retroactive application on a contract basis, it is necessary to accurately understand the purchase difference, which is the difference between the purchase price and the unit price before and after the revision. is there. In addition to this, from the viewpoint of retroactive application on the basis of inventory valuation, the inventory valuation difference, which is the difference between the unit price before and after the unit price after the revision for the quantity of the product after sales, is also accurate. Need to figure out.

このため、前記仕入差額と前記在庫評価差額の両方が記載された仕訳を効率的に作成できる技術が求められていたものの、従来は実現できていなかった。   For this reason, there has been a demand for a technology capable of efficiently creating a journal in which both the purchase difference and the inventory valuation difference are described, but this has not been realized conventionally.

本発明は、上記問題点に鑑みてなされたものであって、仕入金額に関して改定前の単価と改定後の単価で計算した場合の差額である仕入差額および前記商品の売上後の数量の在庫評価額に関して改定前の単価と改定後の単価で計算した場合の差額である在庫評価差額を含む仕訳を作成できる仕訳作成装置、仕訳作成方法および仕訳作成プログラムを提供することを目的とする。   The present invention has been made in view of the above-described problems, and relates to a purchase difference and a post-sales quantity of the product, which is a difference when the purchase price is calculated based on a unit price before revision and a unit price after revision. An object of the present invention is to provide a journal creation device, a journal creation method, and a journal creation program capable of creating a journal including an inventory valuation difference, which is a difference between a unit price before a revision and a unit price after a revision with respect to an inventory valuation.

上述した課題を解決し、目的を達成するために、本発明に係る仕訳作成装置は、制御部を備え、仕入れた商品のうちの一部の売上後に前記商品についての仕入の単価が改定された場合において、前記仕入れた商品の仕入金額に関して改定前の単価と改定後の単価で計算した場合の差額である仕入差額と、売り上げた前記商品の売上原価金額に関して改定前の単価と改定後の単価で計算した場合の差額である売上原価差額と、前記商品の前記売上後の数量の在庫評価額に関して改定前の単価と改定後の単価で計算した場合の差額である在庫評価差額と、を含む仕訳を作成する仕訳作成装置であって、前記制御部は、前記商品についての前記売上後の数量と前記改定前の単価とを含む在庫データ中の前記売上後の数量と前記在庫データ中の前記改定前の単価とに基づき算出される金額を含む、前記商品を前記売上後の数量分前記改定前の単価で仕入れた分に対応する通常仕入データを帳消しにするための現在庫仕入赤データを作成する現在庫仕入赤データ作成手段と、前記在庫データ中の前記売上後の数量と入力された前記改定後の単価とに基づき算出される金額を含む、前記売上後の数量分前記改定前の単価で仕入れた分に対応する前記通常仕入データを前記改定後の単価で仕入れた分に対応する通常仕入データに修正するための現在庫仕入黒データを作成する現在庫仕入黒データ作成手段と、前記現在庫仕入赤データ中の前記金額と前記現在庫仕入黒データ中の前記金額との和を前記在庫評価差額として算出する在庫評価差額算出手段と、入力された前記商品についての売上数量と入力された前記改定前の単価とに基づき算出される金額を含む、前記商品を前記売上数量分前記改定前の単価で仕入れた分に対応する通常仕入データを帳消しにするための売上仕入赤データを作成する売上仕入赤データ作成手段と、前記入力された前記商品についての売上数量と入力された前記改定後の単価とに基づき算出される金額を含む、前記売上数量分前記改定前の単価で仕入れた分に対応する前記通常仕入データを前記改定後の単価で仕入れた分に対応する通常仕入データに修正するための売上仕入黒データを作成する売上仕入黒データ作成手段と、前記売上仕入赤データ中の前記金額と前記売上仕入黒データ中の前記金額との和を前記売上原価差額として算出する売上原価差額算出手段と、前記在庫評価差額算出手段で算出した前記在庫評価差額と、前記売上原価差額算出手段で算出した前記売上原価差額と、当該在庫評価差額と当該売上原価差額との和に相当する前記仕入差額と、を含む前記仕訳を作成する仕訳作成手段と、を備えること、を特徴とする。   In order to solve the above-described problems and achieve the object, a journal creation device according to the present invention includes a control unit, and after a part of the purchased goods is sold, a unit price of the purchase is revised. In this case, the purchase price difference, which is the difference when the purchase price of the purchased product is calculated based on the unit price before and after the revision, and the unit price before the revision with respect to the cost of sales of the sold product, The cost of sales difference, which is the difference calculated after the unit price, and the inventory valuation difference, which is the difference between the unit price before the revision and the unit price after the revision, regarding the inventory valuation of the after-sales quantity of the product. The journal creation device for creating a journal including, the control unit, the after-sales quantity and the inventory data in the inventory data including the after-sales quantity and the unit price before the revision for the product Said breaks in The current warehouse purchase red data for canceling the normal purchase data corresponding to the purchase amount of the product at the unit price before the revision, including the amount calculated based on the previous unit price, including the amount calculated based on the previous unit price. Means for creating the current warehouse purchase red data, and an amount calculated based on the after-sales quantity in the inventory data and the inputted unit price after the revision, the revision for the quantity after the sale. Creates current stock purchase black data for correcting the normal purchase data corresponding to the purchase at the previous unit price to the normal purchase data corresponding to the purchase at the revised unit price. Black data creating means, inventory valuation difference calculating means for calculating the sum of the amount in the current stock purchase red data and the amount in the current stock purchase black data as the inventory valuation difference, and Sales volume for the product and Sales purchase for canceling the normal purchase data corresponding to the purchase of the product at the unit price before the revision, including the amount calculated based on the input unit price before the revision. Sales purchase red data creating means for creating red data, and an amount calculated based on the input sales quantity and the input unit price after the input for the product, the sales quantity for the product before the revision. Sales purchase black data creation for creating sales purchase black data for correcting the normal purchase data corresponding to the purchase at the unit price of the above to the normal purchase data corresponding to the purchase at the revised unit price Means, the cost of sales difference calculating means for calculating the sum of the amount in the sales purchased red data and the amount in the sales purchased black data as the cost of sales difference, and the inventory valuation difference calculating means Said The journal creation for creating the journal including the inventory valuation difference, the cost of sales difference calculated by the cost of sales difference calculation means, and the purchase difference corresponding to the sum of the inventory valuation difference and the cost of sales difference And means.

また、本発明に係る仕訳作成装置は、前記商品が、鉄鋼商品であり、前記単価が、前記商品の仕入先に相当する鉄鋼メーカーと前記商品の売上先に相当する需要家との間で取り決めされるものであること、を特徴とする。   In the journal creation device according to the present invention, the product is a steel product, and the unit price is between a steel maker corresponding to a supplier of the product and a consumer corresponding to a sales destination of the product. Is to be negotiated.

また、本発明に係る仕訳作成方法は、制御部を備える情報処理装置で実行される、仕入れた商品のうちの一部の売上後に前記商品についての仕入の単価が改定された場合において、前記仕入れた商品の仕入金額に関して改定前の単価と改定後の単価で計算した場合の差額である仕入差額と、売り上げた前記商品の売上原価金額に関して改定前の単価と改定後の単価で計算した場合の差額である売上原価差額と、前記商品の前記売上後の数量の在庫評価額に関して改定前の単価と改定後の単価で計算した場合の差額である在庫評価差額と、を含む仕訳を作成する仕訳作成方法であって、前記制御部で実行される、前記商品についての前記売上後の数量と前記改定前の単価とを含む在庫データ中の前記売上後の数量と前記在庫データ中の前記改定前の単価とに基づき算出される金額を含む、前記商品を前記売上後の数量分前記改定前の単価で仕入れた分に対応する通常仕入データを帳消しにするための現在庫仕入赤データを作成する現在庫仕入赤データ作成ステップと、前記在庫データ中の前記売上後の数量と入力された前記改定後の単価とに基づき算出される金額を含む、前記売上後の数量分前記改定前の単価で仕入れた分に対応する前記通常仕入データを前記改定後の単価で仕入れた分に対応する通常仕入データに修正するための現在庫仕入黒データを作成する現在庫仕入黒データ作成ステップと、前記現在庫仕入赤データ中の前記金額と前記現在庫仕入黒データ中の前記金額との和を前記在庫評価差額として算出する在庫評価差額算出ステップと、入力された前記商品についての売上数量と入力された前記改定前の単価とに基づき算出される金額を含む、前記商品を前記売上数量分前記改定前の単価で仕入れた分に対応する通常仕入データを帳消しにするための売上仕入赤データを作成する売上仕入赤データ作成ステップと、前記入力された前記商品についての売上数量と入力された前記改定後の単価とに基づき算出される金額を含む、前記売上数量分前記改定前の単価で仕入れた分に対応する前記通常仕入データを前記改定後の単価で仕入れた分に対応する通常仕入データに修正するための売上仕入黒データを作成する売上仕入黒データ作成ステップと、前記売上仕入赤データ中の前記金額と前記売上仕入黒データ中の前記金額との和を前記売上原価差額として算出する売上原価差額算出ステップと、前記在庫評価差額算出ステップで算出した前記在庫評価差額と、前記売上原価差額算出ステップで算出した前記売上原価差額と、当該在庫評価差額と当該売上原価差額との和に相当する前記仕入差額と、を含む前記仕訳を作成する仕訳作成ステップと、を含むこと、を特徴とする。   Further, the journal creation method according to the present invention is executed by an information processing apparatus including a control unit, and when the unit price of the purchase of the commodity is revised after the sale of a part of the purchased commodity, Calculates the purchase difference, which is the difference between the unit price before and after the revision of the purchase price of the purchased product, and the unit price before and after the revision of the cost of sales of the sold product. A journal including a cost of sales difference, which is a difference in the case, and an inventory valuation difference, which is a difference when the inventory valuation of the after-sales quantity of the product is calculated using the unit price before the revision and the unit price after the revision. The journal creation method to be created, wherein the after-sales quantity in the inventory data and the inventory data in the inventory data including the after-sales quantity and the unit price before the revision for the product, executed by the control unit. Said revision Including the amount calculated based on the unit price of, the current warehouse purchase red data for canceling the normal purchase data corresponding to the purchase amount of the product at the unit price before the revision by the quantity after the sale A current warehouse purchase red data creating step to be created, and an amount calculated based on the after-sales quantity in the inventory data and the inputted unit price after the revision, the quantity after the sale before the revision. The current warehouse purchase black for creating the current warehouse purchase black data for correcting the normal purchase data corresponding to the purchase at the unit price of the above to the normal purchase data corresponding to the purchase at the revised unit price A data creation step, a stock valuation difference calculating step of calculating the sum of the amount in the current stock purchase red data and the amount in the current stock purchase black data as the stock valuation difference, and About the product Including an amount calculated based on the above quantity and the input unit price before the revision, and for canceling the normal purchase data corresponding to the amount of the product purchased at the unit price before the revision for the sales volume. A sales purchase red data creating step of creating sales purchase red data; and an amount calculated based on the input sales amount of the product and the input unit price after the revision. Sales purchase for creating sales purchase black data for correcting the normal purchase data corresponding to the purchase at the unit price before the revision to the normal purchase data corresponding to the purchase at the unit price after the revision A black data creation step, a sales cost difference calculating step of calculating the sum of the amount in the sales purchased red data and the amount in the sales purchased black data as the cost of sales difference, and the inventory valuation difference Including the inventory valuation difference calculated in the calculation step, the cost of sales difference calculated in the cost of sales difference calculation step, and the purchase difference corresponding to the sum of the inventory valuation difference and the cost of sales difference. And a journal creation step of creating journals.

また、本発明に係る仕訳作成プログラムは、制御部を備える情報処理装置に実行させるための、仕入れた商品のうちの一部の売上後に前記商品についての仕入の単価が改定された場合において、前記仕入れた商品の仕入金額に関して改定前の単価と改定後の単価で計算した場合の差額である仕入差額と、売り上げた前記商品の売上原価金額に関して改定前の単価と改定後の単価で計算した場合の差額である売上原価差額と、前記商品の前記売上後の数量の在庫評価額に関して改定前の単価と改定後の単価で計算した場合の差額である在庫評価差額と、を含む仕訳を作成する仕訳作成プログラムであって、前記制御部に実行させるための、前記商品についての前記売上後の数量と前記改定前の単価とを含む在庫データ中の前記売上後の数量と前記在庫データ中の前記改定前の単価とに基づき算出される金額を含む、前記商品を前記売上後の数量分前記改定前の単価で仕入れた分に対応する通常仕入データを帳消しにするための現在庫仕入赤データを作成する現在庫仕入赤データ作成ステップと、前記在庫データ中の前記売上後の数量と入力された前記改定後の単価とに基づき算出される金額を含む、前記売上後の数量分前記改定前の単価で仕入れた分に対応する前記通常仕入データを前記改定後の単価で仕入れた分に対応する通常仕入データに修正するための現在庫仕入黒データを作成する現在庫仕入黒データ作成ステップと、前記現在庫仕入赤データ中の前記金額と前記現在庫仕入黒データ中の前記金額との和を前記在庫評価差額として算出する在庫評価差額算出ステップと、入力された前記商品についての売上数量と入力された前記改定前の単価とに基づき算出される金額を含む、前記商品を前記売上数量分前記改定前の単価で仕入れた分に対応する通常仕入データを帳消しにするための売上仕入赤データを作成する売上仕入赤データ作成ステップと、前記入力された前記商品についての売上数量と入力された前記改定後の単価とに基づき算出される金額を含む、前記売上数量分前記改定前の単価で仕入れた分に対応する前記通常仕入データを前記改定後の単価で仕入れた分に対応する通常仕入データに修正するための売上仕入黒データを作成する売上仕入黒データ作成ステップと、前記売上仕入赤データ中の前記金額と前記売上仕入黒データ中の前記金額との和を前記売上原価差額として算出する売上原価差額算出ステップと、前記在庫評価差額算出ステップで算出した前記在庫評価差額と、前記売上原価差額算出ステップで算出した前記売上原価差額と、当該在庫評価差額と当該売上原価差額との和に相当する前記仕入差額と、を含む前記仕訳を作成する仕訳作成ステップと、を含むこと、を特徴とする。   Further, the journal creation program according to the present invention, in order to be executed by an information processing device including a control unit, when the unit price of the purchase of the commodity is revised after the sale of a part of the purchased commodity, With respect to the purchase price of the purchased product, the purchase difference which is a difference when calculated by the unit price before revision and the unit price after revision, and the unit price before revision and the unit price after revision regarding the cost of sales of the sold product. A journal including a cost of sales difference, which is a difference when calculated, and an inventory valuation difference, which is a difference when the inventory valuation of the quantity of the product after sale is calculated using a unit price before revision and a unit price after revision. A journal creation program that creates the after-sales quantity and the before-sales quantity in inventory data including the after-sales quantity of the product and the unit price before the revision for the control unit to execute. Including an amount calculated based on the unit price before the revision in the inventory data, and for canceling the normal purchase data corresponding to the purchase of the product at the unit price before the revision by the quantity after the sale. A current warehouse purchase red data creating step of creating current warehouse purchase red data, and the sales including an amount calculated based on the after-sales quantity and the input unit price after the revision in the inventory data. The current stock purchase black data for correcting the normal purchase data corresponding to the purchase at the unit price before the revision to the normal purchase data corresponding to the purchase at the unit price after the revision by the later quantity. A current stock purchase black data creating step to be created, and a stock valuation difference calculation for calculating a sum of the amount in the current stock purchase red data and the amount in the current stock purchase black data as the stock valuation difference. Step and input Normal purchase data corresponding to the amount of the product purchased at the unit price before the revision including the amount calculated based on the sales volume of the product and the input unit price before the revision. A sales purchase red data creating step of creating sales purchase red data for canceling, and an amount calculated based on the input sales volume and the revised unit price of the input product. Included is sales purchase black data for correcting the normal purchase data corresponding to the purchase at the unit price before the revision by the unit price before the revision to the normal purchase data corresponding to the purchase at the unit price after the revision. And a sales cost difference calculating step of calculating the sum of the amount in the sales purchase red data and the amount in the sales purchase black data as the cost of sales difference. The inventory valuation difference calculated in the inventory valuation difference calculation step, the cost of sales difference calculated in the cost of sales difference calculation step, and the sum of the inventory valuation difference and the cost of sales difference. And a journal creation step of creating the journal including a purchase difference.

本発明によれば、仕入金額に関して改定前の単価と改定後の単価で計算した場合の差額である仕入差額および前記商品の売上後の数量の在庫評価額に関して改定前の単価と改定後の単価で計算した場合の差額である在庫評価差額を含む仕訳を作成できるという効果を奏する。   According to the present invention, with respect to the purchase price, the purchase price, which is the difference between the unit price before the revision and the price after the revision, and the inventory evaluation value of the quantity of the product sold, the unit price before the revision and the price after the revision. This has the effect of creating a journal including the inventory valuation difference, which is the difference calculated when the unit price is calculated.

図1は、仕訳作成装置の構成の一例を示すブロック図である。FIG. 1 is a block diagram illustrating an example of the configuration of a journal creation device. 図2は、取引区分マスタの一例を示す図である。FIG. 2 is a diagram illustrating an example of the transaction category master. 図3は、最終的に作成される仕訳のイメージの一例を示す図である。FIG. 3 is a diagram illustrating an example of an image of a journal created finally. 図4は、仕入入力の流れの一例を示す図である。FIG. 4 is a diagram showing an example of the flow of purchase input. 図5は、売上入力の流れの一例を示す図である。FIG. 5 is a diagram illustrating an example of the flow of sales input. 図6は、単価改定処理画面の一例を示す図である。FIG. 6 is a diagram illustrating an example of the unit price revision processing screen. 図7は、2段階仕訳作成における単価改定処理の流れの一例を示す図である。FIG. 7 is a diagram showing an example of the flow of unit price revision processing in two-step journal creation. 図8は、2段階仕訳作成における単価改定処理により作成される仕訳の一例を示す図である。FIG. 8 is a diagram illustrating an example of a journal created by unit price revision processing in the two-stage journal creation. 図9は、2段階仕訳作成における調整伝票の入力処理の流れの一例を示す図である。FIG. 9 is a diagram showing an example of the flow of the input processing of the adjustment slip in the two-stage journal creation. 図10は、2段階仕訳作成における調整伝票の入力処理により作成される仕訳の一例を示す図である。FIG. 10 is a diagram showing an example of the journal created by the input processing of the adjustment slip in the two-stage journal creation. 図11は、全自動仕訳作成の流れの一例を示す図である。FIG. 11 is a diagram showing an example of the flow of fully automatic journal creation. 図12は、全自動仕訳作成により作成される仕訳の一例を示す図である。FIG. 12 is a diagram illustrating an example of a journal created by fully automatic journal creation. 図13は、2段階仕訳作成と全自動仕訳作成とで共通して作成される最終的な仕訳の一例を示す図である。FIG. 13 is a diagram illustrating an example of final journals commonly created in two-stage journal creation and fully automatic journal creation.

以下に、仕訳作成装置、仕訳作成方法および仕訳作成プログラムの実施形態を、図面に基づいて詳細に説明する。なお、本実施形態により本発明が限定されるものではない。   Hereinafter, embodiments of a journal creation device, a journal creation method, and a journal creation program will be described in detail with reference to the drawings. The present invention is not limited by the embodiment.

[1.概要]
鉄鋼業界等においては、仕入および売上の計上後、数カ月経過した後に、高炉メーカーと需要家との間で取り決めた仕入単価の変動に伴い、流通/卸業者も過去の取引を遡って単価の改定を実施するのが商慣習となっている。
[1. Overview]
In the steel industry, etc., several months after purchase and sales are booked, distribution / wholesalers go back to past transactions, following the fluctuations in purchase unit prices negotiated between blast furnace manufacturers and customers. It is business practice to revise the rules.

ここで、鉄鋼業界では、改定後の仕入単価を在庫単価としたいため、元入庫伝票の数量に対してではなく、在庫残となっている数量に対して元伝票を元に赤黒伝票を発生させることが要求される。   Here, the steel industry wants to use the revised purchase unit price as the inventory unit price, so a red-black voucher is generated based on the original voucher for the quantity remaining in stock, not for the quantity of the original receipt voucher. Is required.

しかしながら、従来における仕入単価を自動で改定する処理(単価遡及処理)においては、前記元入庫伝票の数量に対して赤黒伝票を発生させることはできても(言い換えると、前記元入庫伝票の数量に基づく仕訳の自動作成はできても)、前記在庫残の数量に対して赤黒伝票を発生させることができず(言い換えると、前記在庫残の数量に基づく仕訳の自動作成はできず)、鉄鋼業界の要望に応えることができるものではなかった。   However, in the conventional processing of automatically revising the purchase unit price (unit price retroactive processing), even if a red-black slip can be generated for the quantity of the former receipt slip (in other words, the quantity of the former receipt slip) Cannot automatically generate journals based on the quantity of unstocked inventory (in other words, cannot automatically create journals based on the quantity of unstocked inventory). It could not meet the demands of the industry.

そこで、本実施形態においては、例えば、単価遡及後に、在庫が払出済となっている債務差額が残るため、ユーザにてその払出数量分の調整伝票を入力できるようにした。これにより、本実施形態においては、例えば、単価遡及処理で発生する一連の仕訳を自動で作成できるようにした(言い換えると、調整伝票の入力を行うことにより、前記元入庫伝票の数量に基づく仕訳も前記在庫残の数量に基づく仕訳も自動作成できるようにした)。以下、具体的な構成および動作について説明する。なお、本発明における詳細な動作は、以下の[3−2.在庫評価替ベースでの2段階仕訳作成]で説明する。   Therefore, in the present embodiment, for example, after the unit price is retroactive, the debt difference whose stock has been paid out remains, so that the user can input an adjustment slip corresponding to the paid out quantity. Accordingly, in the present embodiment, for example, a series of journals generated in the unit price retroactive processing can be automatically created (in other words, by inputting the adjustment slip, the journal based on the quantity of the original receipt slip is input. In addition, a journal based on the quantity of the remaining stock can be automatically created.) Hereinafter, a specific configuration and operation will be described. The detailed operation in the present invention is described in [3-2. Two-stage journal creation based on inventory valuation replacement].

[2.構成]
本実施形態に係る仕訳作成装置100の構成の一例について、図1を参照して説明する。図1は、仕訳作成装置100の構成の一例を示すブロック図である。
[2. Constitution]
An example of the configuration of the journal creation device 100 according to the present embodiment will be described with reference to FIG. FIG. 1 is a block diagram illustrating an example of the configuration of the journal creation device 100.

仕訳作成装置100は、市販のデスクトップ型パーソナルコンピュータである。なお、仕訳作成装置100は、デスクトップ型パーソナルコンピュータのような据置型情報処理装置に限らず、市販されているノート型パーソナルコンピュータ、PDA(Personal Digital Assistants)、スマートフォン、タブレット型パーソナルコンピュータなどの携帯型情報処理装置であってもよい。   The journal creation device 100 is a commercially available desktop personal computer. Note that the journal creation device 100 is not limited to a stationary information processing device such as a desktop personal computer, but may be a portable personal computer such as a commercially available notebook personal computer, PDA (Personal Digital Assistants), smartphone, tablet personal computer, or the like. It may be an information processing device.

仕訳作成装置100は、制御部102と通信インターフェース部104と記憶部106と入出力インターフェース部108と、を備えている。仕訳作成装置100が備えている各部は、任意の通信路を介して通信可能に接続されている。   The journal creation device 100 includes a control unit 102, a communication interface unit 104, a storage unit 106, and an input / output interface unit 108. The units included in the journal creation device 100 are communicably connected via an arbitrary communication path.

通信インターフェース部104は、ルータ等の通信装置および専用線等の有線または無線の通信回線を介して、仕訳作成装置100をネットワーク300に通信可能に接続する。通信インターフェース部104は、他の装置と通信回線を介してデータを通信する機能を有する。ここで、ネットワーク300は、仕訳作成装置100とサーバ200とを相互に通信可能に接続する機能を有し、例えばインターネットやLAN(Local Area Network)等である。なお、後述する各種マスタ等のデータは、例えばサーバ200に格納されてもよい。   The communication interface unit 104 communicably connects the journal creation device 100 to the network 300 via a communication device such as a router and a wired or wireless communication line such as a dedicated line. The communication interface unit 104 has a function of communicating data with another device via a communication line. Here, the network 300 has a function of connecting the journal creation device 100 and the server 200 so that they can communicate with each other, and is, for example, the Internet or a LAN (Local Area Network). Note that data of various masters and the like described below may be stored in the server 200, for example.

入出力インターフェース部108には、入力装置112および出力装置114が接続されている。出力装置114には、モニタ(家庭用テレビを含む)の他、スピーカやプリンタを用いることができる。入力装置112には、キーボード、マウス、及びマイクの他、マウスと協働してポインティングデバイス機能を実現するモニタを用いることができる。なお、以下では、出力装置114をモニタ114とし、入力装置112をキーボード112またはマウス112として記載する場合がある。   An input device 112 and an output device 114 are connected to the input / output interface unit 108. As the output device 114, in addition to a monitor (including a home television), a speaker or a printer can be used. As the input device 112, in addition to a keyboard, a mouse, and a microphone, a monitor that realizes a pointing device function in cooperation with a mouse can be used. In the following, the output device 114 may be described as a monitor 114 and the input device 112 may be described as a keyboard 112 or a mouse 112.

記憶部106には、各種のデータベース、テーブルおよびファイルなどが格納される。記憶部106には、OS(Operating System)と協働してCPU(Central Processing Unit)に命令を与えて各種処理を行うためのコンピュータプログラムが記録される。記憶部106として、例えば、RAM(Random Access Memory)・ROM(Read Only Memory)等のメモリ装置、ハードディスクのような固定ディスク装置、フレキシブルディスク、および光ディスク等を用いることができる。   The storage unit 106 stores various databases, tables, files, and the like. In the storage unit 106, a computer program for cooperating with an OS (Operating System) and giving instructions to a CPU (Central Processing Unit) to perform various processes is recorded. As the storage unit 106, for example, a memory device such as a RAM (Random Access Memory) and a ROM (Read Only Memory), a fixed disk device such as a hard disk, a flexible disk, an optical disk, and the like can be used.

記憶部106は、例えば、仕入データ106aと、売上データ106bと、移動データ106cと、在庫データ106dと、取引区分マスタ106eと、を備えている。仕入データ106aは、通常仕入データ106a1、現在庫仕入赤データ106a2、現在庫仕入黒データ106a3、売上仕入赤データ106a4、売上仕入黒データ106a5、元仕入赤データ106a6および元仕入黒データ106a7という7種類の仕入データからなる。以下、本実施形態に係る仕訳作成装置100の処理概要および本明細書における用語の意味について説明した後に、各マスタおよび各データにおける具体的内容を説明する。   The storage unit 106 includes, for example, purchase data 106a, sales data 106b, movement data 106c, inventory data 106d, and a transaction classification master 106e. The purchase data 106a includes normal purchase data 106a1, current purchase red data 106a2, current purchase black data 106a3, sales purchase red data 106a4, sales purchase black data 106a5, original purchase red data 106a6, and original purchase data. It consists of seven types of purchase data, purchase black data 106a7. Hereinafter, after an outline of the processing of the journal creation device 100 according to the present embodiment and the meaning of terms in this specification are described, specific contents of each master and each data will be described.

本実施形態に係る仕訳作成装置100によれば、仕入れた商品のうちの一部の売上後に前記商品についての仕入の単価が改定された場合において、前記仕入れた商品の仕入金額に関して改定前の単価と改定後の単価で計算した場合の差額である仕入差額(債務調整額)と、売り上げた前記商品の売上原価金額に関して改定前の単価と改定後の単価で計算した場合の差額である売上原価差額(払出済額)と、前記商品の前記売上後の数量の在庫評価額に関して改定前の単価と改定後の単価で計算した場合の差額である在庫評価差額(在庫調整額)と、を含む仕訳を作成することができる。   According to the journal entry creating device 100 according to the present embodiment, when the unit price of the purchase of the commodity is revised after the sale of a part of the purchased commodity, the purchase price of the purchased commodity is not revised. The difference between the purchase price (debt adjustment amount), which is the difference between the unit price of the product and the revised unit price, and the difference between the unit price before the revision and the unit price after the revision regarding the cost of sales of the sold product A certain cost of sales difference (paid amount), and a difference in inventory valuation (inventory adjustment amount), which is the difference between the unit price before and after the unit price after the revision regarding the inventory valuation amount of the product after sale. , Can be created.

前記商品は、仕入単価の遡及適用を行う対象となり得る商品であればいかなるものであってもよいが、例えば、鉄鋼商品、化学商品および石油商品等である。前記商品が前記鉄鋼商品である場合、前記単価は、例えば、前記商品の仕入先に相当する鉄鋼メーカー(例えば、高炉メーカー)と前記商品の売上先に相当する需要家との間で取り決めされるものである。なお、本明細書において、単に「単価」と記載した場合、仕入単価のことを指すものとする。   The product may be any product as long as it can be a target of retroactive application of the purchase unit price, and is, for example, a steel product, a chemical product, and a petroleum product. When the product is the steel product, the unit price is negotiated, for example, between a steel maker corresponding to a supplier of the product (eg, a blast furnace maker) and a consumer corresponding to a seller of the product. Things. In addition, in this specification, when it describes simply as "unit price", it shall mean the purchase unit price.

本発明において、仕訳作成装置100は、例えば、鉄鋼流通において鉄鋼メーカーと需要家の間に存在する流通/卸業者等で使用されるものである。   In the present invention, the journal creation device 100 is used, for example, in a distribution / wholesale trader existing between a steel maker and a customer in steel distribution.

仕入データ106aは、図4、7、9および11に示すように、例えば、仕入番号と、取引区分と、前記商品の仕入数量と、前記商品の仕入単価と、前記商品の仕入金額と、移動番号と、備考欄と、等を含む。前記取引区分は、以下の取引区分マスタ106eの説明箇所で詳細に説明する。また、前記移動番号は、仕入データ106aのうち、元仕入赤データ106a6および元仕入黒データ106a7という2つのデータのみが含むものであり、当該2つのデータと後述する移動データ106cとを紐付けるための番号である。   As shown in FIGS. 4, 7, 9 and 11, the purchase data 106a includes, for example, a purchase number, a transaction category, a purchase quantity of the product, a purchase unit price of the product, and a purchase price of the product. Includes the deposit amount, transfer number, remarks column, etc. The transaction category will be described in detail in the following description of the transaction category master 106e. The transfer number includes only two data of the original purchase red data 106a6 and the original purchase black data 106a7 among the purchase data 106a, and the two data and the movement data 106c described later are included. It is a number for linking.

前記7種類の仕入データの特性について説明する。通常仕入データ106a1は、日々の通常の仕入に関するデータである。現在庫仕入赤データ106a2は、前記商品を前記売上後の数量分前記改定前の単価で仕入れた分に対応する通常仕入データ106a1を帳消しにするためのデータである。現在庫仕入黒データ106a3は、前記売上後の数量分前記改定前の単価で仕入れた分に対応する通常仕入データ106a1を前記改定後の単価で仕入れた分に対応する通常仕入データ106a1に修正するためのデータである。売上仕入赤データ106a4は、前記商品を前記売上数量分前記改定前の単価で仕入れた分に対応する通常仕入データ106a1を帳消しにするためのデータである。売上仕入黒データ106a5は、前記売上数量分前記改定前の単価で仕入れた分に対応する通常仕入データ106a1を前記改定後の単価で仕入れた分に対応する通常仕入データ106a1に修正するためのデータである。元仕入赤データ106a6は、前記商品を前記仕入数量分前記改定前の単価で仕入れた分に対応する通常仕入データ106a1を帳消しにするためのデータである。元仕入黒データ106a7は、前記仕入数量分前記改定前の単価で仕入れた分に対応する通常仕入データ106a1を前記改定後の単価で仕入れた分に対応する通常仕入データ106a1に修正するためのデータである。   The characteristics of the seven types of purchase data will be described. The normal purchase data 106a1 is data relating to daily normal purchase. The current stock purchase red data 106a2 is data for canceling the normal purchase data 106a1 corresponding to the quantity of the product purchased at the unit price after the sale at the unit price before the revision. The current warehouse purchase black data 106a3 is the normal purchase data 106a1 corresponding to the amount purchased after the sales at the unit price before the revision and the normal purchase data 106a1 corresponding to the amount purchased at the unit price before the revision. This is the data to be corrected. The sales purchase red data 106a4 is data for canceling the normal purchase data 106a1 corresponding to the sales of the product at the unit price before the revision in the sales quantity. The sales purchase black data 106a5 corrects the normal purchase data 106a1 corresponding to the purchase at the unit price before the revision for the sales quantity to the normal purchase data 106a1 corresponding to the purchase at the unit price after the revision. Data for The original purchase red data 106a6 is data for canceling the normal purchase data 106a1 corresponding to the purchase amount of the product at the purchase price and the unit price before the revision. The original purchase black data 106a7 is obtained by correcting the normal purchase data 106a1 corresponding to the purchase amount corresponding to the purchase quantity at the unit price before the revision to the normal purchase data 106a1 corresponding to the purchase amount at the unit price after the revision. This is the data for

売上データ106bは、図5に示すように、例えば、売上番号と、前記取引区分と、前記商品の売上数量と、前記商品の売上単価と、前記商品の売上金額と、前記商品の売上原価単価と、前記商品の売上原価金額と、等を含む。   As shown in FIG. 5, the sales data 106b includes, for example, a sales number, the transaction category, the sales quantity of the product, the sales price of the product, the sales price of the product, and the cost of sales of the product. And the cost of sales of the product.

移動データ106cは、図11に示すように、例えば、前記移動番号と、前記取引区分と、前記商品の数量と、前記商品の単価と、前記在庫評価差額(金額)と、等を含む。   As shown in FIG. 11, the movement data 106c includes, for example, the movement number, the transaction category, the quantity of the product, the unit price of the product, the inventory valuation difference (amount), and the like.

在庫データ106dは、図4、5、7、9および11に示すように、例えば、前記商品についての在庫数量と、前記商品についての在庫単価と、前記商品についての在庫金額と、等を含む。在庫データ106dの内容は、随時更新されていくものである。例えば、図4の在庫データ106dには、在庫数量として前記商品の仕入数量10が設定され、在庫単価として仕入時の単価(改定前の単価)80円が設定されているが、仕入数量10トンのうち6トンが売り上げられると、図5の在庫データ106dに示すように、在庫数量が売上後の数量である4トンに更新される。そして、仕入単価が80円から100に改定されると、図7、9および11に示すように、在庫単価が改定後の仕入単価100円に更新される。   As shown in FIGS. 4, 5, 7, 9 and 11, the stock data 106d includes, for example, the stock quantity of the product, the unit price of the product, the stock amount of the product, and the like. The contents of the inventory data 106d are updated as needed. For example, in the stock data 106d in FIG. 4, the purchase quantity 10 of the product is set as the stock quantity, and the unit price at the time of purchase (unit price before revision) 80 yen is set as the stock unit price. When 6 tons are sold out of the quantity of 10 tons, the inventory quantity is updated to 4 tons, which is the quantity after sales, as shown in the inventory data 106d of FIG. Then, when the purchase unit price is revised from 80 yen to 100, the stock unit price is updated to the revised purchase unit price of 100 yen, as shown in FIGS.

取引区分マスタ106eは、在庫データ106d中の在庫単価の更新の制御および作成される仕訳の勘定科目の制御を行うための制御マスタである。取引区分マスタ106eは、図2に示すように、例えば、データ区分と、前記取引区分と、原価計算対象フラグと、勘定科目情報を保持する備考欄と、等を含む。   The transaction classification master 106e is a control master for controlling the update of the inventory unit price in the inventory data 106d and controlling the accounts of journals to be created. As shown in FIG. 2, the transaction category master 106e includes, for example, a data category, the transaction category, a cost calculation target flag, a remarks column for holding account information, and the like.

前記データ区分は、制御対象となるデータを示す区分であり、仕入データ106aを示す「仕入」、売上データ106bを示す「売上」および移動データ106cを示す「移動」のいずれかである。   The data section is a section indicating data to be controlled, and is one of “purchase” indicating purchase data 106a, “sales” indicating sales data 106b, and “movement” indicating movement data 106c.

前記取引区分は、前記原価計算対象フラグおよび勘定科目情報を保持する備考欄の組合せのパターンを指定するための区分である。仕入データ106a、売上データ106bおよび移動データ106cは、データの種類に応じて異なる前記取引区分を有するので、異なる前記パターンを指定することができる。   The transaction category is a category for designating a combination pattern of a remarks column holding the cost calculation target flag and the account item information. Since the purchase data 106a, the sales data 106b, and the movement data 106c have different transaction categories depending on the type of data, the different patterns can be designated.

前記原価計算対象フラグは、在庫データ106d中の在庫単価の更新を制御するフラグである。前記原価計算対象フラグは、具体的には、在庫データ106d中の在庫単価として新たな在庫単価を設定することを示すフラグ(対象フラグ)、または、在庫データ106d中の在庫単価として直前の在庫データ106d中の在庫単価をそのまま引き継ぐことを示すフラグ(対象外フラグ)である。   The cost calculation target flag is a flag for controlling updating of the unit price of inventory in the inventory data 106d. Specifically, the cost calculation target flag is a flag (target flag) indicating that a new inventory unit price is set as the inventory unit price in the inventory data 106d, or the immediately preceding inventory data is set as the inventory unit price in the inventory data 106d. This is a flag (non-target flag) indicating that the inventory unit price in 106d is taken over as it is.

前記勘定科目情報は、作成される仕訳の勘定科目を制御するため情報である。前記勘定科目情報は、具体的には、作成される仕訳の借方科目として設定される借方勘定科目情報および作成される仕訳の貸方科目として設定される貸方勘定科目情報である。   The account information is information for controlling an account of a journal to be created. The account item information is, specifically, debit account item information set as a debit item of the created journal and credit account item information set as a credit item of the created journal.

制御部102は、仕訳作成装置100を統括的に制御するCPU等である。制御部102は、OS等の制御プログラム・各種の処理手順等を規定したプログラム・所要データなどを格納するための内部メモリを有し、格納されているこれらのプログラムに基づいて種々の情報処理を実行する。   The control unit 102 is a CPU or the like that controls the journal creation device 100 as a whole. The control unit 102 has an internal memory for storing a control program such as an OS, a program defining various processing procedures, required data, and the like, and performs various types of information processing based on the stored programs. Execute.

制御部102は、機能概念的に、例えば、(1)前記商品についての前記売上後の数量と前記改定前の単価とを含む在庫データ中の前記売上後の数量と前記在庫データ中の前記改定前の単価とに基づき算出される金額を含む、前記商品を前記売上後の数量分前記改定前の単価で仕入れた分に対応する通常仕入データを帳消しにするための現在庫仕入赤データを作成する現在庫仕入赤データ作成手段としての現在庫仕入赤データ作成部102aと、(2)前記在庫データ中の前記売上後の数量と入力された前記改定後の単価とに基づき算出される金額を含む、前記売上後の数量分前記改定前の単価で仕入れた分に対応する前記通常仕入データを前記改定後の単価で仕入れた分に対応する通常仕入データに修正するための現在庫仕入黒データを作成する現在庫仕入黒データ作成手段としての現在庫仕入黒データ作成部102bと、(3)前記現在庫仕入赤データ中の前記金額と前記現在庫仕入黒データ中の前記金額との和を前記在庫評価差額として算出する在庫評価差額算出手段(前記商品についての前記売上後の数量と前記改定前の単価とを含む在庫データ中の前記売上後の数量と前記在庫データ中の前記改定前の単価とに基づき算出される金額と、前記在庫データ中の前記売上後の数量と入力された前記改定後の単価とに基づき算出される金額と、の和を前記在庫評価差額として算出する在庫評価差額算出手段)としての在庫評価差額算出部102cと、(4)入力された前記商品についての売上数量と入力された前記改定前の単価とに基づき算出される金額を含む、前記商品を前記売上数量分前記改定前の単価で仕入れた分に対応する通常仕入データを帳消しにするための売上仕入赤データを作成する売上仕入赤データ作成手段としての売上仕入赤データ作成部102dと、(5)前記入力された前記商品についての売上数量と入力された前記改定後の単価とに基づき算出される金額を含む、前記売上数量分前記改定前の単価で仕入れた分に対応する前記通常仕入データを前記改定後の単価で仕入れた分に対応する通常仕入データに修正するための売上仕入黒データを作成する売上仕入黒データ作成手段としての売上仕入黒データ作成部102eと、(6)前記売上仕入赤データ中の前記金額と前記売上仕入黒データ中の前記金額との和を前記売上原価差額として算出する売上原価差額算出手段としての売上原価差額算出部102fと、(7)前記商品についての仕入数量と前記改定前の単価とを含む通常仕入データ中の前記仕入数量と前記通常仕入データ中の前記改定前の単価とに基づき算出される金額を含む、前記商品を前記仕入数量分前記改定前の単価で仕入れた分に対応する通常仕入データを帳消しにするための元仕入赤データを作成する元仕入赤データ作成手段としての元仕入赤データ作成部102gと、(8)前記通常仕入データ中の前記仕入数量と入力された前記改定後の単価とに基づき算出される金額を含む、前記仕入数量分前記改定前の単価で仕入れた分に対応する前記通常仕入データを前記改定後の単価で仕入れた分に対応する通常仕入データに修正するための元仕入黒データを作成する元仕入黒データ作成手段としての元仕入黒データ作成部102hと、(9)前記元仕入赤データ中の前記金額と前記元仕入黒データ中の前記金額との和を前記仕入差額として算出する仕入差額算出手段としての仕入差額算出部102iと、(10)前記在庫評価差額算出手段で算出した前記在庫評価差額と、前記売上原価差額算出手段で算出した前記売上原価差額と、当該在庫評価差額と当該売上原価差額との和に相当する前記仕入差額と、を含む前記仕訳を作成する仕訳作成手段(前記仕入差額算出手段で算出した前記仕入差額と、前記在庫評価差額算出手段で算出した前記在庫評価差額と、当該仕入差額から当該在庫評価差額を減じた値に相当する前記売上原価差額と、を含む前記仕訳を作成する仕訳作成手段)としての仕訳作成部102jと、を備えている。   The control unit 102 functionally conceptually includes, for example, (1) the post-sales quantity in the inventory data including the post-sales quantity of the product and the unit price before the revision, and the revision in the inventory data. The current warehouse purchase red data for canceling the normal purchase data corresponding to the purchase amount of the product at the unit price before the revision, including the amount calculated based on the previous unit price, including the amount calculated based on the previous unit price. And (2) a calculation based on the after-sales quantity in the inventory data and the input unit price after the revision. In order to correct the normal purchase data corresponding to the amount purchased at the unit price before the revision, the normal purchase data corresponding to the amount purchased at the unit price before the revision, including the amount after the sale, Create current warehouse purchase black data (3) The current warehouse purchase black data creation unit 102b as a current warehouse purchase black data creation unit, and (3) the amount in the current warehouse purchase black data and the amount in the current warehouse purchase black data. Inventory valuation difference calculating means for calculating a sum as the inventory valuation difference (the quantity after sale in inventory data including the quantity after sale of the product and the unit price before revision) and the revision in the inventory data. The sum of the amount calculated based on the previous unit price and the amount calculated based on the after-sales quantity in the inventory data and the input unit price after the revision is calculated as the inventory valuation difference. (4) an inventory valuation difference calculation unit 102c as an inventory valuation difference calculation means) and (4) the product including an amount calculated based on the input sales volume of the product and the input unit price before the revision. Previous Sales purchase red data creation unit 102d as sales purchase red data creation means for creating sales purchase red data for canceling the normal purchase data corresponding to the amount purchased at the unit price before the revision. And (5) corresponding to the amount purchased at the unit price before the revision, including the amount calculated based on the sales volume of the input product and the input unit price after the revision. Sales purchase black data creation means as sales purchase black data creation means for creating sales purchase black data for correcting the normal purchase data to the normal purchase data corresponding to the purchase at the revised unit price A unit 102e, and (6) a cost of sales difference calculating means for calculating the sum of the amount in the sales purchased red data and the amount in the sales purchased black data as the cost of sales difference means Unit 102f and (7) calculated based on the purchase quantity in the normal purchase data including the purchase quantity of the product and the unit price before the revision and the unit price before the revision in the normal purchase data. Original purchase red data creation for creating original purchase red data for canceling normal purchase data corresponding to the purchase amount of the product at the unit price before the revision including the purchase amount And (8) the purchase quantity including an amount calculated based on the purchase quantity in the normal purchase data and the input unit price after the revision. The original purchase data for creating the original purchase black data for correcting the normal purchase data corresponding to the purchase at the unit price before the revision to the normal purchase data corresponding to the purchase at the unit price after the revision. Original black data creation as means for creating black data Part 102h, (9) purchase difference calculation as purchase difference calculation means for calculating the sum of the amount in the original purchase red data and the amount in the original purchase black data as the purchase difference (102) the sum of the inventory valuation difference calculated by the inventory valuation difference calculation means, the cost of sales difference calculated by the cost of sales difference calculation means, and the inventory valuation difference and the cost of sales difference A journal creation means for creating the journal including the corresponding purchase difference (the purchase difference calculated by the purchase difference calculation means, the inventory valuation difference calculated by the stock valuation difference calculation means, A journal creation unit 102j as a journal creation unit for creating the journal including the cost of sales difference corresponding to a value obtained by subtracting the inventory valuation difference from the purchase difference.

[3.処理の具体例]
本項目では、本実施形態に係る処理の具体例について説明する。なお、本発明においては、前記商品は、鉄鋼商品であり、前記単価は、前記商品の仕入先に相当する高炉メーカーと前記商品の売上先に相当する需要家との間で取り決めされるものであるとする。また、本発明において、仕訳作成装置100は、鉄鋼流通において高炉メーカーと需要家の間に存在する流通/卸業者で使用されることを前提とする。
[3. Specific example of processing]
In this section, a specific example of the process according to the present embodiment will be described. In the present invention, the product is a steel product, and the unit price is determined between a blast furnace maker corresponding to a supplier of the product and a consumer corresponding to a seller of the product. And Further, in the present invention, it is assumed that the journal creation device 100 is used by a distribution / wholesaleer existing between a blast furnace manufacturer and a customer in steel distribution.

(具体的事例とマスタ設定)
具体的事例として、2018年4月に、鉄鋼について仕入数量10トンで、かつ、仕入単価80円として仕入伝票の入力を行ったとして(以下の[3−1]の(1)で詳細に説明)、同月内に、在庫となっている10トンの鉄鋼のうち6トンが使用(売上)されて4トンになったとする(以下の[3−1]の(2)で詳細に説明)。そして、2018年5月に高炉メーカーより単価改定連絡を受け、単価が100円に改定されて、改定前の単価(80円)と改定後の単価(100円)の差額が20円になったとする。この場合、債務調整額(=仕入金額に関して改定前の単価と改定後の単価で計算した場合の差額である仕入差額)は、仕入数量10トン×単価の差額20円=200円となり、在庫調整額(=鉄鋼の売上後の数量の在庫評価額に関して改定前の単価と改定後の単価で計算した場合の差額である在庫評価差額)は、売上後の数量4トン×単価の差額20円=80円となり、払出済額(=売上原価金額に関して改定前の単価と改定後の単価で計算した場合の差額である売上原価差額)は、200円−80円=120円となるが、当該債務調整額(仕入差額)の200円と当該在庫調整額(在庫評価差額)の80円と当該払出済額(売上原価差額)の120円とを含む図3に示す仕訳(より詳細には図13に示す仕訳)がどのように作成されるかについて、以下詳細に説明する。
(Specific case and master setting)
As a specific example, it is assumed that a purchase slip was input in April 2018 with a purchase quantity of 10 tons for steel and a purchase price of 80 yen ((1) in [3-1] below). It is assumed that 6 tons of the stock of 10 tons of steel were used (sales) to 4 tons in the same month (see (2) of [3-1] below). Description). In May 2018, a blast furnace maker notified us of the unit price revision, and the unit price was revised to 100 yen, and the difference between the unit price before the revision (80 yen) and the unit price after the revision (100 yen) became 20 yen. I do. In this case, the debt adjustment amount (= purchase difference, which is the difference between the purchase price and the unit price before and after the revision) is 200 tons = purchase quantity 10 tons x unit price difference 20 yen = 200 yen , The inventory adjustment amount (= the inventory valuation difference, which is the difference between the unit price before revision and the unit price after revision regarding the inventory valuation amount of steel after sales) is the difference between the quantity 4 tons after sales × unit price 20 yen = 80 yen, and the paid-out amount (= the cost of sales difference, which is the difference between the unit price before and after the revised unit price of the cost of sales) is 200 yen-80 yen = 120 yen 3 including the debt adjustment amount (purchase difference) of 200 yen, the inventory adjustment amount (inventory valuation difference) of 80 yen, and the paid-out amount (cost of sales difference) of 120 yen (more details) Shows how the journal entries shown in Fig. 13 are created. And will be described in detail below.

以下においては、最終的に作成される仕訳は共に図3に示す仕訳(より詳細には図13に示す仕訳)であるが、作成過程が異なる2つの仕訳作成方法について説明する。すなわち、以下の[3−2]においては、在庫評価替をベースとした2段階の仕訳作成について説明し、以下の[3−3]においては、契約をベースとした全自動の仕訳作成について説明する。そして、[3−2]と[3−3]の処理を行うにあたって共通する前処理を、以下の[3−1]で説明する。   In the following, the journals finally created are both the journals shown in FIG. 3 (more specifically, the journals shown in FIG. 13), but two journal creation methods having different creation processes will be described. That is, the following [3-2] describes a two-step journal creation based on inventory valuation replacement, and the following [3-3] describes a fully automatic journal creation based on a contract. I do. The pre-processing common to the processes [3-2] and [3-3] will be described in the following [3-1].

なお、本項目[3.処理の具体例]においては、取引区分マスタ106eにおける具体的内容は、図2に示すとおりであるとする。   This item [3. Specific Example of Processing], it is assumed that the specific contents in transaction category master 106e are as shown in FIG.

[3−1.前処理の内容]
本項目では、2段階の仕訳作成と全自動の仕訳作成とで共通する前処理について、詳細に説明する。
[3-1. Contents of preprocessing]
In this item, the pre-processing common to the two-stage journal creation and the fully automatic journal creation will be described in detail.

(1)仕入入力
まず、仕入入力について、図4を用いて詳細に説明する。
(1) Purchase Input First, purchase input will be described in detail with reference to FIG.

仕入数量10トンで仕入単価80円の鉄鋼を仕入れると、図4に示すように、通常仕入データ106a1の入力が行われる。   When steel with a purchase quantity of 10 tons and a purchase price of 80 yen is purchased, as shown in FIG. 4, the normal purchase data 106a1 is input.

次に、図4の在庫データ106dが以下のようにして作成される。すなわち、在庫数量としては、図4の仕入データ106a1における仕入数量10トンが設定される。また、在庫単価としては、図4の仕入データ106a1における取引区分「通常仕入」は図2の取引区分マスタ106eを参照すると原価計算対象の区分であるため、図4の仕入データ106a1における仕入単価の80円がそのまま設定される。そして、在庫金額としては、前記設定された在庫数量10トンに前記設定された在庫単価80円を乗じて自動算出された800円が設定される。   Next, the inventory data 106d of FIG. 4 is created as follows. That is, as the stock quantity, a purchase quantity of 10 tons in the purchase data 106a1 of FIG. 4 is set. Further, as the inventory unit price, the transaction category “normal purchase” in the purchase data 106a1 of FIG. 4 is a cost calculation target when referring to the transaction category master 106e of FIG. The purchase unit price of 80 yen is set as it is. As the stock price, 800 yen is automatically calculated by multiplying the set stock quantity of 10 tons by the set stock unit price of 80 yen.

そして、図4の仕入データ106a1における取引区分「通常仕入」と紐付く勘定科目は、図2の取引区分マスタ106eを参照すると、買掛金と商品である。このため、仕訳作成部102jは、図4に示すように、(1)借方科目に、「商品−在庫商品」が設定されており、(2)借方金額に、通常仕入データ106a1における仕入金額800円が設定されており、(3)貸方科目に、「買掛金−品代」が設定されており、(4)貸方金額に、借方金額に設定されている金額800円が設定されている仕訳を作成する。   Then, the account item linked to the transaction category “normal purchase” in the purchase data 106a1 in FIG. 4 is the accounts payable and the merchandise when referring to the transaction category master 106e in FIG. For this reason, as shown in FIG. 4, the journal creation unit 102j sets “(product) -stock product” in (1) debit item, and (2) purchases the debit amount in the normal purchase data 106a1. An amount of 800 yen is set, (3) “Accounts payable-goods cost” is set for the credit item, and (4) Amount of 800 yen set for the debit amount is set for the credit amount. Create journals that have

(2)売上入力
続いて、売上入力について、図5を用いて詳細に説明する。
(2) Sales Input Next, sales input will be described in detail with reference to FIG.

仕入数量10トンのうち6トンの売上が発生すると、図5に示すように、売上データ106bの入力が行われる。   When the sales of 6 tons out of the purchased quantity of 10 tons occurs, the sales data 106b is input as shown in FIG.

次に、図5の在庫データ106dが以下のようにして更新される。すなわち、在庫数量としては、仕入数量10トンから売上で出庫された数量6トンを減じた数量である4トンが設定される。また、在庫単価としては、図5の売上データ106bにおける取引区分「通常売上」は図2の取引区分マスタ106eを参照すると原価計算対象外の区分であるため、前記(1)で作成した在庫データ106dにおける在庫単価80円がそのまま引き継がれる。そして、在庫金額としては、前記設定された在庫数量4トンに前記設定された在庫単価80円を乗じて自動算出された320円が設定される。   Next, the stock data 106d of FIG. 5 is updated as follows. That is, as the stock quantity, 4 tons, which is the quantity obtained by subtracting the quantity of 6 tons dispatched for sale from the quantity of 10 tons purchased, is set. Further, as the inventory unit price, the transaction category “regular sales” in the sales data 106b in FIG. 5 is a category that is not subject to cost calculation with reference to the transaction category master 106e in FIG. The inventory unit price of 80 yen at 106d is taken over as it is. As the stock amount, 320 yen is automatically calculated by multiplying the set stock quantity of 4 tons by the set stock unit price of 80 yen.

そして、図5の売上データ106bにおける取引区分「通常売上」と紐付く勘定科目は、図2の取引区分マスタ106eには示していないが、売掛金と売上であるとする。この場合、仕訳作成部102jは、図5に示すように、(1)借方科目に、「売掛金−品代」が設定されており、(2)借方金額に、売上データ106bにおける売上金額960円が設定されており、(3)貸方科目に、「売上−販売商品」が設定されており、(4)貸方金額に、借方金額に設定されている金額960円が設定されている仕訳を作成する。   The accounts associated with the transaction category "normal sales" in the sales data 106b of FIG. 5 are not shown in the transaction category master 106e of FIG. 2, but are accounts receivable and sales. In this case, as shown in FIG. 5, the journal creator 102j sets (1) debit item to "account receivable-goods cost", and (2) debit amount to sales amount 960 yen in the sales data 106b. Is created, and (3) “sales-sales product” is set in the credit item, and (4) a journal is created in which the credit amount is set to the amount of 960 yen set in the debit amount. I do.

また、図5の売上データ106bにおける取引区分「通常売上」と紐付く別の勘定科目は、図2の取引区分マスタ106eには示していないが、売上原価と商品であるとする。この場合、仕訳作成部102jは、図5に示すように、(1)借方科目に、「売上原価−販売商品」が設定されており、(2)借方金額に、売上データ106bにおける原価金額480円が設定されており、(3)貸方科目に、「商品−在庫商品」が設定されており、(4)貸方金額に、借方金額に設定されている金額480円が設定されている仕訳を作成する。   Further, the other account items associated with the transaction category “normal sales” in the sales data 106b in FIG. 5 are not shown in the transaction category master 106e in FIG. In this case, as shown in FIG. 5, the journal creator 102j sets (1) debit item to “cost of sales−sales product”, and (2) debit amount to cost amount 480 in the sales data 106b. A journal with a yen set, (3) a credit item with "product-stock item" set, and (4) a credit amount with a debit amount of 480 yen set create.

(3)単価改定
続いて、単価改定について、図6を用いて詳細に説明する。
(3) Unit Price Revision Next, unit price revision will be described in detail with reference to FIG.

高炉メーカーより連絡を受けて、単価が80円から100円に改定されると、オペレータは、図6の単価改定処理画面に太枠で囲んで示すように、在庫評価替ベースでの2段階仕訳作成を行うのか(以下の[3−2]で詳細に説明)、契約ベースでの全自動仕訳作成を行うのか(以下の[3−3]で詳細に説明)を選択することができる。   When the unit price is changed from 80 yen to 100 yen in response to the notification from the blast furnace manufacturer, the operator, as shown in the unit price change processing screen of FIG. It is possible to select whether to perform the preparation (described in detail in [3-2] below) or to perform the automatic journal creation on a contract basis (described in detail in [3-3] below).

[3−2.在庫評価替ベースでの2段階仕訳作成]
本項目では、図6の画面で在庫評価替ベースでの2段階仕訳作成を選択した場合、図13に示す仕訳がどのように作成されるのかについて、詳細に説明する。2段階仕訳作成とは、まず、以下の[3−2−1]で説明するように在庫調整額の算出を主に自動で行い(1段階目)、次に、以下の[3−2−2]で説明するように払出済額の算出を主に手動で行うことにより(2段階目)、以下の[3−2−3]で説明する仕訳を作成する処理のことである。
[3-2. Two-step journal creation based on inventory valuation replacement]
In this item, how the journals shown in FIG. 13 are created when the two-stage journal creation on the basis of inventory valuation is selected on the screen of FIG. 6 will be described in detail. In the two-step journal creation, first, as described in the following [3-2-1], the inventory adjustment amount is mainly automatically calculated (the first step), and then the following [3-2-2] As described in [2], the calculation of the paid-out amount is mainly performed manually (second stage), thereby creating a journal described in [3-2-3] below.

[3−2−1.在庫調整額の算出]
在庫評価替ベースでの2段階仕訳作成においては、在庫データ106dが、エクセル等のデータ形式により出力される。そして、当該出力された在庫データ106dに対して、高炉メーカーより指定された改定後の単価(100円)が入力されることにより、単価改定処理が以下のようにして実行される。
[3-2-1. Calculation of inventory adjustment amount]
In the two-step journal creation on the basis of inventory valuation, the inventory data 106d is output in a data format such as Excel. Then, by inputting the revised unit price (100 yen) specified by the blast furnace maker to the output inventory data 106d, the unit price revision processing is executed as follows.

(1)現在庫仕入赤黒データの作成と在庫調整額80円の算出
まず、在庫データ106d中の在庫残数量に応じて、取引区分を「単価遡及(在庫評価替)」として、仕入の赤黒伝票(現在庫仕入赤データ106a2および現在庫仕入黒データ106a3)が以下のようにして作成される。
(1) Creation of current stock purchase red and black data and calculation of inventory adjustment amount of 80 yen First, according to the remaining stock quantity in the stock data 106d, the transaction category is set to “unit price retroactive (stock valuation replacement)”, The red and black slips (the current warehouse purchase red data 106a2 and the current warehouse purchase black data 106a3) are created as follows.

仕入の赤伝票(現在庫仕入赤データ106a2)の作成について説明する。現在庫仕入赤データ作成部102aは、図5の在庫データ106d中の売上後の数量(4トン)と図5の在庫データ106d中の改定前の単価(80円)とに基づき算出された4トン×80円=320円を含む仕入の赤伝票(現在庫仕入赤データ106a2)を図7に示すように作成する(なお、当該作成される伝票は赤伝票であるため、図7では、320円にマイナスをつけて−320円と示している)。当該作成された現在庫仕入赤データ106a2は、前記商品を前記売上後の数量分(4トン分)前記改定前の単価(80円)で仕入れた分に対応する通常仕入データ106a1を帳消しにするためのデータである。   The creation of a purchase red slip (the current warehouse purchase red data 106a2) will be described. The current warehouse purchase red data creation unit 102a is calculated based on the quantity after sales (4 tons) in the inventory data 106d in FIG. 5 and the unit price (80 yen) before revision in the inventory data 106d in FIG. As shown in FIG. 7, a red slip for purchase (currently stored red data 106a2) including 4 tons × 80 yen = 320 yen is created. (Since the created slip is a red slip, FIG. Then, minus is added to 320 yen and shown as -320 yen). The created current stock purchase red data 106a2 is used to cancel the normal purchase data 106a1 corresponding to the purchase of the product at the post-sales quantity (4 tons) and at the unit price (80 yen) before the revision. This is the data for

仕入の黒伝票(現在庫仕入黒データ106a3)の作成について説明する。現在庫仕入黒データ作成部102bは、図5の在庫データ106d中の売上後の数量(4トン)と在庫データ106dに入力された前記改定後の単価(100円)とに基づき算出された4トン×100円=400円を含む仕入の黒伝票(現在庫仕入黒データ106a3)を図7に示すように作成する。当該作成された現在庫仕入黒データ106a3は、前記改定前の単価(80円)で仕入れた分に対応する通常仕入データ106a1を前記改定後の単価(100円)で仕入れた分に対応する通常仕入データ106a1に修正するためのデータである。   The creation of a purchase black slip (currently purchased black data 106a3) will be described. The current warehouse purchase black data creation unit 102b is calculated based on the post-sales quantity (4 tons) in the inventory data 106d in FIG. 5 and the revised unit price (100 yen) input to the inventory data 106d. As shown in FIG. 7, a purchased black slip (currently stored black data 106a3) including 4 tons × 100 yen = 400 yen is created. The created current stock purchase black data 106a3 corresponds to the purchase of the normal purchase data 106a1 corresponding to the purchase at the unit price before the revision (80 yen) at the unit price after the revision (100 yen). This is data to be corrected to the normal purchase data 106a1.

そして、在庫評価差額算出部102cは、現在庫仕入赤データ106a2中の金額(−320円)と現在庫仕入黒データ106a3中の金額(400円)との和である80円を、在庫調整額(在庫評価差額)として算出する。これにより、売上後の現在庫4トンについて、改定前の単価(80円)で評価した場合に比べて、改定後の単価(100円)で評価した場合の方が、80円分評価が高いということがわかったこととなる。   Then, the inventory valuation difference calculating unit 102c calculates 80 yen, which is the sum of the amount (−320 yen) in the current warehouse purchase red data 106a2 and the amount (400 yen) in the current warehouse purchase black data 106a3, into the inventory. It is calculated as an adjustment amount (inventory valuation difference). As a result, the 4 tons of the current warehouse after sales are evaluated at the unit price after the revision (100 yen) in comparison with the unit price before the revision (80 yen), and the evaluation for the 80 yen is higher. It turns out that it is understood.

(2)在庫データの更新
次に、図7の在庫データ106dが以下のようにして更新される。すなわち、在庫数量としては、図5の在庫データ106dにおける在庫数量4トンが設定される。また、図7の現在庫仕入赤データ106a2および現在庫仕入黒データ106a3における取引区分「単価遡及(在庫評価替)」は図2の取引区分マスタ106eを参照すると原価計算対象の区分であるため、在庫単価としては、改定後の単価100円が設定される。なお、当該100円は、(前月金額+当月発生金額)÷(前月数量+当月発生数量)=(320円−320円+400円)÷(4トン−4トン+4トン)=100円と算出されてもよい。そして、在庫金額としては、前記設定された在庫数量4トンに前記設定された在庫単価100円を乗じて自動算出された400円が設定される。
(2) Update of Inventory Data Next, the inventory data 106d of FIG. 7 is updated as follows. That is, as the stock quantity, a stock quantity of 4 tons in the stock data 106d of FIG. 5 is set. Further, the transaction category “unit price retroactive (stock revaluation)” in the current warehouse purchase red data 106a2 and the current warehouse purchase black data 106a3 in FIG. 7 is a category for cost calculation when referring to the transaction category master 106e in FIG. Therefore, the revised unit price of 100 yen is set as the inventory unit price. The 100 yen is calculated as (previous month amount + current month amount) / (previous month amount + current month amount) = (320 yen-320 yen + 400 yen) / (4 tons-4 tons + 4 tons) = 100 yen. You may. As the stock amount, 400 yen is automatically calculated by multiplying the set stock quantity of 4 tons by the set stock unit price of 100 yen.

(3)仕訳の作成
そして、図7の現在庫仕入赤データ106a2における取引区分「単価遡及(在庫評価替)」と紐付く勘定科目は、図2の取引区分マスタ106eに示すように、買掛金と商品である。このため、仕訳作成部102jは、図8に示すように、(1)借方科目に、「買掛金−品代」が設定されており、(2)借方金額に、現在庫仕入赤データ106a2における金額320円が設定されており、(3)貸方科目に、「商品−在庫商品」が設定されており、(4)貸方金額に、借方金額に設定されている金額320円が設定されている赤仕訳を作成する。
(3) Creation of a journal The account associated with the transaction category “unit price retroactive (stock revaluation)” in the current warehouse purchase red data 106a2 in FIG. 7 is a payable as shown in the transaction category master 106e in FIG. Gold and goods. Therefore, as shown in FIG. 8, the journal creation unit 102j sets (1) “Accounts payable-goods cost” in the debit item, and (2) replaces the current warehouse purchase red data 106a2 with the debit amount. Is set at (3) credit item, "commodity-stock item" is set, and (4) credit amount is set at 320 yen set at debit amount. Create a red journal.

また、図7の現在庫仕入黒データ106a3における取引区分「単価遡及(在庫評価替)」と紐付く勘定科目は、図2の取引区分マスタ106eに示すように、買掛金と商品である。このため、仕訳作成部102jは、図8に示すように、(1)借方科目に、「商品−在庫商品」が設定されており、(2)借方金額に、現在庫仕入黒データ106a3における金額400円が設定されており、(3)貸方科目に、「買掛金−品代」が設定されており、(4)貸方金額に、借方金額に設定されている金額400円が設定されている黒仕訳を作成する。このように、商品勘定が在庫データ106d中の在庫金額と一致するように仕訳を発生させる。   Also, the accounts associated with the transaction category “unit price retroactive (stock revaluation)” in the current warehouse purchase black data 106a3 of FIG. 7 are accounts payable and merchandise as shown in the transaction category master 106e of FIG. For this reason, as shown in FIG. 8, the journal creation unit 102j sets (1) “detail item—stock item” in the debit item, and (2) sets the debit amount in the current warehouse purchase black data 106a3. An amount of 400 yen is set, (3) “Accounts payable-goods” is set in the credit item, and (4) an amount of 400 yen set in the debit amount is set in the credit amount. Create a black journal. In this way, the journal is generated such that the merchandise account matches the stock amount in the stock data 106d.

(4)まとめ
以上、(1)〜(3)の単価改定処理により、図8の下方に示す仕訳のうち、太線で囲んだ箇所についての対応がなされた(すなわち、在庫調整額80円が算出された)こととなる。
(4) Conclusion As described above, in the unit price revision processing of (1) to (3), the portion surrounded by the thick line in the journals shown in the lower part of FIG. 8 is dealt with (that is, the inventory adjustment amount of 80 yen is calculated). Was done).

[3−2−2.払出済額の算出]
次に、[3−2−1]の単価改定処理の結果を受けて、仕入入力において調整伝票(売上仕入赤データ106a4および売上仕入黒データ106a5)の入力が行われることにより、払出済額120円が算出される。
[3-2-2. Calculation of paid amount]
Next, in response to the result of the unit price revision processing of [3-2-1], the adjustment slips (sales purchase red data 106a4 and sales purchase black data 106a5) are input in the purchase input, so that the payout is performed. A paid amount of 120 yen is calculated.

(1)売上仕入赤黒データの作成と払出済額120円の算出
まず、払出済量(入庫時数量−在庫残数量)に対して、取引区分を「払出済調整」として、仕入の赤黒伝票(売上仕入赤データ106a4および売上仕入黒データ106a5)が以下のようにして作成される。当該赤黒伝票は、調整伝票ということもできる。
(1) Creation of sales purchase red-black data and calculation of paid-out amount 120 yen First, the transaction type is set to “paid-out adjustment” with respect to the paid-out amount (quantity at the time of receipt-remaining stock amount), The slips (sales purchase red data 106a4 and sales purchase black data 106a5) are created as follows. The red-black slip can also be called an adjustment slip.

仕入の赤伝票(売上仕入赤データ106a4)の作成について説明する。売上仕入赤データ作成部102dは、入力された売上数量(6トン)と入力された前記改定前の単価(80円)とに基づき算出された6トン×80円=480円を含む仕入の赤伝票(売上仕入赤データ106a4)を図9に示すように作成する(なお、当該作成される伝票は赤伝票であるため、図9では、480円にマイナスをつけて−480円と示している)。当該作成された売上仕入赤データ106a4は、前記商品を前記売上数量分(6トン分)前記改定前の単価(80円)で仕入れた分に対応する通常仕入データ106a1を帳消しにするためのデータである。   Creation of the purchase red slip (sales purchase red data 106a4) will be described. The sales purchase red data creation unit 102d purchases the product including 6 tons x 80 yen = 480 yen calculated based on the input sales quantity (6 tons) and the input unit price (80 yen) before the revision. The red slip (sales purchase red data 106a4) is created as shown in FIG. 9 (note that since the slip to be created is a red slip, in FIG. 9, minus 480 is added to -480 yen). Shown). The created sales purchase red data 106a4 is used to cancel the normal purchase data 106a1 corresponding to the sales of the product at the sales quantity (6 tons) and the unit price (80 yen) before the revision. Data.

仕入の黒伝票(売上仕入黒データ106a5)の作成について説明する。売上仕入黒データ作成部102eは、前記入力された売上数量(6トン)と入力された前記改定後の単価(100円)とに基づき算出された6トン×100円=600円を含む仕入の黒伝票(売上仕入黒データ106a5)を図9に示すように作成する。当該作成された売上仕入黒データ106a5は、前記改定前の単価(80円)で仕入れた分に対応する通常仕入データ106a1を前記改定後の単価(100円)で仕入れた分に対応する通常仕入データ106a1に修正するためのデータである。   The creation of a purchase black slip (sales purchase black data 106a5) will be described. The sales-purchased-black-data creating unit 102e calculates a product including 6 tons × 100 yen = 600 yen calculated based on the input sales quantity (6 tons) and the input unit price after the revision (100 yen). An incoming black slip (sales purchase black data 106a5) is created as shown in FIG. The created sales purchase black data 106a5 corresponds to the purchase of the normal purchase data 106a1 corresponding to the purchase at the unit price before the revision (80 yen) at the unit price after the revision (100 yen). This is data for correction to the normal purchase data 106a1.

そして、売上原価差額算出部102fは、売上仕入赤データ106a4中の金額(−480円)と売上仕入黒データ106a5中の金額との和である120円を、払出済額(売上原価差額)として算出する。これにより、売上した6トンについて、改定前の単価(80円)で売上原価を計算した場合に比べて、改定後の単価(100円)で売上原価を計算した場合の方が、120円分原価が高いということがわかったこととなる。   Then, the cost-of-sales difference calculation unit 102f calculates the paid-out amount (cost-of-sales difference) of 120 yen, which is the sum of the amount (-480 yen) in the purchased red data 106a4 and the amount in the purchased black data 106a5. ). As a result, for the 6 tons sold, the cost of sales calculated at the revised unit price (100 yen) is 120 yen less than the cost of sales calculated at the unit price (80 yen) before the revision. This means that the cost is high.

(2)在庫データの更新
次に、図9の在庫データ106dが以下のようにして更新される。すなわち、在庫数量としては、(1)で説明した赤黒伝票では増減なしのため、[3−2−1]の(2)で設定した在庫数量4トンがそのまま引き継がれる。また、図9の売上仕入赤データ106a4および売上仕入黒データ106a5における取引区分「払出済調整」は図2の取引区分マスタ106eを参照すると原価計算対象外の区分であるため、前記調整伝票の影響は受けず、[3−2−1]の(2)で設定した在庫単価100円がそのまま引き継がれる。そして、在庫金額としては、前記設定された在庫数量4トンに前記設定された在庫単価100円を乗じて自動算出された400円が設定される。
(2) Update of Stock Data Next, the stock data 106d of FIG. 9 is updated as follows. That is, as for the inventory quantity, since the red-black slip described in (1) does not increase or decrease, the inventory quantity of 4 tons set in (2) of [3-2-1] is carried over as it is. Further, the transaction category "paid adjustment" in the sales purchase red data 106a4 and the sales purchase black data 106a5 in FIG. 9 is a category that is not subject to cost calculation when referring to the transaction category master 106e in FIG. Is not affected, and the unit inventory price of 100 yen set in (2) of [3-2-1] is inherited as it is. As the stock amount, 400 yen is automatically calculated by multiplying the set stock quantity of 4 tons by the set stock unit price of 100 yen.

(3)仕訳の作成
そして、図9の売上仕入赤データ106a4における取引区分「払出済調整」と紐付く勘定科目は、図2の取引区分マスタ106eに示すように、買掛金と売上原価である。このため、仕訳作成部102jは、図10に示すように、(1)借方科目に、「買掛金−品代」が設定されており、(2)借方金額に、売上仕入赤データ106a4における金額480円が設定されており、(3)貸方科目に、「売上原価−販売商品」が設定されており、(4)貸方金額に、借方金額に設定されている金額480円が設定されている赤仕訳を作成する。このように、払出済分は、商品勘定ではなく、売上原価勘定で仕訳を発生させる。
(3) Creation of journals The accounts associated with the transaction category “paid adjustment” in the sales purchase red data 106a4 of FIG. 9 are accounts payable and cost of sales, as shown in the transaction category master 106e of FIG. is there. Therefore, as shown in FIG. 10, the journal creation unit 102j sets (1) “Accounts payable-goods cost” in the debit item, and (2) sets the debit amount in the sales purchase red data 106a4. An amount of 480 yen is set, and (3) “cost of sales—commodity sold” is set for the credit item, and (480) an amount of 480 yen set for the debit amount is set for (4) credit amount. Create a red journal. In this way, the paid-out portion generates a journal entry in the cost of sales account, not in the product account.

また、図9の売上仕入黒データ106a5における取引区分「払出済調整」と紐付く勘定科目は、図2の取引区分マスタ106eに示すように、買掛金と売上原価である。このため、仕訳作成部102jは、図10に示すように、(1)借方科目に、「売上原価−販売商品」が設定されており、(2)借方金額に、売上仕入黒データ106a5における金額600円が設定されており、(3)貸方科目に、「買掛金−品代」が設定されており、(4)貸方金額に、借方金額に設定されている金額600円が設定されている黒仕訳を作成する。このように、払出済分は、商品勘定ではなく、売上原価勘定で仕訳を発生させる。   Also, the accounts associated with the transaction category “paid-out adjustment” in the sales purchase black data 106a5 in FIG. 9 are the accounts payable and the cost of sales, as shown in the transaction category master 106e in FIG. Therefore, as shown in FIG. 10, the journal creation unit 102j sets (1) “cost of sales—sales product” in the debit item, and (2) sets the debit amount in the sales purchase black data 106a5. An amount of 600 yen is set, (3) “Accounts payable-goods cost” is set in the credit item, and (4) an amount of 600 yen set in the debit amount is set in the credit amount. Create a black journal. In this way, the paid-out portion generates a journal entry in the cost of sales account, not in the product account.

(4)まとめ
以上、(1)〜(3)で説明した調整伝票の処理により、図10の下方に示す仕訳のうち、太点線で囲んだ箇所についての対応がなされた(すなわち、払出済額120円が算出された)こととなる。これにより、単価改定時の一連の処理は完了となり、最終的に、以下の[3−2−3]で説明する仕訳が作成される。
(4) Conclusion As described above, in the processing of the adjustment slip described in (1) to (3), the journals shown in the lower part of FIG. 10 correspond to the portion surrounded by the thick dotted line (that is, the paid amount). 120 yen was calculated). As a result, a series of processing at the time of unit price revision is completed, and finally, a journal described in [3-2-3] below is created.

[3−2−3.最終的に作成される仕訳]
最後に、[3−2−1]の(3)で作成した仕訳と[3−2−2]の(3)で作成した仕訳の賃借集計を行うことにより、図13に示す仕訳が、以下のようにして作成される。すなわち、仕訳作成部102jは、図13に示すように、借方の金額に、[3−2−1]の(1)において在庫評価差額算出部102cで算出した在庫調整額(在庫評価差額)80円および[3−2−2]の(1)において売上原価差額算出部102fで算出した払出済額(売上原価差額)120円が設定されており、貸方の金額に、当該80円と当該120円の和に相当する債務調整額(仕入差額)200円が設定されている仕訳を作成する。
[3-2-3. Journal created finally]
Finally, the journal created in (3) of [3-2-1] and the journal created in (3) of [3-2-2] are totaled, so that the journal shown in FIG. It is created as follows. That is, as shown in FIG. 13, the journal creation unit 102j adds the debit amount to the inventory adjustment amount (inventory valuation difference) 80 calculated by the inventory valuation difference calculation unit 102c in (1) of [3-2-1]. The paid amount (cost of sales difference) 120 yen calculated by the cost of sales difference calculation unit 102f in the yen and (3-2-2) (1) is set to 120 yen, and the amount of the credit is 80 yen and the 120 yen. A journal is created in which a debt adjustment amount (purchase difference) of 200 yen corresponding to the sum of yen is set.

[3−3.契約ベースでの全自動仕訳作成]
本項目では、図6の画面で契約ベースでの全自動仕訳作成を選択した場合、図13に示す仕訳がどのように作成されるのかについて、詳細に説明する。
[3-3. Automatic journal creation on a contract basis]
In this item, a detailed description will be given of how the journals shown in FIG. 13 are created when the automatic journal creation on a contract basis is selected on the screen of FIG.

[3−3−1.債務調整額、在庫調整額および払出済額の算出]
契約ベースでの全自動仕訳作成においては、通常仕入データ106a1が、エクセル等のデータ形式により出力される。そして、当該出力された通常仕入データ106a1に対して、高炉メーカーより指定された改定後の単価(100円)が入力されることにより、単価改定処理が以下のようにして実行される。
[3-3-1. Calculation of debt adjustment amount, inventory adjustment amount and paid-out amount]
In contract-based fully automatic journal creation, the normal purchase data 106a1 is output in a data format such as Excel. Then, the unit price after the revision (100 yen) designated by the blast furnace manufacturer is input to the output normal purchase data 106a1, and the unit price revision processing is executed as follows.

なお、契約ベースでの全自動仕訳作成においては、前記単価改定処理によって、債務調整額の算出および在庫調整額の算出を一度に行うため、仕入データ106aだけでは当該2つの算出を行うことができない。そこで、以下で説明する移動データ106cを作成する。そして、単価改定時に、移動データ106cを在庫調整データとして作成し、仕入データ106aを債務調整データとして作成する。なお、移動データとは、一般的には、商品の場所移動や在庫数量の調整を行うためのデータであるが、本発明においては、原価単価の調整処理を行うデータとして用いることも可能となっている。   In addition, in the automatic journal creation on a contract basis, since the calculation of the debt adjustment amount and the calculation of the inventory adjustment amount are performed at once by the unit price revision processing, the two calculations can be performed only with the purchase data 106a. Can not. Therefore, the movement data 106c described below is created. Then, at the time of unit price revision, the movement data 106c is created as inventory adjustment data, and the purchase data 106a is created as debt adjustment data. The movement data is generally data for adjusting the location of goods or adjusting the stock quantity, but in the present invention, the movement data can also be used as data for adjusting the cost unit price. ing.

(1)元仕入赤黒データの作成と債務調整額200円の算出
まず、通常仕入データ106a1中の仕入数量(元伝票数量)に応じて、取引区分を「単価遡及(債務調整)」として、仕入の赤黒伝票(元仕入赤データ106a6および元仕入黒データ106a7)が以下のようにして作成される。
(1) Preparation of original purchase red-black data and calculation of debt adjustment amount 200 yen First, according to the purchase quantity (original slip quantity) in the normal purchase data 106a1, the transaction category is set to “unit price retroactive (debt adjustment)”. As a result, the purchase red-black slip (the original purchase red data 106a6 and the original purchase black data 106a7) is created as follows.

仕入の赤伝票(元仕入赤データ106a6)の作成について説明する。元仕入赤データ作成部102gは、図4の通常仕入データ106a1中の仕入数量(10トン)と図4の通常仕入データ106a1中の改定前の単価(80円)とに基づき算出された10トン×80円=800円を含む仕入の赤伝票(元仕入赤データ106a6)を図11に示すように作成する(なお、当該作成される伝票は赤伝票であるため、図11では、800円にマイナスをつけて−800円と示している)。当該作成された元仕入赤データ106a6は、前記商品を前記仕入数量分(10トン分)前記改定前の単価(80円)で仕入れた分に対応する通常仕入データ106a1を帳消しにするためのデータである。   Creation of a purchase red slip (original purchase red data 106a6) will be described. The original purchase red data creation unit 102g calculates based on the purchase quantity (10 tons) in the normal purchase data 106a1 of FIG. 4 and the unit price (80 yen) before revision in the normal purchase data 106a1 of FIG. A red slip (purchased red data 106a6) including the purchased 10 tons × 80 yen = 800 yen is created as shown in FIG. 11 (note that since the created slip is a red slip, FIG. In the case of 11, the minus is added to 800 yen to indicate -800 yen.) The created original purchase red data 106a6 cancels the normal purchase data 106a1 corresponding to the purchase of the product at the purchase quantity (10 tons) and the unit price (80 yen) before the revision. Data for

仕入の黒伝票(元仕入黒データ106a7)の作成について説明する。元仕入黒データ作成部102hは、図4の通常仕入データ106a1中の仕入数量(10トン)と通常仕入データ106a1に入力された前記改定後の単価(100円)とに基づき算出された10トン×100円=1000円を含む仕入の黒伝票(元仕入黒データ106a7)を図11に示すように作成する。当該作成された元仕入黒データ106a7は、前記改定前の単価(80円)で仕入れた分に対応する通常仕入データ106a1を前記改定後の単価(100円)で仕入れた分に対応する通常仕入データ106a1に修正するためのデータである。   Creation of a purchase black slip (original purchase black data 106a7) will be described. The original purchase black data creation unit 102h calculates based on the purchase quantity (10 tons) in the normal purchase data 106a1 of FIG. 4 and the revised unit price (100 yen) input to the normal purchase data 106a1. The purchased black slip (original purchased black data 106a7) including the obtained 10 tons × 100 yen = 1000 yen is created as shown in FIG. The created original purchase black data 106a7 corresponds to the purchase of the normal purchase data 106a1 corresponding to the purchase at the unit price before the revision (80 yen) at the unit price after the revision (100 yen). This is data for correction to the normal purchase data 106a1.

なお、元仕入赤データ作成部102gおよび元仕入黒データ作成部102hは、元仕入赤データ106a6および元仕入黒データ106a7作成の際に、図11に示すように、移動データ106cを識別するための移動番号(301)を保持させてもよい。   The original purchase red data creation unit 102g and the original purchase black data creation unit 102h convert the movement data 106c as shown in FIG. 11 when creating the original purchase red data 106a6 and the original purchase black data 106a7. A movement number (301) for identification may be stored.

そして、仕入差額算出部102iは、元仕入赤データ106a6中の金額(−800円)と元仕入黒データ106a7中の金額(1000円)との和である200円を、債務調整額(仕入差額)として算出する。これにより、仕入れた分10トンについて、改定前の単価(80円)で仕入金額を計算した場合に比べて、改定後の単価(100円)で仕入金額を計算した場合の方が、200円分仕入金額が高いということがわかったこととなる。   Then, the purchase difference calculation unit 102i calculates 200 yen, which is the sum of the amount (−800 yen) in the original purchase red data 106a6 and the amount (1000 yen) in the original purchase black data 106a7, as the debt adjustment amount. (Purchase difference). As a result, compared to the case of calculating the purchase amount for the purchased 10 tons at the unit price (80 yen) before the revision, the case where the purchase amount is calculated at the unit price after the revision (100 yen), This means that the purchase price for 200 yen is high.

(2)在庫調整額80円の算出
取引区分を「単価遡及(在庫評価替)」として、原価差額調整伝票(移動データ106c)が以下のようにして作成される。
(2) Calculation of Inventory Adjustment Amount of 80 Yen A cost difference adjustment slip (movement data 106c) is created as follows, with the transaction category being “unit price retroactive (stock valuation replacement)”.

在庫評価差額算出部102cは、図5の在庫データ106d中の売上後の数量(4トン)と図5の在庫データ106d中の前記改定前の単価(80円)とに基づき算出された−4トン×80円=−320円と、図5の在庫データ106d中の売上後の数量(4トン)と入力された前記改定後の単価(100円)とに基づき算出された4トン×100円=400円と、の差額である80円を在庫調整額(在庫評価差額)として算出する。当該算出された80円は、図11に示すように移動データ106cの金額として格納されることにより、移動データ106cが作成される。   The inventory valuation difference calculation unit 102c calculates −4 calculated based on the post-sales quantity (4 tons) in the inventory data 106d in FIG. 5 and the unit price (80 yen) before the revision in the inventory data 106d in FIG. Ton × 80 yen = −320 yen, 4 ton × 100 yen calculated based on the post-sales quantity (4 tons) in the inventory data 106 d in FIG. 5 and the input unit price after the revision (100 yen). = 400 yen, which is the difference between the two, is calculated as the inventory adjustment amount (inventory evaluation difference). The calculated 80 yen is stored as the amount of money of the movement data 106c as shown in FIG. 11, so that the movement data 106c is created.

(3)在庫データの更新
次に、図11の在庫データ106dが以下のようにして更新される。すなわち、在庫数量としては、図5の在庫データ106dにおける在庫数量4トンが設定される。また、図11の元仕入赤データ106a6および元仕入黒データ106a7における取引区分「単価遡及(債務調整)」は図2の取引区分マスタ106eを参照すると原価計算対象外の区分であるため、在庫データ106dの在庫単価に影響を与えないが、図11の移動データ106cにおける取引区分「単価遡及(在庫評価替)」は図2の取引区分マスタ106eを参照すると原価計算対象の区分であるため、在庫単価としては、改定後の単価100円が設定される。なお、当該100円は、(前月金額+当月発生金額)÷(前月数量+当月発生数量)=(320円+80円)÷(4トン+0トン)=100円と算出されてもよい。そして、在庫金額としては、前記設定された在庫数量4トンに前記設定された在庫単価100円を乗じて自動算出された400円が設定される。
(3) Update of Stock Data Next, the stock data 106d of FIG. 11 is updated as follows. That is, as the stock quantity, a stock quantity of 4 tons in the stock data 106d of FIG. 5 is set. Further, the transaction category “unit price retroactive (debt adjustment)” in the original purchase red data 106a6 and the original purchase black data 106a7 in FIG. 11 is a category that is not subject to cost calculation when referring to the transaction category master 106e in FIG. Although it does not affect the inventory unit price of the inventory data 106d, the transaction type "unit price retroactive (inventory valuation replacement)" in the movement data 106c in FIG. 11 is a target for cost calculation when referring to the transaction type master 106e in FIG. As the stock unit price, the revised unit price of 100 yen is set. The 100 yen may be calculated as (previous month amount + current month amount) ÷ (previous month amount + current month amount) = (320 yen + 80 yen) ÷ (4 tons + 0 tons) = 100 yen. As the stock amount, 400 yen is automatically calculated by multiplying the set stock quantity of 4 tons by the set stock unit price of 100 yen.

(4)仕訳の作成
そして、元仕入赤データ106a6、元仕入黒データ106a7および移動データ106cに基づいて、仕訳が作成されるが、仕訳作成の前に、払出済額(売上原価差額)の算出が、以下のようにして行われる。
(4) Creation of journals Journals are created based on the original purchase red data 106a6, the original purchase black data 106a7, and the movement data 106c, but before the journal creation, the paid-out amount (cost of sales difference). Is calculated as follows.

すなわち、元仕入赤データ106a6および元仕入黒データ106a7と移動データ106cとは、図11に示すように、同一の移動番号301により紐付いている。このため、当該紐付きを利用して、売上原価差額算出部102fは、払出済額(売上原価差額)を、(仕入赤伝票の金額+仕入黒伝票の金額)−移動伝票の金額=(−800円+1000円)−80円=120円と算出する。   That is, the original purchase red data 106a6, the original purchase black data 106a7, and the movement data 106c are linked by the same movement number 301 as shown in FIG. For this reason, using the linking, the cost-of-sales difference calculation unit 102f calculates the paid-out amount (cost-of-sales difference) by (amount of purchased red voucher + amount of purchased black voucher)-amount of moving voucher = ( -800 yen +1000 yen) -80 yen = 120 yen.

ここで、仕訳の作成に戻り、図11の元仕入赤データ106a6における取引区分「単価遡及(債務調整)」と紐付く勘定科目は、図2の取引区分マスタ106eに示すように、買掛金と商品である。このため、仕訳作成部102jは、図12に示すように、(1)借方科目に、「買掛金−品代」が設定されており、(2)借方金額に、元仕入赤データ106a6における金額800円が設定されており、(3)貸方科目に、「商品−在庫商品」が設定されており、(4)貸方金額に、借方金額に設定されている金額800円が設定されている赤仕訳を作成する。   Here, returning to the creation of the journal, the account associated with the transaction category “unit price retroactive (debt adjustment)” in the original purchase red data 106a6 in FIG. 11 is the accounts payable as shown in the transaction category master 106e in FIG. And goods. For this reason, as shown in FIG. 12, the journal creation unit 102j sets (1) “Accounts payable-goods cost” in the debit item, and (2) sets the debit amount in the original purchase red data 106a6. An amount of 800 yen is set, (3) a credit item, “product-stock item” is set, and (4) a credit amount is set to 800 yen set as the debit amount. Create a red journal.

また、図11の元仕入黒データ106a7における取引区分「単価遡及(債務調整)」と紐付く勘定科目は、図2の取引区分マスタ106eに示すように、買掛金と商品である。このため、仕訳作成部102jは、図12に示すように、(1)借方科目に、「商品−在庫商品」が設定されており、(2)借方金額に、元仕入黒データ106a7における金額1000円が設定されており、(3)貸方科目に、「買掛金−品代」が設定されており、(4)貸方金額に、借方金額に設定されている金額1000円が設定されている黒仕訳を作成する。   Further, the accounts associated with the transaction category “unit price retroactive (debt adjustment)” in the original purchase black data 106a7 of FIG. 11 are accounts payable and merchandise as shown in the transaction category master 106e of FIG. For this reason, as shown in FIG. 12, the journal creation unit 102j sets (1) “detail item—stock item” in the debit item, and (2) replaces the debit amount with the amount in the original purchased black data 106a7. 1000 yen is set, (3) “Accounts payable-goods cost” is set in the credit item, and (4) 1000 yen set in the debit amount is set in the credit amount. Create a black journal.

更に、図11の移動データ106cにおける取引区分「単価遡及(在庫評価替)」と紐付く勘定科目は、図2の取引区分マスタ106eに示すように、売上原価と商品である。このため、仕訳作成部102jは、図12に示すように、(1)借方科目に、「売上原価−販売商品」が設定されており、(2)借方金額に、前記算出した払出済額120円が設定されており、(3)貸方科目に、「商品−在庫商品」が設定されており、(4)貸方金額に、借方金額に設定されている金額120円が設定されている調整仕訳を作成する。   Further, the account items associated with the transaction category "unit price retroactive (stock valuation replacement)" in the movement data 106c in FIG. 11 are the cost of sales and the product as shown in the transaction category master 106e in FIG. Therefore, as shown in FIG. 12, the journal creation unit 102j sets “cost of sales−commodity sold” in (1) the debit item, and (2) adds the calculated paid-out amount 120 to the debit amount. An adjustment journal in which a yen is set, (3) a credit item, “product-stock item” is set, and (4) a credit amount is set to the amount of 120 yen set in the debit amount Create

(5)まとめ
以上、(1)〜(4)の処理により、図12の下方に示す仕訳のうち、太線で囲んだ箇所についての対応がなされた(すなわち、債務調整額120円、在庫調整額80円および払出済額120円)が算出された)こととなる。これにより、単価改定時の一連の処理は完了となり、最終的に、以下の[3−3−2]で説明する仕訳が作成される。
(5) Conclusion As described above, by the processes of (1) to (4), correspondence is made for the portion enclosed by a thick line in the journals shown in the lower part of FIG. 12 (that is, the debt adjustment amount of 120 yen, the inventory adjustment amount) 80 yen and the paid-out amount of 120 yen) are calculated). As a result, a series of processing at the time of unit price revision is completed, and finally, a journal described in [3-3-2] below is created.

[3−3−2.最終的に作成される仕訳]
最後に、[3−3−1]の(4)で作成した仕訳の賃借集計を行うことにより、図13に示す仕訳が、以下のようにして作成される。すなわち、仕訳作成部102jは、図13に示すように、貸方の金額に、[3−3−1]の(1)において仕入差額算出部102iで算出した債務調整額(仕入差額)200円が設定されており、借方の金額に、[3−3−1]の(2)において在庫評価差額算出部102cで算出した在庫調整額(在庫評価差額)80円および当該200円から当該80円を減じた値に相当する払出済額(売上原価差額)120円が設定されている仕訳を作成する。
[3-3-2. Journal created finally]
Lastly, the journals shown in FIG. 13 are created as follows by performing the leasing of the journals created in (4) of [3-3-1]. That is, as shown in FIG. 13, the journal creation unit 102j adds the credit adjustment amount (purchase difference) 200 calculated by the purchase difference calculation unit 102i in (1) of [3-3-1] to the credit amount. A yen is set, and the debit amount is set at 80 yen from the inventory adjustment amount (inventory evaluation difference) calculated by the inventory evaluation difference calculation unit 102c in (3-3-1) (2) and from the 200 yen to the 80 A journal in which a paid-out amount (cost of sales difference) of 120 yen corresponding to the value obtained by subtracting the yen is created.

[4.まとめ]
このように、本実施形態に係る仕訳作成装置100によれば、仕入金額に関して改定前の単価と改定後の単価で計算した場合の差額である仕入差額および前記商品の売上後の数量の在庫評価額に関して改定前の単価と改定後の単価で計算した場合の差額である在庫評価差額を含む仕訳を作成できる。これにより、流通/卸業者等は、例えば、契約ベースでの遡及適用を行うという観点から算出した金額である債務調整額(仕入差額)を把握することができ、併せて、在庫評価替ベースでの遡及適用を行うという観点から算出した金額である在庫調整額(在庫評価差額)を把握することもできる。
[4. Summary]
As described above, according to the journal entry creating apparatus 100 according to the present embodiment, the purchase difference, which is the difference between the purchase price and the unit price before the revision and the price after the revision, and the quantity of the product after sale are calculated. It is possible to create a journal including the inventory valuation difference, which is the difference between the inventory valuation calculated using the unit price before the revision and the unit price after the revision. This allows the distributor / wholesaler, for example, to grasp the debt adjustment amount (purchase difference), which is the amount calculated from the viewpoint of retroactive application on a contract basis. The inventory adjustment amount (inventory valuation difference) which is the amount calculated from the viewpoint of performing the retrospective application in (1) can also be grasped.

また、鉄鋼業界の単価遡及処理は、単価訂正対象となった契約の債務差額の調整だけでなく、現在在庫となっている商品の原価単価を改定後の単価(訂正単価)とする必要がある。従来の単価遡及処理においては、債務差額の調整のみを発生させていたため、当時入庫した在庫の一部が払出されている場合に、商品の原価単価が訂正単価と一致しないという問題が発生していた。そこで、本実施形態においては、単価遡及処理によって在庫残に対する在庫調整額のみを自動で算出し、残りの債務調整額は手入力による入力も含めて算出することで図13に示す仕訳を作成するという2段階仕訳作成([3−2]で説明した仕訳作成)と、単価遡及処理によって在庫残に対する在庫調整額および債務調整額の両方を自動で算出することで図13に示す仕訳を作成するという全自動仕訳作成([3−3]で説明した仕訳作成)と、のどちらも選択できるようにした。どちらの仕訳作成の方法を選択したとしても、単価遡及に関する一連の仕訳に対応することが可能である。   In addition, the unit price retroactive processing in the steel industry requires not only adjustment of the debt difference of the contract subject to the unit price correction, but also the cost unit price of the products currently in stock as the revised unit price (correction unit price). . In the conventional unit price retroactive processing, only the adjustment of the debt difference was performed, so that when part of the inventory that was received at that time was paid out, the problem that the cost unit price of the product did not match the correction unit price occurred. Was. Therefore, in the present embodiment, the journal shown in FIG. 13 is created by automatically calculating only the inventory adjustment amount for the remaining stock by unit price retroactive processing and calculating the remaining debt adjustment amount including the manual input. The journal shown in FIG. 13 is created by automatically calculating both the inventory adjustment amount and the debt adjustment amount for the stock remaining by unit price retroactive processing by creating a two-stage journal (the journal creation described in [3-2]). Automatic journal creation (Journal creation explained in [3-3]). Whichever journal creation method is selected, it is possible to deal with a series of journals related to unit price retrospective.

2段階仕訳作成([3−2]で説明した仕訳作成)を使用する利点を以下に述べる。2段階仕訳作成は、全自動ではないため、高炉メーカーによって単価遡及のルールが異なる場合に、マニュアルで対応することが可能となる。言い換えると、2段階仕訳作成は、在庫調整額の算出を自動で行うが、債務調整額の算出は手動も交えて行うため、以下のような例の場合に適している。一例として、在庫残となっているもののみ単価改定を行う(すなわち、在庫調整額だけを算出すればよい)ルールの場合は、ユーザによる仕入入力の対応は不要(すなわち、債務調整額の算出は不要)であるため、2段階仕訳作成が適している。また、別の例として、債務調整額が、単純計算した金額、すなわち、改定前の単価と改定後の単価の差額×元伝票数量と異なる場合には、ユーザによる仕入入力の対応が必要(すなわち、ユーザが手動で債務調整額を入力することが必要)であるため、2段階仕訳作成が適している。   The advantages of using two-stage journal creation (journal creation described in [3-2]) are described below. Since the two-stage journal creation is not fully automatic, it is possible to manually cope with a case where the unit price retrospective rules differ depending on the blast furnace manufacturer. In other words, the two-step journal creation automatically calculates the inventory adjustment amount, but also calculates the debt adjustment amount manually, which is suitable for the following cases. As an example, in the case of a rule in which the unit price is revised only for the remaining stock (that is, only the inventory adjustment amount needs to be calculated), it is not necessary to respond to the purchase input by the user (namely, calculation of the debt adjustment amount). Is unnecessary), so two-stage journal creation is suitable. Further, as another example, when the debt adjustment amount is different from the simply calculated amount, that is, the difference between the unit price before the revision and the unit price after the revision × the original slip quantity, it is necessary to respond to the purchase input by the user ( That is, it is necessary for the user to manually input the debt adjustment amount), so the two-step journal creation is suitable.

これに対して、全自動仕訳作成([3−3]で説明した仕訳作成)は、ユーザによる手入力作業は基本的に不要となり業務効率化が期待できるため、前段落で説明した2つの例のような場合でなければ、全自動仕訳作成を用いるのが適している。   On the other hand, the automatic journal creation (journal creation described in [3-3]) basically requires no manual input work by the user, and can be expected to improve work efficiency. If not, it is appropriate to use fully automatic journal creation.

[5.他の実施形態]
本発明は、上述した実施形態以外にも、特許請求の範囲に記載した技術的思想の範囲内において種々の異なる実施形態にて実施されてよいものである。
[5. Other Embodiments]
The present invention may be embodied in various different embodiments within the scope of the technical idea described in the claims, in addition to the above-described embodiments.

例えば、実施形態において説明した各処理のうち、自動的に行われるものとして説明した処理の全部または一部を手動的に行うこともでき、あるいは、手動的に行われるものとして説明した処理の全部または一部を公知の方法で自動的に行うこともできる。   For example, among the processes described in the embodiment, all or some of the processes described as being performed automatically can be manually performed, or all of the processes described as being performed manually can be performed. Alternatively, a part thereof can be automatically performed by a known method.

また、本明細書中や図面中で示した処理手順、制御手順、具体的名称、各処理の登録データや検索条件等のパラメータを含む情報、画面例、データベース構成については、特記する場合を除いて任意に変更することができる。   In addition, the processing procedures, control procedures, specific names, information including parameters such as registration data and search conditions of each processing, screen examples, and database configurations shown in the present specification and drawings are not described unless otherwise specified. Can be changed arbitrarily.

また、仕訳作成装置100に関して、図示の各構成要素は機能概念的なものであり、必ずしも物理的に図示の如く構成されていることを要しない。   Further, regarding the journal creation device 100, the illustrated components are functionally conceptual, and do not necessarily need to be physically configured as illustrated.

例えば、仕訳作成装置100が備える処理機能、特に制御部にて行われる各処理機能については、その全部または任意の一部を、CPUおよび当該CPUにて解釈実行されるプログラムにて実現してもよく、また、ワイヤードロジックによるハードウェアとして実現してもよい。尚、プログラムは、本実施形態で説明した処理を情報処理装置に実行させるためのプログラム化された命令を含む一時的でないコンピュータ読み取り可能な記録媒体に記録されており、必要に応じて仕訳作成装置100に機械的に読み取られる。すなわち、ROMまたはHDD(Hard Disk Drive)などの記憶部などには、OSと協働してCPUに命令を与え、各種処理を行うためのコンピュータプログラムが記録されている。このコンピュータプログラムは、RAMにロードされることによって実行され、CPUと協働して制御部を構成する。   For example, all or any part of the processing functions provided in the journal creation device 100, in particular, each processing function performed by the control unit, may be realized by a CPU and a program interpreted and executed by the CPU. Alternatively, it may be realized as hardware by wired logic. Note that the program is recorded on a non-transitory computer-readable recording medium containing programmed instructions for causing the information processing apparatus to execute the processing described in the present embodiment. 100 is read mechanically. That is, in a storage unit such as a ROM or a hard disk drive (HDD), a computer program for giving instructions to the CPU in cooperation with the OS and performing various processes is recorded. The computer program is executed by being loaded into the RAM, and forms a control unit in cooperation with the CPU.

また、このコンピュータプログラムは、仕訳作成装置100に対して任意のネットワークを介して接続されたアプリケーションプログラムサーバに記憶されていてもよく、必要に応じてその全部または一部をダウンロードすることも可能である。   Also, this computer program may be stored in an application program server connected to the journal creation device 100 via an arbitrary network, and it is also possible to download all or part of the computer program as needed. is there.

また、本実施形態で説明した処理を実行するためのプログラムを、一時的でないコンピュータ読み取り可能な記録媒体に格納してもよく、また、プログラム製品として構成することもできる。ここで、この「記録媒体」とは、メモリーカード、USB(Universal Serial Bus)メモリ、SD(Secure Digital)カード、フレキシブルディスク、光磁気ディスク、ROM、EPROM(Erasable Programmable Read Only Memory)、EEPROM(登録商標)(Electrically Erasable and Programmable Read Only Memory)、CD−ROM(Compact Disk Read Only Memory)、MO(Magneto−Optical disk)、DVD(Digital Versatile Disk)、および、Blu−ray(登録商標) Disc等の任意の「可搬用の物理媒体」を含むものとする。   Further, a program for executing the processing described in the present embodiment may be stored in a non-transitory computer-readable recording medium, or may be configured as a program product. Here, the “recording medium” refers to a memory card, a USB (Universal Serial Bus) memory, an SD (Secure Digital) card, a flexible disk, a magneto-optical disk, a ROM, an EPROM (Erasable Programmable Read Only Memory), and an EEPROM (registered). Trademark) (Electrically Erasable and Programmable Read Only Memory), CD-ROM (Compact Disk Read Only Memory), MO (Magneto-Optical, Digital, Digital and Digital), DVD (Digital, Digital and Digital) Any "portable physical media It is intended to include.

また、「プログラム」とは、任意の言語または記述方法にて記述されたデータ処理方法であり、ソースコードまたはバイナリコード等の形式を問わない。なお、「プログラム」は必ずしも単一的に構成されるものに限られず、複数のモジュールやライブラリとして分散構成されるものや、OSに代表される別個のプログラムと協働してその機能を達成するものをも含む。なお、実施形態に示した各装置において記録媒体を読み取るための具体的な構成および読み取り手順ならびに読み取り後のインストール手順等については、周知の構成や手順を用いることができる。   The “program” is a data processing method described in an arbitrary language or description method, and may be in any form such as a source code or a binary code. Note that the “program” is not necessarily limited to a single program, but achieves its function in cooperation with a program that is distributed as a plurality of modules or libraries or a separate program represented by an OS. Including things. It should be noted that a known configuration and procedure can be used for a specific configuration and reading procedure for reading a recording medium in each apparatus described in the embodiment, an installation procedure after reading, and the like.

記憶部に格納される各種のデータベース等は、RAM、ROM等のメモリ装置、ハードディスク等の固定ディスク装置、フレキシブルディスク、および、光ディスク等のストレージ手段であり、各種処理やウェブサイト提供に用いる各種のプログラム、テーブル、データベース、および、ウェブページ用ファイル等を格納する。   Various databases and the like stored in the storage unit are storage devices such as a memory device such as a RAM and a ROM, a fixed disk device such as a hard disk, a flexible disk, and an optical disk. It stores programs, tables, databases, files for web pages, and the like.

また、仕訳作成装置100は、既知のパーソナルコンピュータまたはワークステーション等の情報処理装置として構成してもよく、また、任意の周辺装置が接続された当該情報処理装置として構成してもよい。また、仕訳作成装置100は、当該装置に本実施形態で説明した処理を実現させるソフトウェア(プログラムまたはデータ等を含む)を実装することにより実現してもよい。   In addition, the journal creation device 100 may be configured as an information processing device such as a known personal computer or a workstation, or may be configured as an information processing device to which an arbitrary peripheral device is connected. The journal creation device 100 may be realized by mounting software (including a program or data) for realizing the processing described in the present embodiment on the device.

更に、装置の分散・統合の具体的形態は図示するものに限られず、その全部または一部を、各種の付加等に応じてまたは機能負荷に応じて、任意の単位で機能的または物理的に分散・統合して構成することができる。すなわち、上述した実施形態を任意に組み合わせて実施してもよく、実施形態を選択的に実施してもよい。   Furthermore, the specific form of the distribution / integration of the apparatus is not limited to the illustrated one, and all or a part of the apparatus may be functionally or physically Can be configured to be distributed and integrated. That is, the above-described embodiments may be arbitrarily combined and implemented, or the embodiments may be selectively implemented.

本発明は、例えば、鉄鋼業界、化学業界および石油業界等の各種素材メーカーにおいて有用であるが、中でも特に、鉄鋼業界においては極めて有用である。   INDUSTRIAL APPLICABILITY The present invention is useful, for example, in various material manufacturers such as the steel industry, the chemical industry, and the petroleum industry, and particularly, is extremely useful in the steel industry.

100 仕訳作成装置
102 制御部
102a 現在庫仕入赤データ作成部
102b 現在庫仕入黒データ作成部
102c 在庫評価差額算出部
102d 売上仕入赤データ作成部
102e 売上仕入黒データ作成部
102f 売上原価差額算出部
102g 元仕入赤データ作成部
102h 元仕入黒データ作成部
102i 仕入差額算出部
102j 仕訳作成部
104 通信インターフェース部
106 記憶部
106a 仕入データ
106a1 通常仕入データ
106a2 現在庫仕入赤データ
106a3 現在庫仕入黒データ
106a4 売上仕入赤データ
106a5 売上仕入黒データ
106a6 元仕入赤データ
106a7 元仕入黒データ
106b 売上データ
106c 移動データ
106d 在庫データ
106e 取引区分マスタ
108 入出力インターフェース部
112 入力装置
114 出力装置
200 サーバ
300 ネットワーク
100 journal creation device 102 control unit
102a Current warehouse purchase red data creation unit
102b Current warehouse purchase black data creation unit
102c Inventory evaluation difference calculation unit
102d Sales purchase red data creation department
102e Sales black data creation unit
102f Cost of sales difference calculator
102g Former purchase red data creation department
102h Original purchased black data creation unit
102i Purchase difference calculation unit
102j Journal creation unit 104 Communication interface unit 106 Storage unit
106a Purchase data
106a1 Normal purchase data
106a2 Current warehouse purchase red data
106a3 Current stock purchase black data
106a4 Sales purchase red data
106a5 Sales purchase black data
106a6 Former purchase red data
106a7 Original purchase black data
106b Sales data
106c Movement data
106d inventory data
106e Transaction classification master 108 Input / output interface unit 112 Input device 114 Output device 200 Server 300 Network

Claims (4)

制御部を備え、仕入れた商品のうちの一部の売上後に前記商品についての仕入の単価が改定された場合において、前記仕入れた商品の仕入金額に関して改定前の単価と改定後の単価で計算した場合の差額である仕入差額と、売り上げた前記商品の売上原価金額に関して改定前の単価と改定後の単価で計算した場合の差額である売上原価差額と、前記商品の前記売上後の数量の在庫評価額に関して改定前の単価と改定後の単価で計算した場合の差額である在庫評価差額と、を含む仕訳を作成する仕訳作成装置であって、
前記制御部は、
前記商品についての前記売上後の数量と前記改定前の単価とを含む在庫データ中の前記売上後の数量と前記在庫データ中の前記改定前の単価とに基づき算出される金額を含む、前記商品を前記売上後の数量分前記改定前の単価で仕入れた分に対応する通常仕入データを帳消しにするための現在庫仕入赤データを作成する現在庫仕入赤データ作成手段と、
前記在庫データ中の前記売上後の数量と入力された前記改定後の単価とに基づき算出される金額を含む、前記売上後の数量分前記改定前の単価で仕入れた分に対応する前記通常仕入データを前記改定後の単価で仕入れた分に対応する通常仕入データに修正するための現在庫仕入黒データを作成する現在庫仕入黒データ作成手段と、
前記現在庫仕入赤データ中の前記金額と前記現在庫仕入黒データ中の前記金額との和を前記在庫評価差額として算出する在庫評価差額算出手段と、
入力された前記商品についての売上数量と入力された前記改定前の単価とに基づき算出される金額を含む、前記商品を前記売上数量分前記改定前の単価で仕入れた分に対応する通常仕入データを帳消しにするための売上仕入赤データを作成する売上仕入赤データ作成手段と、
前記入力された前記商品についての売上数量と入力された前記改定後の単価とに基づき算出される金額を含む、前記売上数量分前記改定前の単価で仕入れた分に対応する前記通常仕入データを前記改定後の単価で仕入れた分に対応する通常仕入データに修正するための売上仕入黒データを作成する売上仕入黒データ作成手段と、
前記売上仕入赤データ中の前記金額と前記売上仕入黒データ中の前記金額との和を前記売上原価差額として算出する売上原価差額算出手段と、
前記在庫評価差額算出手段で算出した前記在庫評価差額と、前記売上原価差額算出手段で算出した前記売上原価差額と、当該在庫評価差額と当該売上原価差額との和に相当する前記仕入差額と、を含む前記仕訳を作成する仕訳作成手段と、
を備えること、
を特徴とする仕訳作成装置。
With a control unit, when the unit price of the purchase of the product is revised after the sale of a part of the purchased product, the purchase price of the purchased product is the unit price before the revision and the unit price after the revision. The purchase difference, which is the difference when calculated, and the cost of sales difference, which is the difference when calculated with the unit price before revision and the unit price after revision with respect to the cost of sales of the sold product, and after the sale of the product, A journal creation device that creates a journal including a stock valuation difference amount, which is a difference when the unit price before the revision and the unit price after the revision are calculated with respect to the inventory valuation amount of the quantity,
The control unit includes:
The commodity including an amount calculated based on the after-sales quantity in the inventory data including the after-sales quantity and the unit price before the revision for the commodity and the unit price before the revision in the inventory data. Current warehouse purchase red data creating means for creating current warehouse purchase red data for canceling normal purchase data corresponding to the amount purchased at the unit price before the revision by the quantity after the sale,
The normal product corresponding to the amount purchased at the unit price before the revision, including the amount after the sale, including an amount calculated based on the after-sales quantity and the input unit price after the revision in the inventory data. Current warehouse purchase black data creating means for creating current warehouse purchase black data for correcting input data to normal purchase data corresponding to the amount purchased at the revised unit price,
Inventory valuation difference calculation means for calculating the sum of the amount in the current warehouse purchase red data and the amount in the current warehouse purchase black data as the inventory valuation difference,
A normal purchase corresponding to the amount of the product purchased at the unit price before the revision, including the amount calculated based on the sales volume of the input product and the unit price before the revision. Sales purchase red data creation means for creating sales purchase red data for canceling data,
The normal purchase data corresponding to the amount purchased at the unit price before the revision, including the amount calculated based on the sales volume of the input product and the input unit price after the revision. Sales purchase black data creating means for creating sales purchase black data for correcting the normal purchase data corresponding to the purchase at the unit price after the revision,
Cost of sales difference calculating means for calculating the sum of the amount in the sales purchase red data and the amount in the sales purchase black data as the cost of sales difference,
The inventory valuation difference calculated by the inventory valuation difference calculation means, the cost of sales difference calculated by the cost of sales difference calculation means, and the purchase difference corresponding to the sum of the inventory valuation difference and the cost of sales difference. A journal creation means for creating the journal, including:
Having,
A journal creation device characterized by the following.
前記商品は、鉄鋼商品であり、
前記単価は、前記商品の仕入先に相当する鉄鋼メーカーと前記商品の売上先に相当する需要家との間で取り決めされるものであること、
を特徴とする請求項1に記載の仕訳作成装置。
The product is a steel product,
The unit price is determined between a steel maker corresponding to a supplier of the product and a consumer corresponding to a seller of the product,
The journal creation device according to claim 1, wherein:
制御部を備える情報処理装置で実行される、仕入れた商品のうちの一部の売上後に前記商品についての仕入の単価が改定された場合において、前記仕入れた商品の仕入金額に関して改定前の単価と改定後の単価で計算した場合の差額である仕入差額と、売り上げた前記商品の売上原価金額に関して改定前の単価と改定後の単価で計算した場合の差額である売上原価差額と、前記商品の前記売上後の数量の在庫評価額に関して改定前の単価と改定後の単価で計算した場合の差額である在庫評価差額と、を含む仕訳を作成する仕訳作成方法であって、
前記制御部で実行される、
前記商品についての前記売上後の数量と前記改定前の単価とを含む在庫データ中の前記売上後の数量と前記在庫データ中の前記改定前の単価とに基づき算出される金額を含む、前記商品を前記売上後の数量分前記改定前の単価で仕入れた分に対応する通常仕入データを帳消しにするための現在庫仕入赤データを作成する現在庫仕入赤データ作成ステップと、
前記在庫データ中の前記売上後の数量と入力された前記改定後の単価とに基づき算出される金額を含む、前記売上後の数量分前記改定前の単価で仕入れた分に対応する前記通常仕入データを前記改定後の単価で仕入れた分に対応する通常仕入データに修正するための現在庫仕入黒データを作成する現在庫仕入黒データ作成ステップと、
前記現在庫仕入赤データ中の前記金額と前記現在庫仕入黒データ中の前記金額との和を前記在庫評価差額として算出する在庫評価差額算出ステップと、
入力された前記商品についての売上数量と入力された前記改定前の単価とに基づき算出される金額を含む、前記商品を前記売上数量分前記改定前の単価で仕入れた分に対応する通常仕入データを帳消しにするための売上仕入赤データを作成する売上仕入赤データ作成ステップと、
前記入力された前記商品についての売上数量と入力された前記改定後の単価とに基づき算出される金額を含む、前記売上数量分前記改定前の単価で仕入れた分に対応する前記通常仕入データを前記改定後の単価で仕入れた分に対応する通常仕入データに修正するための売上仕入黒データを作成する売上仕入黒データ作成ステップと、
前記売上仕入赤データ中の前記金額と前記売上仕入黒データ中の前記金額との和を前記売上原価差額として算出する売上原価差額算出ステップと、
前記在庫評価差額算出ステップで算出した前記在庫評価差額と、前記売上原価差額算出ステップで算出した前記売上原価差額と、当該在庫評価差額と当該売上原価差額との和に相当する前記仕入差額と、を含む前記仕訳を作成する仕訳作成ステップと、
を含むこと、
を特徴とする仕訳作成方法。
Executed in the information processing device having a control unit, when the unit price of the purchase of the commodity is revised after the sale of a part of the purchased commodity, the purchase price of the purchased commodity before revision The purchase difference, which is the difference calculated by the unit price and the unit price after the revision, and the cost of sales difference, which is the difference when the unit cost before the revision and the unit price after the revision are calculated with respect to the cost of sales of the sold product, A journal creation method for creating a journal including a unit price before the revision and an inventory valuation difference that is a difference when calculated based on the unit price after the revision with respect to the inventory valuation amount of the sold product,
Executed by the control unit,
The commodity including an amount calculated based on the after-sales quantity in the inventory data including the after-sales quantity and the unit price before the revision for the commodity and the unit price before the revision in the inventory data. A current warehouse purchase red data creating step of creating current warehouse purchase red data for canceling normal purchase data corresponding to the amount purchased at the unit price before the revision by the quantity after the sale,
The normal product corresponding to the amount purchased at the unit price before the revision, including the amount after the sale, including an amount calculated based on the after-sales quantity and the input unit price after the revision in the inventory data. Current warehouse purchase black data creating step of creating current warehouse purchase black data for correcting input data to normal purchase data corresponding to the amount purchased at the revised unit price,
Inventory valuation difference calculating step of calculating the sum of the amount in the current warehouse purchase red data and the amount in the current warehouse purchase black data as the inventory valuation difference,
A normal purchase corresponding to the amount of the product purchased at the unit price before the revision, including the amount calculated based on the sales volume of the input product and the unit price before the revision. A sales purchase red data creating step for creating sales purchase red data for canceling data;
The normal purchase data corresponding to the amount purchased at the unit price before the revision, including the amount calculated based on the sales volume of the input product and the input unit price after the revision. A sales purchase black data creation step of creating sales purchase black data for correcting the normal purchase data corresponding to the purchase at the unit price after the revision,
A cost-of-sales difference calculating step of calculating the sum of the amount in the sales-purchased red data and the amount in the sales-purchased black data as the cost of sales difference,
The inventory valuation difference calculated in the inventory valuation difference calculation step, the cost of sales difference calculated in the cost of sales difference calculation step, and the purchase difference corresponding to the sum of the inventory valuation difference and the cost of sales difference. A journal creation step of creating the journal, including:
Including,
Journal creation method characterized by the following.
制御部を備える情報処理装置に実行させるための、仕入れた商品のうちの一部の売上後に前記商品についての仕入の単価が改定された場合において、前記仕入れた商品の仕入金額に関して改定前の単価と改定後の単価で計算した場合の差額である仕入差額と、売り上げた前記商品の売上原価金額に関して改定前の単価と改定後の単価で計算した場合の差額である売上原価差額と、前記商品の前記売上後の数量の在庫評価額に関して改定前の単価と改定後の単価で計算した場合の差額である在庫評価差額と、を含む仕訳を作成する仕訳作成プログラムであって、
前記制御部に実行させるための、
前記商品についての前記売上後の数量と前記改定前の単価とを含む在庫データ中の前記売上後の数量と前記在庫データ中の前記改定前の単価とに基づき算出される金額を含む、前記商品を前記売上後の数量分前記改定前の単価で仕入れた分に対応する通常仕入データを帳消しにするための現在庫仕入赤データを作成する現在庫仕入赤データ作成ステップと、
前記在庫データ中の前記売上後の数量と入力された前記改定後の単価とに基づき算出される金額を含む、前記売上後の数量分前記改定前の単価で仕入れた分に対応する前記通常仕入データを前記改定後の単価で仕入れた分に対応する通常仕入データに修正するための現在庫仕入黒データを作成する現在庫仕入黒データ作成ステップと、
前記現在庫仕入赤データ中の前記金額と前記現在庫仕入黒データ中の前記金額との和を前記在庫評価差額として算出する在庫評価差額算出ステップと、
入力された前記商品についての売上数量と入力された前記改定前の単価とに基づき算出される金額を含む、前記商品を前記売上数量分前記改定前の単価で仕入れた分に対応する通常仕入データを帳消しにするための売上仕入赤データを作成する売上仕入赤データ作成ステップと、
前記入力された前記商品についての売上数量と入力された前記改定後の単価とに基づき算出される金額を含む、前記売上数量分前記改定前の単価で仕入れた分に対応する前記通常仕入データを前記改定後の単価で仕入れた分に対応する通常仕入データに修正するための売上仕入黒データを作成する売上仕入黒データ作成ステップと、
前記売上仕入赤データ中の前記金額と前記売上仕入黒データ中の前記金額との和を前記売上原価差額として算出する売上原価差額算出ステップと、
前記在庫評価差額算出ステップで算出した前記在庫評価差額と、前記売上原価差額算出ステップで算出した前記売上原価差額と、当該在庫評価差額と当該売上原価差額との和に相当する前記仕入差額と、を含む前記仕訳を作成する仕訳作成ステップと、
を含むこと、
を特徴とする仕訳作成プログラム。
In order to cause the information processing apparatus having the control unit to execute, in a case where the unit price of purchase of the purchased product is revised after the sale of a part of the purchased product, before the revision of the purchase price of the purchased product. The purchase difference, which is the difference between the unit price of the product and the unit price after the revision, and the cost of sales difference, which is the difference between the unit price before the revision and the unit price after the revision, regarding the cost of sales of the sold product. A journal creation program for creating a journal including a unit price before the revision and an inventory valuation difference that is a difference calculated by the unit price after the revision with respect to the inventory valuation amount of the after-sales quantity of the product,
For causing the control unit to execute,
The commodity including an amount calculated based on the after-sales quantity in the inventory data including the after-sales quantity and the unit price before the revision for the commodity and the unit price before the revision in the inventory data. A current warehouse purchase red data creating step of creating current warehouse purchase red data for canceling normal purchase data corresponding to the amount purchased at the unit price before the revision by the quantity after the sale,
The normal product corresponding to the amount purchased at the unit price before the revision, including the amount after the sale, including an amount calculated based on the after-sales quantity and the input unit price after the revision in the inventory data. Current warehouse purchase black data creating step of creating current warehouse purchase black data for correcting input data to normal purchase data corresponding to the amount purchased at the revised unit price,
Inventory valuation difference calculating step of calculating the sum of the amount in the current warehouse purchase red data and the amount in the current warehouse purchase black data as the inventory valuation difference,
A normal purchase corresponding to the amount of the product purchased at the unit price before the revision, including the amount calculated based on the sales volume of the input product and the unit price before the revision. A sales purchase red data creating step for creating sales purchase red data for canceling data;
The normal purchase data corresponding to the amount purchased at the unit price before the revision, including the amount calculated based on the sales volume of the input product and the input unit price after the revision. A sales purchase black data creation step of creating sales purchase black data for correcting the normal purchase data corresponding to the purchase at the unit price after the revision,
A cost-of-sales difference calculating step of calculating the sum of the amount in the sales-purchased red data and the amount in the sales-purchased black data as the cost of sales difference,
The inventory valuation difference calculated in the inventory valuation difference calculation step, the cost of sales difference calculated in the cost of sales difference calculation step, and the purchase difference corresponding to the sum of the inventory valuation difference and the cost of sales difference. A journal creation step of creating the journal, including:
Including,
A journal creation program characterized by the following.
JP2018159163A 2018-08-28 2018-08-28 Journalization creation device, journalization creation method and journalization creation program Pending JP2020035049A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018159163A JP2020035049A (en) 2018-08-28 2018-08-28 Journalization creation device, journalization creation method and journalization creation program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018159163A JP2020035049A (en) 2018-08-28 2018-08-28 Journalization creation device, journalization creation method and journalization creation program

Publications (1)

Publication Number Publication Date
JP2020035049A true JP2020035049A (en) 2020-03-05

Family

ID=69668073

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018159163A Pending JP2020035049A (en) 2018-08-28 2018-08-28 Journalization creation device, journalization creation method and journalization creation program

Country Status (1)

Country Link
JP (1) JP2020035049A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022059969A (en) * 2020-10-02 2022-04-14 株式会社オービック Device, method, and program for creating journals

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022059969A (en) * 2020-10-02 2022-04-14 株式会社オービック Device, method, and program for creating journals
JP7348889B2 (en) 2020-10-02 2023-09-21 株式会社オービック Journal creation device, journal creation method, and journal creation program

Similar Documents

Publication Publication Date Title
JP6956837B2 (en) Sales information device, amount retroactive method and amount retroactive program
JP6830781B2 (en) Store contract accounting processing equipment, store contract accounting processing method, and store contract accounting processing program
JP2016184407A (en) Cost management device, cost management method, and cost management program
JP7048383B2 (en) Balance management device by store, balance management method by store, and balance management program by store
JP6981761B2 (en) Internal transaction management device, internal transaction management method and internal transaction management program
JP2019219924A (en) Journal creation device, journal creation method, and journal creation program
JP7389875B2 (en) Inventory value adjustment device, inventory value adjustment method, and inventory value adjustment program
JP2020035049A (en) Journalization creation device, journalization creation method and journalization creation program
JP6978917B2 (en) Arithmetic logic unit, calculation method and calculation program
JP2020035048A (en) Journalization creation device, journalization creation method and journalization creation program
JP2020052684A (en) Credit line management device, credit line management method, and credit line management program
JP2019061569A (en) Retroactive unit price correction device, retroactive unit price correction method, and retroactive unit price correction program
JP7149088B2 (en) Gross profit display device, gross profit display method and gross profit display program
JP2018073124A (en) Advance payment accounting management device, advance payment accounting management method, and advance payment accounting management program
JP7303762B2 (en) ACCOUNTING PROCESSING DEVICE, ACCOUNTING PROCESSING METHOD, AND ACCOUNTING PROCESSING PROGRAM
JP7157563B2 (en) Amount calculation device, amount calculation method, and amount calculation program
JP7194063B2 (en) Journal writing device, journal writing method and journal writing program
JP7336003B2 (en) Unit Price Retroactive Processing Device, Unit Price Retroactive Processing Method and Unit Price Retroactive Processing Program
JP7144970B2 (en) Product-specific balance management device, product-specific balance management method, and product-specific balance management program
JP2018055216A (en) Shipment control apparatus, shipment control method, and shipment control program
JP2022155478A (en) Cost management device, cost management method, and cost management program
JP2023065148A (en) Sales management device, sales management method, and sales management program
JP2019101874A (en) Data creation device, data creation method, and data creation program
JP2023128763A (en) L/c management apparatus, l/c management method, and l/c management program
JP2024058931A (en) Genuine product purchase device, genuine product purchase method and genuine product purchase program