JP2020181615A - Selling information device, amount retroaction method and amount retroaction program - Google Patents

Selling information device, amount retroaction method and amount retroaction program Download PDF

Info

Publication number
JP2020181615A
JP2020181615A JP2020135697A JP2020135697A JP2020181615A JP 2020181615 A JP2020181615 A JP 2020181615A JP 2020135697 A JP2020135697 A JP 2020135697A JP 2020135697 A JP2020135697 A JP 2020135697A JP 2020181615 A JP2020181615 A JP 2020181615A
Authority
JP
Japan
Prior art keywords
unit price
purchase
sales
retroactive
slip
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.)
Granted
Application number
JP2020135697A
Other languages
Japanese (ja)
Other versions
JP6956837B2 (en
Inventor
真吾 山本
Shingo Yamamoto
真吾 山本
康洋 小阪
Yasuhiro Kosaka
康洋 小阪
邦明 芹澤
Kuniaki Serizawa
邦明 芹澤
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
Publication of JP2020181615A publication Critical patent/JP2020181615A/en
Application granted granted Critical
Publication of JP6956837B2 publication Critical patent/JP6956837B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

To provide a selling information device capable of performing collective update processing under certain conditions for a unit price of temporarily registered reception and payment, and to provide an amount retroaction method and an amount retroaction program.SOLUTION: In the embodiment, a selling information device is configured to: (1) refer to registered content of a stocking unit price master for retroaction for each stocking details to be retroacted; (2) when a corresponding stocking unit price master for retroaction exists, recalculate an amount and a consumption tax by adopting a price unit on the master; and (3) associate and update debt information and payment schedule information to stocking history information and a payment destination about a slip on the basis of a recalculated result.SELECTED DRAWING: Figure 2

Description

本発明は、販売情報装置、金額遡及方法及び金額遡及プログラムに関する。 The present invention relates to a sales information device, an amount retroactive method, and an amount retroactive program.

特許文献1には、『商取引を実施した後に、商取引内容を修正する場合がある。例えば、石油化学業界の商習慣は価格後決め方式である。まず、ナフサなどの商品を仮決めの単価で年間契約を締結し、販売・購入した数量を基に仮決めの価格で請求・支払を行う。後日、期ごとに市況を勘案して正式な単価を決定し、仮決めの商取引を遡及して新たに差額分を請求・支払することが通例になっている。』が記載されている(段落0124参照)。 Patent Document 1 states, "After conducting a commercial transaction, the content of the commercial transaction may be modified. For example, the business practice of the petrochemical industry is a post-price method. First, an annual contract is concluded for products such as naphtha at a tentative unit price, and billing and payment are made at a tentative price based on the quantity sold and purchased. At a later date, it is customary to determine a formal unit price in consideration of market conditions for each period, and to retroactively carry out tentatively decided commercial transactions and charge and pay the difference. (See paragraph 0124).

特開2002−41750号公報Japanese Unexamined Patent Publication No. 2002-41750

しかしながら、従来技術では、仮で登録した受払の単価に対して一定の条件で一括洗い替え処理をすることができなかった。 However, in the prior art, it has not been possible to perform a batch rewashing process under certain conditions for the temporarily registered unit price of receipt and payment.

本発明は、上記問題点に鑑みてなされたものであって、仮で登録した受払の単価に対して一定の条件で一括洗い替え処理をすることができる販売情報装置、金額遡及方法及び金額遡及プログラムを提供することを目的とする。 The present invention has been made in view of the above problems, and is a sales information device, an amount retroactive method, and an amount retroactive method capable of collectively rewashing a temporarily registered unit price of receipts and payments under certain conditions. The purpose is to provide a program.

上述した課題を解決し、目的を達成するために、本発明に係る販売情報装置は、制御部を備えた販売情報装置であって、前記制御部は、仮の単価で取引され且つ正式な単価が当該取引後に決定される商品の正式な単価、商品の商品識別情報、商品の取引区分及び正式な単価の適用期間を少なくとも含む単価マスタと商品の商品識別情報、商品の単価、商品の取引区分及び商品の取引日を少なくとも含む伝票とを比較して、前記単価マスタから前記伝票に含まれる商品に適用される正式な単価を取得する取得手段と、前記伝票に含まれる単価を前記取得手段で取得した単価に変更する変更手段とを備えたことを特徴とする。 In order to solve the above-mentioned problems and achieve the object, the sales information device according to the present invention is a sales information device provided with a control unit, and the control unit is traded at a provisional unit price and a formal unit price. Is the formal unit price of the product, the product identification information of the product, the transaction classification of the product and the product identification information of the product including at least the application period of the formal unit price, the unit price of the product, the transaction classification of the product determined after the transaction. And the acquisition means for acquiring the formal unit price applied to the product included in the slip from the unit price master by comparing with the voucher including at least the transaction date of the product, and the acquisition means for acquiring the unit price included in the voucher. It is characterized by having a means of changing to the acquired unit price.

また、本発明に係る販売情報装置は、前記販売情報装置において、前記伝票は、商品の金額及び商品の数量をさらに含むものであり、前記制御部は、前記取得手段で取得した単価と前記伝票に含まれる数量の積を算出する算出手段をさらに備え、前記変更手段は、前記伝票に含まれる金額を前記算出手段で算出した積に変更すること、を特徴とする。 Further, in the sales information device according to the present invention, in the sales information device, the slip further includes the amount of goods and the quantity of goods, and the control unit has the unit price acquired by the acquisition means and the slip. A calculation means for calculating the product of the quantities included in the slip is further provided, and the changing means changes the amount of money included in the slip to the product calculated by the calculation means.

また、本発明に係る販売情報装置は、前記販売情報装置において、前記取引区分は、倉入仕入及び直送仕入のいずれか1つが設定される仕入区分であり、前記適用期間は、適用開始日及び適用終了日であり、前記取引日は、仕入日であり、前記単価マスタは、配送手配の在り方に関する予め定義された複数の区分のいずれか1つが設定される配送手配区分及び商品の仕入先の仕入先識別情報をさらに含むものであり、前記伝票は、配送手配区分及び仕入先識別情報をさらに含むものであり、前記取得手段は、前記単価マスタに含まれる仕入区分、配送手配区分、仕入先識別情報及び商品識別情報が前記伝票に含まれるものと一致するという条件と仕入日が適用開始日以後且つ適用終了日以前であるという条件を満たす場合に、前記単価マスタから正式な単価を取得すること、を特徴とする。 Further, in the sales information device according to the present invention, in the sales information device, the transaction category is a purchase category in which any one of a warehouse purchase and a direct purchase is set, and the applicable period is applicable. The start date and the application end date, the transaction date is the purchase date, and the unit price master is a delivery arrangement category and a product in which any one of a plurality of predefined categories regarding the way of delivery arrangement is set. Further includes the supplier identification information of the supplier, the slip further includes the delivery arrangement classification and the supplier identification information, and the acquisition means is the purchase included in the unit price master. When the condition that the classification, the delivery arrangement classification, the supplier identification information, and the product identification information match those included in the slip and the condition that the purchase date is after the application start date and before the application end date are satisfied. It is characterized in that a formal unit price is obtained from the unit price master.

また、本発明に係る販売情報装置は、前記販売情報装置において、前記単価マスタは、商品の出荷元の出荷元識別情報及び商品の納入先の納入先識別情報をさらに格納可能なものであり、前記伝票は、出荷元識別情報及び納入先識別情報をさらに含むものであり、前記取得手段は、前記伝票に含まれる仕入区分が倉入仕入であるという条件と前記単価マスタに含まれる出荷元識別情報が未登録である若しくは前記伝票に含まれるものと一致するという条件をさらに満たす場合又は前記伝票に含まれる仕入区分が直送仕入であるという条件と前記単価マスタに含まれる出荷元識別情報が未登録である若しくは前記伝票に含まれるものと一致するという条件と前記単価マスタに含まれる納入先識別情報が未登録である若しくは前記伝票に含まれるものと一致するという条件をさらに満たす場合に、前記単価マスタから正式な単価を取得すること、を特徴とする。 Further, in the sales information device according to the present invention, in the sales information device, the unit price master can further store the shipping source identification information of the shipping source of the product and the delivery destination identification information of the delivery destination of the product. The slip further includes a shipping source identification information and a delivery destination identification information, and the acquisition means includes a condition that the purchase category included in the slip is a warehouse purchase and a shipment included in the unit price master. When the condition that the original identification information is not registered or matches the one included in the slip is further satisfied, or the condition that the purchase category included in the slip is a direct purchase and the shipping source included in the unit price master. Further, the condition that the identification information is unregistered or matches the one contained in the slip and the condition that the delivery destination identification information included in the unit price master is unregistered or matches the one contained in the slip are further added. When the condition is satisfied, the formal unit price is obtained from the unit price master.

また、本発明に係る販売情報装置は、前記販売情報装置において、前記取引区分は、倉出売上及び直送売上のいずれか1つが設定される売上区分であり、前記適用期間は、適用開始日及び適用終了日であり、前記取引日は、売上日であり、前記単価マスタは、配送手配の在り方に関する予め定義された複数の区分のいずれか1つが設定される配送手配区分、商品の売上先の売上先識別情報及び商品の納入先の納入先識別情報をさらに含むものであり、前記伝票は、配送手配区分、売上先識別情報及び納入先識別情報をさらに含むものであり、前記取得手段は、前記単価マスタに含まれる売上区分、配送手配区分、売上先識別情報、納入先識別情報及び商品識別情報が前記伝票に含まれるものと一致するという条件と売上日が適用開始日以後且つ適用終了日以前であるという条件を満たす場合に、前記単価マスタから正式な単価を取得すること、を特徴とする。 Further, in the sales information device according to the present invention, in the sales information device, the transaction category is a sales category in which any one of Kurade sales and direct delivery sales is set, and the applicable period is the application start date and the application start date. The application end date, the transaction date is the sales date, and the unit price master is a delivery arrangement category in which one of a plurality of predefined categories relating to the way of delivery arrangement is set, and a sales destination of the product. The sales destination identification information and the delivery destination identification information of the delivery destination of the product are further included, and the slip further includes the delivery arrangement classification, the sales destination identification information and the delivery destination identification information, and the acquisition means is The condition that the sales category, delivery arrangement category, sales destination identification information, delivery destination identification information, and product identification information included in the unit price master match those included in the slip, and the sales date are after the application start date and the application end date. It is characterized in that a formal unit price is obtained from the unit price master when the condition that it is before is satisfied.

また、本発明に係る販売情報装置は、前記販売情報装置において、前記単価マスタは、商品の出荷元の出荷元識別情報をさらに格納可能なものであり、前記伝票は、出荷元識別情報をさらに含むものであり、前記取得手段は、前記伝票に含まれる売上区分が倉出売上であるという条件と前記単価マスタに含まれる出荷元識別情報が前記伝票に含まれるものと一致するという条件をさらに満たす場合又は前記伝票に含まれる売上区分が直送売上であるという条件と前記単価マスタに含まれる出荷元識別情報が未登録である若しくは前記伝票に含まれるものと一致するという条件をさらに満たす場合に、前記単価マスタから正式な単価を取得すること、を特徴とする。 Further, in the sales information device according to the present invention, in the sales information device, the unit price master can further store the shipping source identification information of the shipping source of the product, and the slip further stores the shipping source identification information. The acquisition means further includes a condition that the sales category included in the slip is Kurade sales and a condition that the shipping source identification information included in the unit price master matches that included in the slip. When the condition is satisfied, or when the condition that the sales category included in the slip is direct sales and the condition that the shipping source identification information included in the unit price master is unregistered or matches that included in the slip are further satisfied. , The formal unit price is obtained from the unit price master.

また、本発明に係る金額遡及方法は、制御部を備えた販売情報装置で実行される金額遡及方法であって、前記制御部で実行される、仮の単価で取引され且つ正式な単価が当該取引後に決定される商品の正式な単価、商品の商品識別情報、商品の取引区分及び正式な単価の適用期間を少なくとも含む単価マスタと商品の商品識別情報、商品の単価、商品の取引区分及び商品の取引日を少なくとも含む伝票とを比較して、前記単価マスタから前記伝票に含まれる商品に適用される正式な単価を取得する取得ステップと、前記伝票に含まれる単価を前記取得ステップで取得した単価に変更する変更ステップとを含むことを特徴とする。 Further, the amount retroactive method according to the present invention is an amount retroactive method executed by a sales information device provided with a control unit, and is executed by the control unit and is traded at a provisional unit price and the formal unit price is the said. The unit price master and product identification information including at least the formal unit price of the product, the product identification information of the product, the transaction classification of the product and the application period of the formal unit price determined after the transaction, the unit price of the product, the transaction classification of the product and the product The acquisition step of acquiring the formal unit price applied to the product included in the slip from the unit price master and the unit price included in the slip were acquired in the acquisition step by comparing with the slip including at least the transaction date of. It is characterized by including a change step for changing to a unit price.

また、本発明に係る金額遡及プログラムは、制御部を備えた販売情報装置に実行させるための金額遡及プログラムであって、前記制御部に実行させるための、仮の単価で取引され且つ正式な単価が当該取引後に決定される商品の正式な単価、商品の商品識別情報、商品の取引区分及び正式な単価の適用期間を少なくとも含む単価マスタと商品の商品識別情報、商品の単価、商品の取引区分及び商品の取引日を少なくとも含む伝票とを比較して、前記単価マスタから前記伝票に含まれる商品に適用される正式な単価を取得する取得ステップと、前記伝票に含まれる単価を前記取得ステップで取得した単価に変更する変更ステップとを含むことを特徴とする。 Further, the amount retroactive program according to the present invention is an amount retroactive program for being executed by a sales information device provided with a control unit, and is traded at a provisional unit price and formal unit price for being executed by the control unit. Is the formal unit price of the product, the product identification information of the product, the transaction classification of the product and the product identification information of the product including at least the application period of the formal unit price, the unit price of the product, the transaction classification of the product determined after the transaction. And the acquisition step of acquiring the formal unit price applied to the product included in the voucher from the unit price master by comparing with the voucher including at least the transaction date of the product, and the unit price included in the voucher in the acquisition step. It is characterized by including a change step for changing to the acquired unit price.

本発明によれば、仮で登録した受払の単価に対して一定の条件で一括洗い替え処理をすることができるという効果を奏する。 According to the present invention, it is possible to carry out a batch rewashing process under certain conditions with respect to the temporarily registered unit price of receipt and payment.

図1は、売上単価遡及処理の概要を示した図である。FIG. 1 is a diagram showing an outline of the sales unit price retroactive processing. 図2は、仕入単価遡及処理の概要を示した図である。FIG. 2 is a diagram showing an outline of the purchase unit price retroactive processing. 図3は、販売情報装置100の構成の一例を示すブロック図である。FIG. 3 is a block diagram showing an example of the configuration of the sales information device 100. 図4は、遡及用売上単価マスタ106aの一例を示す図である。FIG. 4 is a diagram showing an example of the retroactive sales unit price master 106a. 図5は、遡及用仕入単価マスタ106bの一例を示す図である。FIG. 5 is a diagram showing an example of the retroactive purchase unit price master 106b. 図6は、売上データテーブル106cの一例を示す図である。FIG. 6 is a diagram showing an example of the sales data table 106c. 図7は、仕入データテーブル106dの一例を示す図である。FIG. 7 is a diagram showing an example of the purchase data table 106d. 図8は、条件指定画面Mの一例を示す図である。FIG. 8 is a diagram showing an example of the condition designation screen M. 図9は、本実施形態における販売情報装置100で実行されるメイン処理の一例を示すフローチャートである。FIG. 9 is a flowchart showing an example of the main process executed by the sales information device 100 in the present embodiment. 図10は、条件指定の一例を示す図である。FIG. 10 is a diagram showing an example of condition designation. 図11は、売上データテーブル106cの一例を示す図である。FIG. 11 is a diagram showing an example of the sales data table 106c. 図12は、条件指定の一例を示す図である。FIG. 12 is a diagram showing an example of condition designation. 図13は、仕入データテーブル106dの一例を示す図である。FIG. 13 is a diagram showing an example of the purchase data table 106d.

本発明の実施形態を図面に基づいて詳細に説明する。なお、本発明は本実施形態により限定されるものではない。 Embodiments of the present invention will be described in detail with reference to the drawings. The present invention is not limited to the present embodiment.

[1.概要]
本実施形態は、先物商品を扱う業態における売上単価や仕入単価を遡及更新する機能に関するものである。
[1. Overview]
The present embodiment relates to a function of retroactively updating the sales unit price and the purchase unit price in a business format that handles futures products.

例えば、本実施形態では、(A1)条件指定画面にて、今回遡及対象としたい売上伝票の条件を選択し、(A2)対象伝票の請求締済チェックを行い、(A3)対象となる売上伝票(明細)が排他状態となっていないかをチェックし、(A4)排他状態となっていない場合は、遡及対象の明細が含まれる、売上伝票(直送の場合、仕入伝票)を単価遡及処理実行中として排他状態とし、(A5)対象となった売上明細毎に、遡及売上単価マスタの登録内容を参照し、(A6)該当する遡及用売上単価マスタが存在した場合、マスタ上の単価を採用して金額及び消費税の再計算を行い、(A7)売上データの更新オペレータIDを単価遡及処理実行オペレータIDにて上書きし、(A8)対象売上伝票の排他状態を解除する(図1参照)。なお、(A2)の処理において、請求仮締・確定状態の場合、その伝票は内部的に処理対象外としてエラーを発生させないようにしてもよい。また、(A3)の処理において、排他状態となっている伝票が存在した場合、エラーを発生させてもよい。また、(A6)の処理において、再計算した結果で、その伝票に関する売上履歴情報、請求先に対する債権情報及び回収予定情報も紐付けて洗い替えてもよい。また、(A6)の処理において、複数の明細をもつ伝票の内の一つの明細が遡及対象となった場合、当該一つの明細の金額が変更された後の内容で伝票情報も洗い替えてもよい。 For example, in the present embodiment, on the (A1) condition specification screen, the conditions of the sales slip to be retroactively targeted this time are selected, (A2) the billing completion check of the target slip is performed, and (A3) the target sales slip is checked. Check if (Details) is in the exclusive state, and if (A4) is not in the exclusive state, the sales slip (in the case of direct delivery, the purchase slip) containing the details to be retroactive is processed in retroactive unit price. Set it to the exclusive state as being executed, (A5) refer to the registered contents of the retroactive sales unit price master for each target sales item, and (A6) if the corresponding retroactive sales unit price master exists, the unit price on the master It is adopted to recalculate the amount and consumption tax, (A7) overwrite the sales data update operator ID with the unit price retroactive processing execution operator ID, and (A8) release the exclusive state of the target sales slip (see FIG. 1). ). In the process of (A2), in the case of the request provisional tightening / confirmation state, the slip may be internally excluded from the processing target so that an error does not occur. Further, in the process of (A3), if there is a slip in the exclusive state, an error may be generated. Further, in the process of (A6), the sales history information regarding the slip, the claim information for the billing destination, and the collection schedule information may be linked and re-examined as a result of the recalculation. Further, in the process of (A6), when one of the slips having a plurality of details is retroactively targeted, even if the slip information is changed with the contents after the amount of the one detail is changed. Good.

また、例えば、本実施形態では、(B1)条件指定画面にて、今回遡及対象としたい仕入伝票の条件を選択し、(B2)対象伝票の請求締済チェックを行い、(B3)対象となる仕入伝票(明細)が排他状態となっていないかをチェックし、(B4)排他状態となっていない場合は、遡及対象の明細が含まれる、仕入伝票(直送の場合、売上伝票)を単価遡及処理実行中として排他状態とし、(B5)遡及対象となった仕入明細毎に、遡及用仕入単価マスタの登録内容を参照し、(B6)該当する遡及用仕入単価マスタが存在した場合、マスタ上の単価を採用して金額及び消費税の再計算を行い、(B7)売上に紐付く直送仕入伝票の遡及の場合は売上データ内の原価及び粗利の金額も洗い替え、(B8)仕入データの更新オペレータIDを単価遡及処理実行オペレータIDにて上書きし、(B9)対象仕入伝票の排他状態を解除する(図2参照)。なお、(B2)の処理において、支払締・確定状態の場合、その伝票は内部的に処理対象外としてエラーを発生させないようにしてもよい。また、(B3)の処理において、排他状態となっている伝票が存在した場合、エラーを発生させてもよい。また、(B6)の処理において、再計算した結果で、その伝票に関する仕入履歴情報、支払先に対する債務情報及び支払予定情報も紐づけて洗い替えてもよい。また、(B6)の処理において、複数の明細をもつ伝票の内の一つの明細が遡及対象となった場合、当該一つの明細の金額が変更された後の内容で伝票情報も洗い替えてもよい。 Further, for example, in the present embodiment, on the (B1) condition specification screen, the condition of the purchase slip to be retroactively targeted this time is selected, (B2) the billing completion check of the target slip is performed, and (B3) the target. Check if the purchase slip (details) is in the exclusive state, and if (B4) is not in the exclusive status, the purchase slip (sales slip in the case of direct delivery) including the details to be retroactively sent. Is set to the exclusive state as the unit price retroactive processing is being executed, and (B5) the registered contents of the retroactive purchase unit price master are referred to for each purchase item that is the target of retrospective, and (B6) the corresponding retroactive purchase unit price master is If it exists, the unit price on the master is adopted to recalculate the amount and consumption tax, and (B7) In the case of retroactive purchase slips linked to sales, the cost and gross profit amounts in the sales data are also washed. Instead, (B8) the update operator ID of the purchase data is overwritten with the unit price retroactive processing execution operator ID, and (B9) the exclusive state of the target purchase slip is released (see FIG. 2). In the process of (B2), if the payment is closed / confirmed, the slip may be internally excluded from the process so that an error does not occur. Further, in the process of (B3), if there is a slip in the exclusive state, an error may be generated. Further, in the process of (B6), the purchase history information related to the slip, the debt information to the payee, and the payment schedule information may be linked and rewritten as the result of the recalculation. Further, in the process of (B6), when one of the slips having a plurality of details is retroactively targeted, even if the slip information is changed with the contents after the amount of the one detail is changed. Good.

[2.構成]
本実施形態に係る販売情報装置の構成の一例について、図3等を参照して説明する。図3は、販売情報装置100の構成の一例を示すブロック図である。
[2. Constitution]
An example of the configuration of the sales information device according to the present embodiment will be described with reference to FIG. 3 and the like. FIG. 3 is a block diagram showing an example of the configuration of the sales information device 100.

販売情報装置100は、販売情報システム(販売管理システム)が導入されている、市販のデスクトップ型パーソナルコンピュータである。なお、販売情報装置100は、デスクトップ型パーソナルコンピュータのような据置型情報処理装置に限らず、市販されているノート型パーソナルコンピュータ、PDA(Personal Digital Assistants)、スマートフォン、タブレット型パーソナルコンピュータなどの携帯型情報処理装置であってもよい。 The sales information device 100 is a commercially available desktop personal computer in which a sales information system (sales management system) is introduced. The sales information device 100 is not limited to a stationary information processing device such as a desktop personal computer, but is a portable type such as a commercially available notebook personal computer, a PDA (Personal Digital Assistants), a smartphone, or a tablet personal computer. It may be an information processing device.

販売情報装置100は、制御部102と通信インターフェース部104と記憶部106と入出力インターフェース部108と、を備えている。販売情報装置100が備えている各部は、任意の通信路を介して通信可能に接続されている。 The sales information device 100 includes a control unit 102, a communication interface unit 104, a storage unit 106, and an input / output interface unit 108. Each part of the sales information device 100 is communicably connected via an arbitrary communication path.

通信インターフェース部104は、ルータ等の通信装置及び専用線等の有線又は無線の通信回線を介して、販売情報装置100をネットワーク300に通信可能に接続する。通信インターフェース部104は、他の装置と通信回線を介してデータを通信する機能を有する。ここで、ネットワーク300は、販売情報装置100とサーバ200とを相互に通信可能に接続する機能を有し、例えばインターネットやイントラネット、LAN(Local Area Network)等である。 The communication interface unit 104 connects the sales information device 100 to the network 300 so as to be communicable 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 sales information device 100 and the server 200 so as to be able to communicate with each other, and is, for example, the Internet, an intranet, a LAN (Local Area Network), or the like.

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

遡及用売上単価マスタ106a(本発明の単価マスタに相当)は、売上区分(本発明の売上区分に相当)、配送区分(本発明の配送手配区分に相当)、得意先(本発明の売上先識別情報に相当)、納入先(本発明の納入先識別情報に相当)、商品(本発明の商品識別情報に相当)、自社倉庫、出荷基地(本発明の出荷元識別情報に相当)、適用開始日(本発明の適用開始日に相当)、適用終了日(本発明の適用終了日に相当)、及び売上本体単価(本発明の正式な単価に相当)などのデータを含むテーブルである(図4参照)。ここで、売上区分として、「倉出売上」及び「直送売上」の2つが予め定義されている。また、配送手配の在り方を踏まえ、配送区分として、「得意先以前手配」、「自社手配」及び「仕入先手配」の3つが予め定義されている。ここで、「得意先以前手配」は、商流的に得意先より先の「商品の届く先」(例えば最終納入先等)からの配送手配依頼があることを指すものである。「自社手配」は、当社自身での配送手配を指すものである。「仕入先手配」は、直送時に油の卸先(主にメーカー)が配送方法を指定依頼してくるケースを指すものである。 The retroactive sales unit price master 106a (corresponding to the unit price master of the present invention) includes a sales category (corresponding to the sales category of the present invention), a delivery category (corresponding to the delivery arrangement category of the present invention), and a customer (sales destination of the present invention). (Corresponding to identification information), delivery destination (corresponding to delivery destination identification information of the present invention), product (corresponding to product identification information of the present invention), own warehouse, shipping base (corresponding to shipping source identification information of the present invention), application It is a table containing data such as a start date (corresponding to the application start date of the present invention), an application end date (corresponding to the application end date of the present invention), and a unit sales price (corresponding to the formal unit price of the present invention). (See FIG. 4). Here, two sales categories, "Kuraide sales" and "direct sales", are defined in advance. In addition, based on the way of delivery arrangements, three delivery categories, "arrangement before customer", "arrangement in-house", and "arrangement by supplier" are defined in advance. Here, "arrangement before the customer" means that there is a delivery arrangement request from the "delivery destination of the product" (for example, the final delivery destination) ahead of the customer in the commercial distribution. "In-house arrangement" refers to the delivery arrangement by our company. "Supplier arrangement" refers to the case where the oil wholesaler (mainly the manufacturer) requests the specification of the delivery method at the time of direct delivery.

遡及用仕入単価マスタ106b(本発明の単価マスタに相当)は、仕入区分(本発明の仕入区分に相当)、配送手配区分(本発明の配送手配区分に相当)、仕入先コード(本発明の仕入先識別情報に相当)、倉庫(出荷基地)コード(本発明の出荷元識別情報に相当)、納入先コード(本発明の納入先識別情報に相当)、商品コード(本発明の商品識別情報に相当)、適用開始日(本発明の適用開始日に相当)、適用終了日(本発明の適用終了日に相当)、及び仕入本体単価(本発明の正式な単価に相当)などの情報を含むテーブルである(図5参照)。ここで、仕入区分として、「倉入仕入」及び「直送仕入」の2つが予め定義されている。また、配送手配の在り方を踏まえ、配送手配区分として、「得意先以前手配」、「自社手配」及び「仕入先手配」の3つが予め定義されている。 The retroactive purchase unit price master 106b (corresponding to the unit price master of the present invention) is a purchase classification (corresponding to the purchase classification of the present invention), a delivery arrangement classification (corresponding to the delivery arrangement classification of the present invention), and a supplier code. (Corresponding to the supplier identification information of the present invention), Warehouse (shipping base) code (corresponding to the shipping source identification information of the present invention), Delivery destination code (corresponding to the delivery destination identification information of the present invention), Product code (corresponding to the present invention) The product identification information of the present invention, the application start date (corresponding to the application start date of the present invention), the application end date (corresponding to the application end date of the present invention), and the purchase body unit price (corresponding to the formal unit price of the present invention). It is a table containing information such as (corresponding) (see FIG. 5). Here, two purchase categories, "Kurairi purchase" and "Direct purchase", are defined in advance. In addition, three delivery arrangement categories, "arrangement before customer", "in-house arrangement", and "supplier arrangement", are defined in advance based on the way of delivery arrangement.

売上データテーブル106c(本発明の伝票を含む)は、レコードを識別するための番号、売上事業所、売上番号、行番号、売上日、売上区分、CD(配送手配区分コード)、配送手配区分、得意先、納入先、倉庫(自社倉庫)、商品、倉庫CD(出荷基地コード)、出荷基地、締状態、売上単価、売上金額及び売上数量などの情報を含むテーブルである(図6参照)。ここで、出荷基地の情報は、仕入データテーブル106dから取得されるものである。また、売上番号は、売上伝票を識別するための番号である。また、行番号は、売上伝票に含まれる明細を識別するための番号である。 The sales data table 106c (including the slip of the present invention) contains a number for identifying a record, a sales office, a sales number, a line number, a sales date, a sales classification, a CD (delivery arrangement classification code), a delivery arrangement classification, It is a table containing information such as a customer, a delivery destination, a warehouse (own warehouse), a product, a warehouse CD (shipping base code), a shipping base, a closing state, a unit sales price, a sales amount, and a sales quantity (see FIG. 6). Here, the information on the shipping base is obtained from the purchase data table 106d. The sales number is a number for identifying the sales slip. The line number is a number for identifying the details included in the sales slip.

仕入データテーブル106d(本発明の伝票を含む)は、レコードを識別するための番号、仕入事業所、仕入番号、行番号、仕入日、仕入区分、CD(配送手配区分コード)、配送手配区分、仕入先、倉庫CD(出荷基地コード)、出荷基地、倉庫(自社倉庫)、商品、締状態、納入先、仕入単価、仕入金額及び仕入数量などの情報を含むテーブルである(図7参照)。ここで、納入先の情報は、売上データテーブル106cから取得されるものである。また、仕入番号は、仕入伝票を識別するための番号である。また、行番号は、仕入伝票に含まれる明細を識別するための番号である。 The purchase data table 106d (including the slip of the present invention) contains a number for identifying a record, a purchase place, a purchase number, a line number, a purchase date, a purchase classification, and a CD (delivery arrangement classification code). , Delivery arrangement classification, supplier, warehouse CD (shipping base code), shipping base, warehouse (own warehouse), product, closing status, delivery destination, purchase unit price, purchase amount and purchase quantity, etc. It is a table (see FIG. 7). Here, the delivery destination information is obtained from the sales data table 106c. The purchase number is a number for identifying the purchase slip. The line number is a number for identifying the details included in the purchase slip.

入出力インターフェース部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, a speaker or a printer can be used in addition to a monitor (including a home television). As the input device 112, in addition to a keyboard, a mouse, and a microphone, a monitor that cooperates with the mouse to realize a pointing device function can be used. In the following, the output device 114 may be referred to as a monitor 114, and the input device 112 may be referred to as a keyboard 112 or a mouse 112.

制御部102は、販売情報装置100を統括的に制御するCPU等である。制御部102は、OS等の制御プログラム・各種の処理手順等を規定したプログラム・所要データなどを格納するための内部メモリを有し、格納されているこれらのプログラムに基づいて種々の情報処理を実行する。制御部102は、機能概念的に、遡及対象データ取得部102aと、本発明の取得手段を含む遡及単価取得部102bと、本発明の算出手段及び変更手段を含む遡及処理部102cとを備えている。 The control unit 102 is a CPU or the like that collectively controls the sales information device 100. The control unit 102 has an internal memory for storing a control program such as an OS, a program that defines various processing procedures, required data, and the like, and performs various information processing based on these stored programs. Run. The control unit 102 functionally includes a retroactive target data acquisition unit 102a, a retroactive unit price acquisition unit 102b including the acquisition means of the present invention, and a retroactive processing unit 102c including the calculation means and the changing means of the present invention. There is.

遡及対象データ取得部102aは、指定された条件に従って、売上データテーブル106cから、遡及対象とする売上伝票データを取得する。また、遡及対象データ取得部102aは、指定された条件に従って、仕入データテーブル106dから、遡及対象とする仕入伝票データを取得する。なお、遡及対象データ取得部102aが実施する処理については、以下の[4.処理の具体例]にて詳細に説明する。 The retroactive target data acquisition unit 102a acquires the sales slip data to be retroactively targeted from the sales data table 106c according to the designated conditions. Further, the retroactive target data acquisition unit 102a acquires the purchase slip data to be retroactively targeted from the purchase data table 106d according to the designated conditions. Regarding the processing performed by the retroactive target data acquisition unit 102a, the following [4. Specific example of processing] will be described in detail.

遡及単価取得部102bは、遡及用売上単価マスタ106aと遡及対象データ取得部102aが取得した遡及対象売上伝票データとを比較して、遡及用売上単価マスタ106aから、遡及対象売上伝票データに適用される単価を取得する。具体的には、遡及単価取得部102bは、遡及対象データ取得部102aが取得した遡及対象売上伝票データ(レコード)毎に、遡及用売上単価マスタ106aを参照して、各レコードに対応する遡及単価(売上本体単価)を取得する。 The retroactive unit price acquisition unit 102b compares the retroactive sales unit price master 106a with the retroactive target sales slip data acquired by the retroactive target data acquisition unit 102a, and is applied to the retroactive target sales slip data from the retroactive sales unit price master 106a. Get the unit price. Specifically, the retroactive unit price acquisition unit 102b refers to the retroactive sales unit price master 106a for each retroactive target sales slip data (record) acquired by the retroactive target data acquisition unit 102a, and refers to the retroactive unit price corresponding to each record. (Sales unit price) is acquired.

遡及単価取得部102bは、遡及用仕入単価マスタ106bと遡及対象データ取得部102aが取得した遡及対象仕入伝票データとを比較して、遡及用仕入単価マスタ106bから、遡及対象仕入伝票データに適用される単価を取得する。具体的には、遡及単価取得部102bは、遡及対象データ取得部102aが取得した遡及対象仕入伝票データ(レコード)毎に、遡及用仕入単価マスタ106bを参照して、各レコードに対応する遡及単価(仕入本体単価)を取得する。 The retroactive unit price acquisition unit 102b compares the retroactive purchase unit price master 106b with the retroactive target purchase slip data acquired by the retroactive target data acquisition unit 102a, and from the retroactive purchase unit price master 106b, the retroactive purchase slip. Get the unit price applied to the data. Specifically, the retroactive unit price acquisition unit 102b corresponds to each record by referring to the retroactive purchase unit price master 106b for each retroactive target purchase slip data (record) acquired by the retroactive target data acquisition unit 102a. Acquire the retroactive unit price (purchase main unit price).

なお、遡及単価取得部102bが実施する処理については、以下の[4.処理の具体例]にて詳細に説明する。 Regarding the processing performed by the retroactive unit price acquisition unit 102b, the following [4. Specific example of processing] will be described in detail.

遡及処理部102cは、遡及単価取得部102bが取得した売上本体単価と遡及対象売上伝票データに含まれる数量に基づいて、遡及対象売上伝票データに含まれる売上金額を再計算して、当該取得した売上本体単価と当該再計算した売上金額に基づいて、遡及対象売上伝票データに含まれる売上単価と売上金額を洗い替える(更新する)。 The retroactive processing unit 102c recalculates the sales amount included in the retroactive target sales slip data based on the sales unit price acquired by the retroactive unit price acquisition unit 102b and the quantity included in the retroactive target sales slip data, and acquires the sales amount. Based on the sales unit price and the recalculated sales amount, the sales unit price and the sales amount included in the retroactive sales slip data are refreshed (updated).

遡及処理部102cは、遡及単価取得部102bが取得した仕入本体単価と遡及対象仕入伝票データに含まれる数量に基づいて、遡及対象仕入伝票データに含まれる仕入金額を再計算して、当該取得した仕入本体単価と当該再計算した仕入金額に基づいて、遡及対象仕入伝票データに含まれる仕入単価と仕入金額を洗い替える(更新する)。 The retroactive processing unit 102c recalculates the purchase amount included in the retroactive target purchase slip data based on the purchase main unit price acquired by the retroactive unit price acquisition unit 102b and the quantity included in the retroactive target purchase slip data. , Based on the acquired purchase unit price and the recalculated purchase amount, the purchase unit price and purchase amount included in the retroactive purchase slip data are refreshed (updated).

なお、遡及処理部102cが実施する処理については、以下の[4.処理の具体例]にて詳細に説明する。 Regarding the processing performed by the retroactive processing unit 102c, the following [4. Specific example of processing] will be described in detail.

[3.画面構成例]
ここでは、条件指定画面Mの構成例について、図8を参照して説明する。なお、図8に示す画面は、後述する売上単価遡及処理において遡及対象とする売上伝票データをオペレータに選択させるためのものである。
[3. Screen configuration example]
Here, a configuration example of the condition specification screen M will be described with reference to FIG. The screen shown in FIG. 8 is for allowing the operator to select the sales slip data to be retroactively targeted in the sales unit price retroactive processing described later.

条件指定画面Mは、売上事業所の範囲を入力するための領域1と、売上日の範囲を入力するための領域2と、売上区分の範囲を入力するための領域3と、配送手配区分の範囲を入力するための領域4と、売上担当者の範囲を入力するための領域5と、得意先の範囲を入力するための領域6と、納入先の範囲を入力するための領域7と、出荷基地の範囲を入力するための領域8と、自社倉庫の範囲を入力するための領域9と、商品の範囲を入力するための領域10と、売上番号の範囲を入力するための領域11と、制御部102の各処理部で実行される処理の進行状況を表示するための領域12と、を含んでいる。 The condition specification screen M has an area 1 for inputting the range of the sales office, an area 2 for inputting the range of the sales date, an area 3 for inputting the range of the sales category, and a delivery arrangement category. Area 4 for inputting the range, area 5 for inputting the range of the sales person, area 6 for inputting the range of the customer, and area 7 for inputting the range of the delivery destination. Area 8 for inputting the range of the shipping base, area 9 for inputting the range of the company's warehouse, area 10 for inputting the range of products, and area 11 for inputting the range of the sales number. , And an area 12 for displaying the progress of processing executed by each processing unit of the control unit 102.

なお、後述する仕入単価遡及処理において遡及対象とする仕入伝票データをオペレータに選択させるための条件指定画面は、図8に示す画面Mに対し以下の変更及び削除を行ったものであってもよい。
・領域1から領域3、領域5、及び領域11を、仕入事業所、仕入日、仕入区分、仕入担当者、及び仕入番号のそれぞれの範囲を入力させるためのものに変更。
・領域6及び領域9を削除。
The condition specification screen for allowing the operator to select the purchase slip data to be retroactively selected in the purchase unit price retroactive processing described later is the screen M shown in FIG. 8 with the following changes and deletions. May be good.
-Changed area 1 to area 3, area 5, and area 11 so that the range of each range of purchase place, purchase date, purchase classification, purchase person, and purchase number can be input.
-Deleted area 6 and area 9.

[4.処理の具体例]
本実施形態で実施される、売上単価遡及処理および仕入単価遡及処理の具体例について、図9から図13等を参照して説明する。
[4. Specific example of processing]
Specific examples of the sales unit price retroactive processing and the purchase unit price retroactive processing carried out in the present embodiment will be described with reference to FIGS. 9 to 13 and the like.

[4−1.売上単価遡及処理の具体例]
売上単価遡及処理の具体例について、図9から図11等を参照して説明する。図9は、本実施形態における販売情報装置100で実行されるメイン処理の一例を示すフローチャートである。なお、本説明では、売上データテーブル106cに、図6に示すデータが格納されていることを前提とする。
[4-1. Specific example of retroactive sales unit price]
A specific example of the sales unit price retroactive processing will be described with reference to FIGS. 9 to 11 and the like. FIG. 9 is a flowchart showing an example of the main process executed by the sales information device 100 in the present embodiment. In this description, it is assumed that the data shown in FIG. 6 is stored in the sales data table 106c.

[ステップS1:遡及対象データ取得]
遡及対象データ取得部102aは、条件指定画面Mにて入力された条件に従って、売上データテーブル106cから、遡及対象とする売上伝票データを取得する。具体的には、遡及対象データ取得部102aは、入力された売上区分が「倉出売上」である場合、入力された売上事業所、売上日、売上区分、配送手配区分、売上担当者、得意先、納入先、自社倉庫、商品及び売上番号を条件として使用して、当該条件と同じデータを含む売上伝票データを絞り込む。また、遡及対象データ取得部102aは、入力された売上区分が「直送売上」である場合、入力された売上事業所、売上日、売上区分、配送手配区分、売上担当者、得意先、納入先、出荷基地、商品及び売上区分を条件として使用して、当該条件と同じデータを含む売上伝票データを絞り込む。
[Step S1: Acquisition of retroactive target data]
The retroactive target data acquisition unit 102a acquires the sales slip data to be retroactively targeted from the sales data table 106c according to the conditions input on the condition specification screen M. Specifically, when the input sales category is "Kuraide sales", the retroactive target data acquisition unit 102a is good at the input sales office, sales date, sales category, delivery arrangement category, sales person, and specialty. Use the destination, delivery destination, own warehouse, product, and sales number as conditions to narrow down the sales slip data that includes the same data as the conditions. In addition, when the input sales category is "direct sales", the retroactive target data acquisition unit 102a has the input sales office, sales date, sales category, delivery arrangement category, sales person, customer, and delivery destination. , Shipping base, product, and sales category are used as conditions to narrow down sales slip data that includes the same data as the conditions.

例えば、条件指定画面Mに図10に示す条件が指定された場合、売上データテーブル106cに格納されている売上伝票データのうち、図11に示す太枠内のデータを含む売上伝票データが選択され取得される。なお、図11において、No.4のレコードは、遡及対象として選択されるNo.3のレコードと同じ伝票だが、No.4のレコードに含まれる自社倉庫のデータは指定されたものと異なるため、No.4のレコードは遡及対象として選択されない。つまり、売上明細データとしてのNo.4のレコードは遡及対象にはならない。ただし、当該レコードを含む売上番号「A110」の伝票に対しては遡及が発生する。また、図11において、No.8とNo.9のレコードについては売上入力時に出荷基地のデータを登録していないため、出荷基地のデータが未登録の状態となっている。そのため、そのため、条件指定画面M上で出荷基地の範囲を指定した場合、これらのレコードは選択対象にはならない。ただし、条件指定画面M上で出荷基地の範囲を未入力とした場合には、無条件で全ての出荷基地のデータが選択対象になる。 For example, when the condition shown in FIG. 10 is specified on the condition specification screen M, the sales slip data including the data in the thick frame shown in FIG. 11 is selected from the sales slip data stored in the sales data table 106c. To be acquired. In FIG. 11, No. The record of No. 4 is No. 4 selected as a retroactive target. The same slip as the record of 3, but No. Since the data of the company's warehouse included in the record of 4 is different from the specified one, No. Record 4 is not selected as a retroactive target. That is, No. as sales detail data. Record 4 is not retroactive. However, retroactively occurs for the slip of the sales number "A110" including the record. Further, in FIG. 11, No. 8 and No. As for the record 9, since the data of the shipping base is not registered at the time of inputting the sales, the data of the shipping base is not registered. Therefore, when the range of the shipping base is specified on the condition specification screen M, these records are not selected. However, if the range of the shipping base is not entered on the condition specification screen M, the data of all the shipping bases are unconditionally selected.

[ステップS2:遡及単価取得]
遡及単価取得部102bは、ステップS1にて取得した売上伝票データ毎に遡及用売上単価マスタ106aを参照して、各売上伝票データに含まれる商品に適用される遡及単価(売上本体単価)を取得する。
[Step S2: Acquisition of retroactive unit price]
The retroactive unit price acquisition unit 102b refers to the retroactive sales unit price master 106a for each sales slip data acquired in step S1 and acquires the retroactive unit price (sales main unit price) applied to the products included in each sales slip data. To do.

なお、売上伝票データに含まれる売上区分のデータによって、下記に示すように売上本体単価を取得するときの条件が異なる。 Note that the conditions for acquiring the sales unit price differ depending on the sales category data included in the sales slip data, as shown below.

具体的には、遡及単価取得部102bは、売上伝票データに含まれる売上区分=「倉出売上」である場合、「売上伝票データに含まれる売上区分、配送手配区分、得意先、納入先、倉庫(自社倉庫)及び商品が遡及用売上単価マスタに含まれるものと一致し、かつ、遡及用売上単価マスタ.適用開始日が売上日以前で且つ最新の日付である」という条件を満たす、遡及用売上単価マスタのレコードを取得する。 Specifically, when the retroactive unit price acquisition unit 102b has the sales category included in the sales slip data = "warehouse sales", the "sales category, delivery arrangement category, customer, delivery destination, etc. included in the sales slip data". The warehouse (own warehouse) and the product match those included in the retroactive sales unit price master, and the retroactive sales unit price master. The application start date is before the sales date and is the latest date. " Get the record of the sales unit price master.

また、遡及単価取得部102bは、売上伝票データに含まれる売上区分=「直送売上」である場合、下記(11)及び(12)の順で、遡及用売上単価マスタ106aから、条件を満たすレコードを取得する。
(11)「売上伝票データに含まれる売上区分、配送手配区分、得意先、納入先及び商品が遡及用売上単価マスタに含まれるものと一致し、かつ、遡及用売上単価マスタ.倉庫(出荷基地)が未登録であり、かつ、遡及用売上単価マスタ.適用開始日が売上日以前で且つ最新の日付である」という条件を満たす、遡及用売上単価マスタのレコードを取得する。
(12)「売上伝票データに含まれる売上区分、配送手配区分、得意先、納入先、商品及び倉庫(出荷基地)が遡及用売上単価マスタに含まれるものと一致し、かつ、遡及用売上単価マスタ.適用開始日が売上日以前で且つ最新の日付である」という条件を満たす、遡及用売上単価マスタのレコードを取得する。
Further, when the sales category included in the sales slip data = "direct sales", the retroactive unit price acquisition unit 102b records the conditions from the retroactive sales unit price master 106a in the following order (11) and (12). To get.
(11) "Sales classification, delivery arrangement classification, customer, delivery destination and product included in sales slip data match those included in the retroactive sales unit price master, and the retroactive sales unit price master. Warehouse (shipping base) ) Is unregistered and the retroactive sales unit price master. The application start date is before the sales date and is the latest date ”, and the record of the retroactive sales unit price master is acquired.
(12) "Sales classification, delivery arrangement classification, customer, delivery destination, product and warehouse (shipping base) included in the sales slip data match those included in the retroactive sales unit price master, and the retroactive sales unit price Master. Acquire a record of the retroactive sales unit price master that satisfies the condition that the application start date is before the sales date and is the latest date.

[ステップS3:遡及処理]
遡及処理部102cは、売上伝票データに含まれる売上単価を、ステップS2にて取得した遡及単価(売上本体単価)に洗い替え(更新し)、売上伝票データに含まれる売上金額を、ステップS2にて取得した遡及単価(売上本体単価)と売上伝票データに含まれる数量の積に洗い替えることにより、売上伝票データ(売上明細データの場合を含む)に含まれる売上単価と売上金額のデータを再作成する。ここで、数量がゼロの場合、このような売上伝票データは処理対象外となる。また、ステップS2で遡及単価が取得できなかった場合又はステップS2で取得した遡及単価がゼロ円の場合、洗い替えは行わない。
[Step S3: Retroactive processing]
The retroactive processing unit 102c replaces (updates) the sales unit price included in the sales slip data with the retroactive unit price (sales main unit price) acquired in step S2, and changes the sales amount included in the sales slip data to step S2. By substituting the product of the retroactive unit price (sales body unit price) and the quantity included in the sales slip data, the data of the sales unit price and the sales amount included in the sales slip data (including the case of sales detail data) can be re-recorded. create. Here, when the quantity is zero, such sales slip data is not subject to processing. Further, if the retroactive unit price cannot be acquired in step S2 or if the retroactive unit price acquired in step S2 is zero yen, the washing is not performed.

以上で、[4−1.売上単価遡及処理の具体例]の説明を終了する。 With the above, [4-1. Specific example of retroactive sales unit price processing] is completed.

[4−2.仕入単価遡及処理の具体例]
仕入単価遡及処理の具体例について、図9、図12および図13等を参照して説明する。なお、本説明では、仕入データテーブル106dに、図7に示すデータが格納されていることを前提とする。また、本説明では、[4−1.売上単価遡及処理の具体例]での説明と同様のものを省略する場合がある。
[4-2. Specific example of purchase unit price retroactive processing]
A specific example of the purchase unit price retroactive processing will be described with reference to FIGS. 9, 12, 13, 13, and the like. In this description, it is assumed that the data shown in FIG. 7 is stored in the purchase data table 106d. Further, in this description, [4-1. Specific example of retroactive sales unit price] The same as the explanation in] may be omitted.

[ステップS1:遡及対象データ取得]
遡及対象データ取得部102aは、条件指定画面Mにて入力された条件に従って、仕入データテーブル106dから、遡及対象とする仕入伝票データを取得する。具体的には、遡及対象データ取得部102aは、入力された仕入区分が「倉入仕入」である場合、入力された仕入事業所、仕入日、仕入区分、配送手配区分、仕入担当者、仕入先、出荷基地、商品及び仕入番号を条件として使用して、当該条件と同じデータを含む仕入伝票データを絞り込む。また、遡及対象データ取得部102aは、入力された仕入区分が「直送仕入」であり且つ配送手配区分が「仕入先手配」である場合、入力された仕入事業所、仕入日、仕入区分、配送手配区分、仕入担当者、仕入先、出荷基地、商品、納入先及び仕入番号を条件として使用して、当該条件と同じデータを含む仕入伝票データを絞り込む。また、遡及対象データ取得部102aは、入力された仕入区分が「直送仕入」であり且つ配送手配区分が「自社手配」又は「得意先以前手配」である場合、入力された仕入事業所、仕入日、仕入区分、配送手配区分、仕入担当者、仕入先、出荷基地、商品及び仕入番号を条件として使用して、当該条件と同じデータを含む仕入伝票データを絞り込む。
[Step S1: Acquisition of retroactive target data]
The retroactive target data acquisition unit 102a acquires the purchase slip data to be retroactively targeted from the purchase data table 106d according to the conditions input on the condition specification screen M. Specifically, when the input purchase category is "Kurairi purchase", the retroactive target data acquisition unit 102a has the input purchase establishment, purchase date, purchase category, delivery arrangement category, and so on. Use the purchaser, supplier, shipping base, product, and purchase number as conditions to narrow down the purchase slip data that contains the same data as the conditions. In addition, when the input purchase category is "direct purchase" and the delivery arrangement category is "supplier arrangement", the retroactive target data acquisition unit 102a has entered the purchase place and purchase date. , Purchase classification, delivery arrangement classification, purchaser, supplier, shipping base, product, delivery destination, and purchase number are used as conditions to narrow down the purchase slip data that includes the same data as the conditions. In addition, when the input purchase category is "direct purchase" and the delivery arrangement category is "in-house arrangement" or "pre-customer arrangement", the retroactive target data acquisition unit 102a is the input purchase business. Purchasing slip data containing the same data as the conditions, using the place, purchase date, purchase classification, delivery arrangement classification, purchaser, supplier, shipping base, product, and purchase number as conditions. Narrow down.

例えば、条件指定画面Mに図12に示す条件が指定された場合、仕入データテーブル106dに格納されている仕入伝票データのうち、図13に示す太枠内のデータを含む仕入伝票データが選択され取得される。なお、図13において、No.8のレコードは遡及対象として選択されるNo.7のレコードと同じ伝票だが、No.8のレコードに含まれる出荷基地のデータは指定されたものと異なるため、No.8のレコードは遡及対象として選択されない。つまり、仕入明細データとしてのNo.8のレコードは遡及対象にはならない。ただし、当該レコードを含む仕入番号「S120」の伝票に対しては遡及が発生する。また、図13において、No.5とNo.6のレコードについては仕入入力時に出荷基地のデータを登録しておらず、また、No.12とNo.13のレコードについては売上入力時に出荷基地のデータを登録していないため、出荷基地のデータが未登録の状態となっている。そのため、条件指定画面M上で出荷基地の範囲を指定した場合、これらのレコードは選択対象にはならない。ただし、条件指定画面M上で出荷基地の範囲を未入力とした場合には、無条件で全ての出荷基地のデータが選択対象になる。また、図13において、No.19のレコードについては、締状態のデータが「支払締済」となっている為、選択対象にはならない。一方、No.20のレコードについては、締状態のデータが「請求締済」となっている(つまり、対応する売上伝票が請求締済となっている)が、選択対象とされる。すなわち、仕入データテーブル106dに含まれる締状態のデータが「支払締済」である場合、条件指定画面Mで指定された条件とは関係なく、選択対象から除外される。 For example, when the condition shown in FIG. 12 is specified on the condition specification screen M, the purchase slip data including the data in the thick frame shown in FIG. 13 among the purchase slip data stored in the purchase data table 106d. Is selected and acquired. In addition, in FIG. 13, No. No. 8 records are selected as retroactive targets. The same slip as the record of 7, but No. Since the data of the shipping base included in the record of No. 8 is different from the specified one, No. Eight records are not selected for retrospective. That is, No. as purchase details data. Eight records are not retroactive. However, retroactively occurs for the slip of the purchase number "S120" including the record. Further, in FIG. 13, No. 5 and No. For the record of 6, the data of the shipping base was not registered at the time of purchase input, and No. 12 and No. Since the shipping base data is not registered for the 13 records at the time of sales input, the shipping base data is in an unregistered state. Therefore, when the range of the shipping base is specified on the condition specification screen M, these records are not selected. However, if the range of the shipping base is not entered on the condition specification screen M, the data of all the shipping bases are unconditionally selected. Further, in FIG. 13, No. The 19 records are not selected because the closing status data is "payment closed". On the other hand, No. For the 20 records, the closing status data is "billing closed" (that is, the corresponding sales slip is billed closed), but it is selected. That is, when the data of the closing state included in the purchase data table 106d is "payment closed", it is excluded from the selection target regardless of the condition specified on the condition specification screen M.

[ステップS2:遡及単価取得]
遡及単価取得部102bは、ステップS1にて取得した仕入伝票データ毎に遡及用仕入単価マスタ106bを参照して、各仕入伝票データに含まれる商品に適用される遡及単価(仕入本体単価)を取得する。
[Step S2: Acquisition of retroactive unit price]
The retroactive unit price acquisition unit 102b refers to the retroactive purchase unit price master 106b for each purchase slip data acquired in step S1, and the retroactive unit price (purchase main body) applied to the products included in each purchase slip data. Unit price) is acquired.

なお、仕入伝票データに含まれる仕入区分のデータ及び配送手配区分のデータによって、下記に示すように仕入本体単価を取得するときの条件が異なる。 The conditions for acquiring the purchase unit price differ depending on the purchase category data and the delivery arrangement category data included in the purchase slip data, as shown below.

具体的には、遡及単価取得部102bは、仕入伝票データに含まれる仕入区分=「倉入仕入」である場合、下記(21)及び(22)の順で、遡及用仕入単価マスタ106bから、条件を満たすレコードを取得する。
(21)「仕入伝票データに含まれる仕入区分、配送手配区分、仕入先及び商品が遡及用仕入単価マスタに含まれるものと一致し、かつ、遡及用仕入単価マスタ.倉庫(出荷基地)が未登録であり、かつ、遡及用仕入単価マスタ.適用開始日が仕入伝票データに含まれる仕入日以前で且つ最新の日付である」という条件を満たす、遡及用仕入単価マスタのレコードを取得する。
(22)「仕入伝票データに含まれる仕入区分、配送手配区分、仕入先、商品、倉庫(出荷基地)が遡及用仕入単価マスタに含まれるものと一致し、かつ、遡及用仕入単価マスタ.適用開始日が仕入伝票データに含まれる仕入日以前で且つ最新の日付である」という条件を満たす、遡及用仕入単価マスタのレコードを取得する。
Specifically, when the purchase category = "Kurairi purchase" included in the purchase slip data, the retroactive unit price acquisition unit 102b performs the retroactive purchase unit price in the following order (21) and (22). A record satisfying the conditions is acquired from the master 106b.
(21) “Purchase classification, delivery arrangement classification, supplier and goods included in the purchase slip data match those included in the retroactive purchase unit price master, and the retroactive purchase unit price master. Warehouse ( The shipping base) is not registered, and the retroactive purchase unit price master. The application start date is before the purchase date included in the purchase slip data and is the latest date. ” Get the record of the unit price master.
(22) "Purchase classification, delivery arrangement classification, supplier, product, warehouse (shipping base) included in the purchase slip data match those included in the retroactive purchase unit price master, and retroactive purchase. Acquire the record of the retroactive purchase unit price master that satisfies the condition that "the purchase unit price master. The application start date is before the purchase date included in the purchase slip data and is the latest date".

また、遡及単価取得部102bは、仕入伝票データに含まれる仕入区分=「直送仕入」であり、かつ、仕入伝票データに含まれる配送手配=「仕入先」である場合、下記(31)から(34)の順で、遡及用仕入単価マスタ106bから、条件を満たすレコードを取得する。
(31)「仕入伝票データに含まれる仕入区分、配送手配区分、仕入先及び商品が遡及用仕入単価マスタに含まれるものと一致し、かつ、遡及用仕入単価マスタ.倉庫(出荷基地)と遡及用仕入単価マスタ.納入先がいずれも未登録であり、かつ、遡及用仕入単価マスタ.適用開始日が仕入伝票データに含まれる仕入日以前で且つ最新の日付である」という条件を満たす、遡及用仕入単価マスタのレコードを取得する。
(32)「仕入伝票データに含まれる仕入区分、配送手配区分、仕入先、商品及び倉庫(出荷基地)が遡及用仕入単価マスタに含まれるものと一致し、かつ、遡及用仕入単価マスタ.納入先が未登録であり、かつ、遡及用仕入単価マスタ.適用開始日が仕入伝票データに含まれる仕入日以前で且つ最新の日付である」という条件を満たす、遡及用仕入単価マスタのレコードを取得する。
(33)「仕入伝票データに含まれる仕入区分、配送手配区分、仕入先、商品、倉庫(出荷基地)及び納入先が遡及用仕入単価マスタに含まれるものと一致し、かつ、単価マスタ.倉庫(出荷基地)が未登録であり、かつ、遡及用仕入単価マスタ.適用開始日が仕入伝票データに含まれる仕入日以前で且つ最新の日付である」という条件を満たす、遡及用仕入単価マスタのレコードを取得する。
(34)「仕入伝票データに含まれる仕入区分、配送手配区分、仕入先、商品、倉庫(出荷基地)及び納入先が一致し、かつ、遡及用仕入単価マスタ.適用開始日が仕入伝票データに含まれる仕入日以前で且つ最新の日付である」という条件を満たす、遡及用仕入単価マスタのレコードを取得する。
つまり、遡及用仕入単価マスタ側で、納入先=「登録なし」を許可している為、納入先が未登録のマスタにて当て込みをまず行い、そして、再度、遡及対象伝票に対して、納入先を含めた詳細な条件を設定したマスタとの当て込みを行う。
Further, when the retroactive unit price acquisition unit 102b has the purchase category = "direct purchase" included in the purchase slip data and the delivery arrangement = "supplier" included in the purchase slip data, the following Records satisfying the conditions are acquired from the retroactive purchase unit price master 106b in the order of (31) to (34).
(31) “Purchase classification, delivery arrangement classification, supplier and goods included in the purchase slip data match those included in the retroactive purchase unit price master, and the retroactive purchase unit price master. Warehouse ( (Shipping base) and retroactive purchase unit price master. The delivery destination is not registered, and the retroactive purchase unit price master. The application start date is before the purchase date included in the purchase slip data and is the latest date. The record of the retroactive purchase unit price master that satisfies the condition of "is" is acquired.
(32) “Purchase classification, delivery arrangement classification, supplier, product and warehouse (shipping base) included in the purchase slip data match those included in the retroactive purchase unit price master, and the retroactive purchase Receipt unit price master. Delivery destination is not registered and retroactive purchase unit price master. The application start date is before the purchase date included in the purchase slip data and is the latest date. " Get the record of the purchase unit price master.
(33) "The purchase classification, delivery arrangement classification, supplier, product, warehouse (shipping base) and delivery destination included in the purchase slip data match those included in the retroactive purchase unit price master, and Unit price master. Warehouse (shipping base) is not registered, and retroactive purchase unit price master. The application start date is before the purchase date included in the purchase slip data and is the latest date. " , Get the record of the retroactive purchase unit price master.
(34) "Purchase classification, delivery arrangement classification, supplier, product, warehouse (shipping base) and delivery destination included in the purchase slip data match, and the retroactive purchase unit price master. Application start date is Acquire the record of the retroactive purchase unit price master that satisfies the condition "before the purchase date and the latest date included in the purchase slip data".
In other words, since the retroactive purchase unit price master side allows the delivery destination = "no registration", the master that the delivery destination has not registered first makes an application, and then again for the retroactive target slip. , Perform the application with the master for which detailed conditions including the delivery destination are set.

また、遡及単価取得部102bは、仕入伝票データに含まれる仕入区分=「直送仕入」であり、かつ、仕入伝票データに含まれる配送手配=「自社」または「得意先以前」である場合、下記(41)および(42)の順で、遡及用仕入単価マスタ106bから、条件を満たすレコードを取得する。
(41)「仕入伝票データに含まれる仕入区分、配送手配区分、仕入先、商品及び倉庫(出荷基地)が遡及用仕入単価マスタに含まれるものと一致し、かつ、遡及用仕入単価マスタ.納入先が未登録であり、かつ、遡及用仕入単価マスタ.適用開始日が仕入伝票データに含まれる仕入日以前で且つ最新の日付である」という条件を満たす、遡及用仕入単価マスタのレコードを取得する。
(42)「仕入伝票データに含まれる仕入区分、配送手配区分、仕入先、商品、倉庫(出荷基地)、納入先が遡及用仕入単価マスタに含まれるものと一致し、かつ、遡及用仕入単価マスタ.適用開始日が仕入伝票データに含まれる仕入日以前で且つ最新の日付である」という条件を満たす、遡及用仕入単価マスタのレコードを取得する。
In addition, the retroactive unit price acquisition unit 102b has the purchase category included in the purchase slip data = "direct purchase" and the delivery arrangement included in the purchase slip data = "in-house" or "before the customer". If there is, records satisfying the conditions are acquired from the retroactive purchase unit price master 106b in the order of (41) and (42) below.
(41) “Purchase classification, delivery arrangement classification, supplier, product and warehouse (shipping base) included in the purchase slip data match those included in the retroactive purchase unit price master, and the retroactive purchase Receipt unit price master. Delivery destination is not registered and retroactive purchase unit price master. The application start date is before the purchase date included in the purchase slip data and is the latest date. " Get the record of the purchase unit price master.
(42) "Purchase classification, delivery arrangement classification, supplier, product, warehouse (shipping base), and delivery destination included in the purchase slip data match those included in the retroactive purchase unit price master, and A record of the retroactive purchase unit price master that satisfies the condition that "the application start date is before the purchase date included in the purchase slip data and is the latest date" is acquired.

[ステップS3:遡及処理]
遡及処理部102cは、仕入伝票データに含まれる仕入単価を、ステップS2にて取得した遡及単価(仕入本体単価)に洗い替え(更新し)、仕入伝票データに含まれる仕入金額を、ステップS2にて取得した遡及単価(仕入本体単価)と仕入伝票データに含まれる数量の積に洗い替えることにより、仕入伝票データ(仕入明細データの場合を含む)に含まれる仕入単価と仕入金額のデータを再作成する。ここで、数量がゼロの場合、このような仕入伝票データは処理対象外となる。また、ステップS2で遡及単価が取得できなかった場合又はステップS2で取得した遡及単価がゼロ円の場合、洗い替えは行わない。また、仕入伝票データに含まれる仕入区分が「直送仕入」の場合、対応する売上伝票データに含まれる原価及び粗利の項目も併せて更新する。
[Step S3: Retroactive processing]
The retroactive processing unit 102c replaces (updates) the purchase unit price included in the purchase slip data with the retroactive unit price (purchase main unit unit price) acquired in step S2, and the purchase amount included in the purchase slip data. Is included in the purchase slip data (including the case of purchase details data) by replacing the product with the product of the retroactive unit price (purchase main unit price) acquired in step S2 and the quantity included in the purchase slip data. Recreate the purchase unit price and purchase amount data. Here, when the quantity is zero, such purchase slip data is not subject to processing. Further, if the retroactive unit price cannot be acquired in step S2 or if the retroactive unit price acquired in step S2 is zero yen, the washing is not performed. In addition, when the purchase category included in the purchase slip data is "direct purchase", the cost and gross profit items included in the corresponding sales slip data are also updated.

以上で、[4−2.仕入単価遡及処理の具体例]の説明を終了する。 With the above, [4-2. Specific example of purchase unit price retroactive processing] is completed.

[5.本実施形態のまとめおよび他の実施形態]
以上詳細に説明した通り、本実施形態は、先物商品を扱う業態における、「売上・仕入単価」に対しての遡及更新機能に関するものである。先物商品を扱う企業業態の場合、一定の期間が経過した後に単価が確定(決定)されるが、本実施形態では、仮で登録した受払の単価に対して一定の条件で一括洗い替え処理を行うことが可能となる。具体的には、本実施形態では、(1)売上単価に対して遡りバッチ更新処理にて洗い替えること、(2)仕入単価に対して遡りバッチ更新処理にて洗い替えること、(3)単価を取り付ける条件(遡及用単価マスタ)を作成すること、が可能となる。
[5. Summary of this embodiment and other embodiments]
As described in detail above, the present embodiment relates to a retroactive update function for "sales / purchase unit price" in a business format that handles futures products. In the case of a corporate format that handles futures products, the unit price is fixed (determined) after a certain period of time has passed, but in this embodiment, the unit price of the temporarily registered receipts and payments is collectively rewashed under certain conditions. It will be possible to do. Specifically, in the present embodiment, (1) the sales unit price is rewashed by the retroactive batch renewal process, (2) the purchase unit price is rewashed by the retroactive batch renewal process, (3). It is possible to create conditions for attaching unit prices (retroactive unit price master).

これまで、先物関係(例えば、エネルギー、砂糖、または、小麦等)の商品を扱う業態の場合、一定の期間の売上伝票に対して一定の規則で洗い替える必要があるが、一括で一定の条件で単価を洗い替える処理機能はなかった。そのため、手動で過去の伝票を呼び出して一点一点修正しなければならないため、手間が掛かっていた。 Until now, in the case of a business format that handles futures-related products (for example, energy, sugar, or wheat, etc.), it is necessary to reclassify sales slips for a certain period of time according to certain rules, but all of them have certain conditions. There was no processing function to change the unit price. Therefore, it is troublesome to manually call up the past slips and correct them one by one.

そこで、本実施形態では、上述した構成および処理を採用することにより、これまで掛かっていた手間を大幅に削減することに成功した。 Therefore, in the present embodiment, by adopting the above-described configuration and processing, it has succeeded in significantly reducing the labor required so far.

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

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

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

また、販売情報装置100に関して、図示の各構成要素は機能概念的なものであり、必ずしも物理的に図示の如く構成されていることを要しない。 Further, with respect to the sales information device 100, each component shown in the figure is a functional concept and does not necessarily have to be physically configured as shown in the figure.

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

また、このコンピュータプログラムは、販売情報装置100に対して任意のネットワークを介して接続されたアプリケーションプログラムサーバに記憶されていてもよく、必要に応じてその全部または一部をダウンロードすることも可能である。 Further, this computer program may be stored in the application program server connected to the sales information device 100 via an arbitrary network, and all or a part thereof can be downloaded 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, the program for executing the process described in the present embodiment may be stored in a non-temporary computer-readable recording medium, or may be configured as a program product. Here, the "recording medium" includes 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 EPROM (registered). Trademarks) (Electrically Erasable and Programmable Read Only Memory), CD-ROM (Compact Disk Read Only Memory), MO (Magnet-Optical Disk), MO (Magnet-Optical Disk), DVD (Digital), DVD (Digital) It shall include any "portable physical medium".

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

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

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

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

本発明は、特に、先物商品を扱う業種において有用である。 The present invention is particularly useful in industries dealing with futures products.

100 販売情報装置
102 制御部
102a 遡及対象データ取得部
102b 遡及単価取得部
102c 遡及処理部
104 通信インターフェース部
106 記憶部
106a 遡及用売上単価マスタ
106b 遡及用仕入単価マスタ
106c 売上データテーブル
106d 仕入データテーブル
108 入出力インターフェース部
112 入力装置
114 出力装置
200 サーバ
300 ネットワーク
100 Sales information device 102 Control unit 102a Retroactive target data acquisition unit 102b Retroactive unit price acquisition unit 102c Retroactive processing unit 104 Communication interface unit 106 Storage unit 106a Retroactive sales unit price master 106b Retroactive purchase unit price master 106c Sales data table 106d Purchase data Table 108 Input / output interface 112 Input device 114 Output device 200 Server 300 Network

Claims (1)

制御部を備えた販売情報装置であって、
前記制御部は、
仮の単価で取引され且つ正式な単価が当該取引後に決定される商品の正式な単価、商品の商品識別情報、商品の取引区分及び正式な単価の適用期間を少なくとも含む単価マスタから、商品の商品識別情報、商品の単価、商品の取引区分及び商品の取引日を少なくとも含む明細を含む伝票に含まれる明細毎に、各明細に対応する正式な単価を取得する取得手段と、
前記伝票に含まれる単価を前記取得手段で取得した単価に変更する変更手段と
を備えたこと
を特徴とする販売情報装置。
It is a sales information device equipped with a control unit.
The control unit
From the unit price master that includes at least the formal unit price of the product that is traded at the provisional unit price and the formal unit price is determined after the transaction, the product identification information of the product, the transaction classification of the product, and the application period of the formal unit price, the product of the product An acquisition means for acquiring the formal unit price corresponding to each item for each item included in the slip including the identification information, the unit price of the product, the transaction category of the item, and the item including at least the transaction date of the item.
A sales information device including a changing means for changing the unit price included in the slip to the unit price acquired by the acquisition means.
JP2020135697A 2015-03-12 2020-08-11 Sales information device, amount retroactive method and amount retroactive program Active JP6956837B2 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2015050053 2015-03-12
JP2015050053 2015-03-12
JP2016018909A JP2016170777A (en) 2015-03-12 2016-02-03 Selling information device, amount retroaction method and amount retroaction program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2016018909A Division JP2016170777A (en) 2015-03-12 2016-02-03 Selling information device, amount retroaction method and amount retroaction program

Publications (2)

Publication Number Publication Date
JP2020181615A true JP2020181615A (en) 2020-11-05
JP6956837B2 JP6956837B2 (en) 2021-11-02

Family

ID=56982507

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2016018909A Pending JP2016170777A (en) 2015-03-12 2016-02-03 Selling information device, amount retroaction method and amount retroaction program
JP2020135697A Active JP6956837B2 (en) 2015-03-12 2020-08-11 Sales information device, amount retroactive method and amount retroactive program

Family Applications Before (1)

Application Number Title Priority Date Filing Date
JP2016018909A Pending JP2016170777A (en) 2015-03-12 2016-02-03 Selling information device, amount retroaction method and amount retroaction program

Country Status (1)

Country Link
JP (2) JP2016170777A (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6918665B2 (en) * 2017-09-27 2021-08-11 株式会社オービック Slip processing device, slip processing method, and slip processing program
JP6923408B2 (en) * 2017-09-27 2021-08-18 株式会社オービック Retroactive unit price correction device, retroactive unit price correction method, and retroactive unit price correction program
JP7092622B2 (en) * 2018-09-04 2022-06-28 株式会社オービック Unit price retroactive processing device, unit price retroactive processing method and unit price retroactive processing program
JP7336003B2 (en) 2018-09-04 2023-08-30 株式会社オービック Unit Price Retroactive Processing Device, Unit Price Retroactive Processing Method and Unit Price Retroactive Processing Program
JP7183034B2 (en) * 2018-12-26 2022-12-05 株式会社オービック Unit price management device, unit price management method, and unit price management program

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002298061A (en) * 2001-04-03 2002-10-11 Sumitomo Forestry Co Ltd Settlement assisiting method and system
US20040078288A1 (en) * 2002-06-19 2004-04-22 Jill Forbis Computer-implemented method and system for retroactive pricing for use in order procurement
JP2007188442A (en) * 2006-01-16 2007-07-26 Showa Shell Sekiyu Kk Sales management system and method, and computer program
JP2008181236A (en) * 2007-01-23 2008-08-07 Sap Ag Transaction device, slip generation method, and computer program
JP2014032513A (en) * 2012-08-02 2014-02-20 Fujitsu Marketing Ltd Unit price setting device, unit price setting method, and unit price setting program
JP2014119821A (en) * 2012-12-13 2014-06-30 Hitachi Ltd Retroaction unit price correction system and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002298061A (en) * 2001-04-03 2002-10-11 Sumitomo Forestry Co Ltd Settlement assisiting method and system
US20040078288A1 (en) * 2002-06-19 2004-04-22 Jill Forbis Computer-implemented method and system for retroactive pricing for use in order procurement
JP2007188442A (en) * 2006-01-16 2007-07-26 Showa Shell Sekiyu Kk Sales management system and method, and computer program
JP2008181236A (en) * 2007-01-23 2008-08-07 Sap Ag Transaction device, slip generation method, and computer program
JP2014032513A (en) * 2012-08-02 2014-02-20 Fujitsu Marketing Ltd Unit price setting device, unit price setting method, and unit price setting program
JP2014119821A (en) * 2012-12-13 2014-06-30 Hitachi Ltd Retroaction unit price correction system and method

Also Published As

Publication number Publication date
JP2016170777A (en) 2016-09-23
JP6956837B2 (en) 2021-11-02

Similar Documents

Publication Publication Date Title
JP6956837B2 (en) Sales information device, amount retroactive method and amount retroactive program
JP7093434B2 (en) Accounting equipment, accounting methods, and accounting programs
JP2020129420A (en) Cost management device, cost management method, and cost management program
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
JP7025854B2 (en) Gross profit calculator, gross profit calculation method and gross profit calculation program
JP7389875B2 (en) Inventory value adjustment device, inventory value adjustment method, and inventory value adjustment program
JP2016167256A (en) Sales information apparatus, tax calculation/journalization method, and tax calculation/journalization program
JP6923408B2 (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
JP2020035049A (en) Journalization creation device, journalization creation method and journalization creation program
JP7402143B2 (en) Business support devices, business support methods, and business support programs
JP7178304B2 (en) Inventory control device, inventory control method and inventory control program
JP6963664B2 (en) Sales information device, purchase quantity determination method, and purchase quantity determination program
JP7336003B2 (en) Unit Price Retroactive Processing Device, Unit Price Retroactive Processing Method and Unit Price Retroactive Processing Program
JP7194063B2 (en) Journal writing device, journal writing method and journal writing program
JP7348889B2 (en) Journal creation device, journal creation method, and journal creation program
JP7373466B2 (en) Inventory calculation device, inventory calculation method, and inventory calculation program
JP2018139065A (en) Device, method and program to extract stock records
JP7274380B2 (en) Commercial distribution management device, commercial distribution management method, and commercial distribution management program
JP6947507B2 (en) Profit management equipment, profit management methods, and profit management programs
JP2020160823A (en) Journal creation device, journal creation program and journal creation method
JP2021131782A (en) Accounting processor, accounting method, and accounting program
JP6817082B2 (en) Work completion control device, work completion control method, and work completion control program
JP6825853B2 (en) Slip registration control device, slip registration control method, and slip registration control program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200903

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200903

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20210907

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211005

R150 Certificate of patent or registration of utility model

Ref document number: 6956837

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150