JP7117197B2 - Data creation device, data creation method and data creation program - Google Patents

Data creation device, data creation method and data creation program Download PDF

Info

Publication number
JP7117197B2
JP7117197B2 JP2018162554A JP2018162554A JP7117197B2 JP 7117197 B2 JP7117197 B2 JP 7117197B2 JP 2018162554 A JP2018162554 A JP 2018162554A JP 2018162554 A JP2018162554 A JP 2018162554A JP 7117197 B2 JP7117197 B2 JP 7117197B2
Authority
JP
Japan
Prior art keywords
data
store
sales
headquarters
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.)
Active
Application number
JP2018162554A
Other languages
Japanese (ja)
Other versions
JP2020035275A (en
Inventor
彬 平松
剛光 上野
Original Assignee
株式会社オービック
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 株式会社オービック filed Critical 株式会社オービック
Priority to JP2018162554A priority Critical patent/JP7117197B2/en
Publication of JP2020035275A publication Critical patent/JP2020035275A/en
Application granted granted Critical
Publication of JP7117197B2 publication Critical patent/JP7117197B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

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

特許文献1には、「第1店舗、第2店舗、第3店舗、~第N店舗は、企業Aにより直営/FC形態等により運営される。これら各店舗には、それぞれPOSレジスタと入金機が設置される。」と開示されており(特許文献1の段落0013等参照)、更に、「第1店舗~第N店舗の各店舗のPOSレジスタおよび入金機からPOS集計データと入金機データを受信したら(ステップS300)、ステップS302においてデータ編集処理が行われ、POSレジスタ比較データと入金機比較データが生成される。POSレジスタ比較データは、POS集計データから取り出される現金売上金額である。もし、釣り銭用支出、経費支払い等が計上されている場合、現金売上金額からその計上金額分を減算した金額がPOSレジスタ比較データとされる。」と開示されている(特許文献1の段落0023等参照)。 In Patent Document 1, ``The 1st store, the 2nd store, the 3rd store, and the Nth store are operated by company A in a direct/FC format. is installed." (see paragraph 0013 of Patent Document 1), and further, "POS total data and deposit machine data are collected from the POS registers and deposit machines of each store from the first store to the Nth store. Once received (step S300), data editing is performed in step S302 to generate POS register comparison data and deposit machine comparison data, where the POS register comparison data is the cash sales amount extracted from the POS aggregate data. , if change expenses, expense payments, etc. are recorded, the amount obtained by subtracting the recorded amount from the cash sales amount is used as the POS register comparison data." reference).

特開2003-308375号公報Japanese Patent Application Laid-Open No. 2003-308375

このように、フランチャイズ(以下、「FC」ということがある。)契約において各FC店舗の売上金額を管理する分野においては、従来、以下のような問題があった。すなわち、FC契約における契約方式には、図2に示すように、FC店舗での売上金額である店舗売上金額を前記店舗で管理して、FC契約の本部の前記店舗に対する売上金額である本部売上金額(食材費等)を前記本部が前記店舗に対して債権として請求する方式(請求方式)と、図3に示すように、前記店舗売上金額を一旦すべて前記本部に預けて、前記預けた店舗売上金額から前記本部売上金額(食材費等)を差し引いて(言い換えると、相殺して)精算した金額を前記本部が前記店舗に対して債務として支払う方式(精算方式)と、がある。そして、各FC店舗によって、前記どちらの契約方式を採用するかは異なり、一般的には、法人がFC店舗のオーナーである場合には与信が高いため請求方式を採用し、個人がFC店舗のオーナーである場合には与信が低いため精算方式を採用する。 In this way, in the field of managing the sales amount of each FC store in a franchise (hereinafter sometimes referred to as "FC") contract, there have conventionally been the following problems. That is, as shown in Fig. 2, in the contract method in the FC contract, the store sales amount, which is the sales amount at the FC store, is managed at the store, and the headquarters sales amount, which is the sales amount for the store of the FC contract, is managed at the store. A method (invoicing method) in which the headquarters bills the store for the amount (cost of ingredients, etc.) as a claim (billing method), and as shown in FIG. There is a method (settlement method) in which the head office pays the amount calculated by deducting (in other words, offsetting) the head office sales amount (food cost, etc.) from the sales amount as a debt to the store. Which contract method is adopted depends on each FC store. In general, when a corporation is the owner of an FC store, the billing method is adopted because the credit is high. If you are the owner, the settlement method will be adopted because the credit is low.

ここで、FC本部の担当者は、前記本部売上金額(食材費等)をシステム上で登録する際に、FC店舗との契約方式が請求方式である場合には債権の金額として登録し、これに対して、FC店舗との契約方式が精算方式である場合には債務における相殺金額として登録するという判断を行う必要があったため、ミスが生じやすく、また、月次決算の遅延にも繋がるという問題があった。 Here, when the person in charge of the FC head office registers the sales amount of the head office (such as the cost of ingredients) on the system, if the contract method with the FC store is the billing method, the person in charge registers it as the amount of the receivable. On the other hand, if the contract method with the FC store is the settlement method, it was necessary to make a decision to register it as the offset amount in the debt, so mistakes are likely to occur, and it also leads to delays in monthly settlement. I had a problem.

本発明は、上記問題点に鑑みてなされたものであって、FC本部の担当者が判断せずとも、前記本部売上金額を債権の金額または債務における相殺金額に自動的に振り分け、更に、FC本部のFC店舗に対する債権のデータである債権データおよびFC本部のFC店舗に対する債務のデータである債務データを作成できるデータ作成装置、データ作成方法およびデータ作成プログラムを提供することを目的とする。 The present invention has been made in view of the above problems, and automatically distributes the head office sales amount to the amount of receivables or the amount of offset in debts without the person in charge at the FC head office making a judgment, It is an object of the present invention to provide a data creation device, a data creation method, and a data creation program capable of creating credit data, which is data of credits to the FC store of the headquarters, and debt data, which is data of debts to the FC store of the FC headquarters.

上述した課題を解決し、目的を達成するために、本発明に係るデータ作成装置は、制御部および記憶部を備えるデータ作成装置であって、前記記憶部には、フランチャイズ契約における店舗での売上金額である店舗売上金額を前記店舗で管理して、前記フランチャイズ契約の本部の前記店舗に対する売上金額である本部売上金額を前記本部が前記店舗に対して債権として請求することを意味する区分である請求区分および前記店舗売上金額をすべて前記本部に預けて、前記預けた店舗売上金額から前記本部売上金額を差し引いて精算した金額を前記本部が前記店舗に対して債務として支払うことを意味する区分である精算区分のいずれか一方の区分と、前記店舗を識別するための店舗識別データと、を含む店舗マスタと、店舗識別データと本部売上金額とを含む、前記本部の前記店舗に対する売上に関するデータである本部売上データと、店舗識別データと店舗売上金額とを含む、前記店舗での売上に関するデータである店舗売上データと、が格納されており、前記制御部は、
前記本部売上データ中の前記店舗識別データと紐付く前記店舗マスタ中の前記区分が前記請求区分である場合、前記本部売上データ中の前記店舗識別データと当該店舗識別データと紐付く前記本部売上データ中の前記本部売上金額とを有する請求明細データを含む前記債権としての債権データを作成する債権データ作成手段と、前記本部売上データ中の前記店舗識別データと紐付く前記店舗マスタ中の前記区分が前記精算区分である場合、前記本部売上データ中の前記店舗識別データと当該店舗識別データと紐付く前記店舗売上データ中の前記店舗売上金額の合計額とを有する債務明細データおよび前記本部売上データ中の前記店舗識別データと当該店舗識別データと紐付く前記本部売上データ中の前記本部売上金額をマイナスで計上した金額であって前記債務明細データ中の前記合計額を相殺するための金額である相殺金額とを有する相殺明細データを含む前記債務としての債務データを作成する債務データ作成手段と、を備えること、を特徴とする。
In order to solve the above-described problems and achieve the object, a data creation device according to the present invention is a data creation device comprising a control unit and a storage unit, wherein the storage unit stores sales data at a store under a franchise contract. It is a classification that means that the store sales amount, which is an amount, is managed by the store, and the headquarters claims the sales amount, which is the sales amount of the headquarters of the franchise contract to the store, as a claim against the store. A billing classification and a classification that means that all the store sales amount is deposited with the headquarters, and the headquarters pays the store the amount calculated by subtracting the headquarters sales amount from the deposited store sales amount as a debt. Store master containing either one of the settlement categories and store identification data for identifying the store, and data related to sales of the headquarters to the store, including the store identification data and headquarters sales amount Headquarters sales data and store sales data, which is data relating to sales at the store, including store identification data and store sales amounts, are stored, and the control unit is configured to:
When the division in the store master associated with the store identification data in the head office sales data is the billing division, the store identification data in the head office sales data and the head office sales data associated with the store identification data and the division in the store master linked to the store identification data in the headquarters sales data. In the case of the settlement classification, the debt statement data and the headquarters sales data having the store identification data in the headquarters sales data and the total amount of the store sales in the store sales data linked to the store identification data The amount obtained by recording the head office sales amount in the head office sales data linked to the store identification data and the head office sales data linked to the store identification data of the above as a negative amount, which is the amount to offset the total amount in the debt statement data. and debt data creation means for creating debt data as the debt including set-off detail data having an amount.

また、本発明に係るデータ作成装置は、前記本部売上データが、前記本部売上金額を計上した日付である計上日を更に含み、前記店舗売上データが、前記店舗での売上が発生した日付である売上日を更に含み、前記店舗マスタが、前記区分を適用する対象となる期間である適用対象期間を更に含み、前記本部売上データ中の前記店舗識別データと紐付き、かつ、前記計上日が属する前記適用対象期間と紐付く前記店舗マスタ中の前記区分が前記請求区分である場合、前記債権データ作成手段が、前記債権データを作成し、前記本部売上データ中の前記店舗識別データと紐付き、かつ、前記計上日が属する前記適用対象期間と紐付く前記店舗マスタ中の前記区分が前記精算区分である場合、前記債務データ作成手段が、前記適用対象期間に属する前記売上日と紐付く前記店舗売上データ中の前記店舗売上金額の合算を前記合計額として有する前記債務データを作成すること、を特徴とする。 Further, in the data creation device according to the present invention, the head office sales data further includes an accounting date, which is the date when the head office sales amount is recorded, and the store sales data is the date on which the sales occurred at the store. The sales date is further included, and the store master further includes an applicable period, which is a period for which the classification is applied, is linked to the store identification data in the headquarters sales data, and to which the recording date belongs if the classification in the store master associated with the applicable period is the billing classification, the credit data creating means creates the credit data, associates it with the store identification data in the headquarters sales data, and When the classification in the store master linked to the applicable period to which the recording date belongs is the settlement classification, the debt data creating means provides the store sales data linked to the sales date belonging to the applicable period. creating the debt data having as the total amount the sum of the store sales amounts in the above.

また、本発明に係るデータ作成装置は、前記制御部が、前記債務明細データ中の前記合計額と前記相殺明細データ中の前記相殺金額との和を、前記本部の前記店舗に対する債務として支払う処理を実行する支払処理実行手段を更に備えること、を特徴とする。 Further, in the data creation device according to the present invention, the control unit pays the sum of the total amount in the debt detailed data and the offset amount in the offset detailed data as a debt to the store of the headquarters. characterized by further comprising payment processing execution means for executing

また、本発明に係るデータ作成装置は、前記本部売上金額が、前記フランチャイズ契約において前記店舗が前記本部に対して支払うべきロイヤリティまたは前記本部が前記店舗に対し提供したものの費用であること、を特徴とする。 Further, in the data creation device according to the present invention, the headquarter sales amount is a royalty payable by the store to the headquarter in the franchise contract or the cost of what the headquarter provided to the store. and

また、本発明に係るデータ作成方法は、制御部および記憶部を備える情報処理装置で実行されるデータ作成方法であって、前記記憶部には、フランチャイズ契約における店舗での売上金額である店舗売上金額を前記店舗で管理して、前記フランチャイズ契約の本部の前記店舗に対する売上金額である本部売上金額を前記本部が前記店舗に対して債権として請求することを意味する区分である請求区分および前記店舗売上金額をすべて前記本部に預けて、前記預けた店舗売上金額から前記本部売上金額を差し引いて精算した金額を前記本部が前記店舗に対して債務として支払うことを意味する区分である精算区分のいずれか一方の区分と、前記店舗を識別するための店舗識別データと、を含む店舗マスタと、店舗識別データと本部売上金額とを含む、前記本部の前記店舗に対する売上に関するデータである本部売上データと、店舗識別データと店舗売上金額とを含む、前記店舗での売上に関するデータである店舗売上データと、が格納されており、前記制御部で実行される、前記本部売上データ中の前記店舗識別データと紐付く前記店舗マスタ中の前記区分が前記請求区分である場合、前記本部売上データ中の前記店舗識別データと当該店舗識別データと紐付く前記本部売上データ中の前記本部売上金額とを有する請求明細データを含む前記債権としての債権データを作成する債権データ作成ステップと、前記本部売上データ中の前記店舗識別データと紐付く前記店舗マスタ中の前記区分が前記精算区分である場合、前記本部売上データ中の前記店舗識別データと当該店舗識別データと紐付く前記店舗売上データ中の前記店舗売上金額の合計額とを有する債務明細データおよび前記本部売上データ中の前記店舗識別データと当該店舗識別データと紐付く前記本部売上データ中の前記本部売上金額をマイナスで計上した金額であって前記債務明細データ中の前記合計額を相殺するための金額である相殺金額とを有する相殺明細データを含む前記債務としての債務データを作成する債務データ作成ステップと、を含むこと、を特徴とする。 Further, a data creation method according to the present invention is a data creation method executed by an information processing apparatus having a control unit and a storage unit, wherein the storage unit stores store sales, which is the amount of sales at the store under a franchise contract. Billing classification, which is a classification meaning that the amount is managed by the store, and the sales amount of the headquarters, which is the sales amount of the headquarters of the franchise contract to the store, is billed by the headquarters to the store as a claim, and the store All the sales amount is deposited with the said headquarters, and the said headquarters pays the amount settled by deducting the said headquarters sales amount from the deposited store sales amount as a debt to the said store. a store master containing either one of the categories and store identification data for identifying the store; headquarters sales data, which is data related to sales of the headquarters to the store, including store identification data and headquarters sales amount; , and store sales data, which is data relating to sales at the store, including store identification data and store sales amount, and the store identification data in the headquarters sales data, which is executed by the control unit. If the division in the store master linked to is the billing classification, the invoice includes the store identification data in the headquarters sales data and the headquarters sales amount in the headquarters sales data linked to the store identification data a claim data creation step of creating claim data as the claim including detailed data; Debt statement data having the store identification data in the data and the total amount of the store sales amount in the store sales data linked with the store identification data, and the store identification data and the store identification data in the headquarters sales data Includes offset detail data that has an offset amount that is an amount obtained by negatively recording the headquarters sales amount in the headquarters sales data linked with and is an amount for offsetting the total amount in the debt specification data and a debt data creation step of creating debt data as the debt.

また、本発明に係るデータ作成プログラムは、制御部および記憶部を備える情報処理装置に実行させるためのデータ作成プログラムであって、前記記憶部には、フランチャイズ契約における店舗での売上金額である店舗売上金額を前記店舗で管理して、前記フランチャイズ契約の本部の前記店舗に対する売上金額である本部売上金額を前記本部が前記店舗に対して債権として請求することを意味する区分である請求区分および前記店舗売上金額をすべて前記本部に預けて、前記預けた店舗売上金額から前記本部売上金額を差し引いて精算した金額を前記本部が前記店舗に対して債務として支払うことを意味する区分である精算区分のいずれか一方の区分と、前記店舗を識別するための店舗識別データと、を含む店舗マスタと、店舗識別データと本部売上金額とを含む、前記本部の前記店舗に対する売上に関するデータである本部売上データと、店舗識別データと店舗売上金額とを含む、前記店舗での売上に関するデータである店舗売上データと、が格納されており、前記制御部に実行させるための、前記本部売上データ中の前記店舗識別データと紐付く前記店舗マスタ中の前記区分が前記請求区分である場合、前記本部売上データ中の前記店舗識別データと当該店舗識別データと紐付く前記本部売上データ中の前記本部売上金額とを有する請求明細データを含む前記債権としての債権データを作成する債権データ作成ステップと、前記本部売上データ中の前記店舗識別データと紐付く前記店舗マスタ中の前記区分が前記精算区分である場合、前記本部売上データ中の前記店舗識別データと当該店舗識別データと紐付く前記店舗売上データ中の前記店舗売上金額の合計額とを有する債務明細データおよび前記本部売上データ中の前記店舗識別データと当該店舗識別データと紐付く前記本部売上データ中の前記本部売上金額をマイナスで計上した金額であって前記債務明細データ中の前記合計額を相殺するための金額である相殺金額とを有する相殺明細データを含む前記債務としての債務データを作成する債務データ作成ステップと、を含むこと、を特徴とする。 Further, a data creation program according to the present invention is a data creation program to be executed by an information processing apparatus having a control unit and a storage unit, wherein the storage unit stores a sales amount at a store under a franchise contract. A billing classification, which is a classification that means that the sales amount is managed by the store and that the headquarters charges the sales amount, which is the sales amount of the headquarters of the franchise contract to the store, as a claim against the store; Settlement classification, which means that the head office pays the store as a liability for the amount settled by deducting the head office sales amount from the deposited store sales amount after all the store sales amount is deposited with the head office. Head office sales data, which is data relating to sales of the head office to the store, including a store master containing either one of the classifications and store identification data for identifying the store, and head office sales data including the store identification data and the head office sales amount and store sales data, which is data relating to sales at the store, including store identification data and store sales amount, and the store in the headquarters sales data for causing the control unit to execute When the division in the store master linked to the identification data is the billing division, the store identification data in the headquarters sales data and the headquarters sales amount in the headquarters sales data linked to the store identification data are combined. and a claim data creation step of creating claim data as the claim including billing detail data having the Debt detail data having the store identification data in the headquarters sales data and the total amount of the store sales in the store sales data linked to the store identification data, and the store identification data in the headquarters sales data and the store Offset detail data having an offset amount that is an amount obtained by recording a negative amount of the head office sales amount in the head office sales data linked to the identification data and is an amount for offsetting the total amount in the debt detail data and a debt data creation step of creating debt data as the debt including

本発明によれば、FC本部の担当者が判断せずとも、前記本部売上金額を債権の金額または債務における相殺金額に自動的に振り分け、更に、FC本部のFC店舗に対する債権のデータである債権データおよびFC本部のFC店舗に対する債務のデータである債務データを作成できるという効果を奏する。 According to the present invention, without judgment by the person in charge at the FC headquarters, the sales amount at the headquarters is automatically sorted into the amount of receivables or the offsetting amount in the debts, Data and obligation data, which is the data of the obligations of the FC headquarters to the FC store, can be created.

図1は、データ作成装置の構成の一例を示すブロック図である。FIG. 1 is a block diagram showing an example of the configuration of a data creation device. 図2は、請求方式のイメージの一例を示す図である。FIG. 2 is a diagram showing an example of an image of the billing system. 図3は、精算方式のイメージの一例を示す図である。FIG. 3 is a diagram showing an example of an image of the payment method. 図4は、本実施形態に係る処理の概要の一例を示す図である。FIG. 4 is a diagram showing an example of an overview of processing according to the present embodiment. 図5は、本実施形態に係る処理の詳細の一例を示す図である。FIG. 5 is a diagram showing an example of details of processing according to the present embodiment.

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

[1.概要]
FC契約には、大きく分けて、以下の二つの契約方式がある。まず、図2に示すように、店舗売上金の管理をFC店舗のオーナーが行い、締日ごとに、FC本部からFC店舗のオーナーにロイヤリティや納入した食材費等を請求する方式である請求方式がある。請求方式は、与信の高い法人オーナーとの契約で採用されることが多い。これに対して、図3に示すように、店舗売上金はFC本部にすべて預けて、締日ごとに、ロイヤリティや納入した食材費等を差し引いた金額をFC店舗のオーナーに支払う方式である精算方式がある。精算方式は、与信の低い個人オーナーとの契約で採用されることが多い。
[1. Overview]
FC contracts are broadly divided into the following two contract methods. First, as shown in Fig. 2, the FC store owner manages the store sales proceeds, and the FC headquarters bills the owner of the FC store for royalties, food ingredients, etc., for each closing date. There is The billing method is often employed in contracts with corporate owners with high credit. On the other hand, as shown in Fig. 3, all store sales proceeds are deposited with the FC headquarters, and the amount after deducting royalties and the cost of delivered ingredients is paid to the owner of the FC store every closing date. There is a method. The settlement method is often adopted in contracts with individual owners with low credit.

ここで、従来においては、FC店舗との契約方式の種類によって、FC店舗への食材の出荷実績や経費計上がFC本部から見た場合、債権の増加になるのか、あるいは、債務における相殺金額となるのかが変わるため、食材の出荷実績や経費計上の登録行為や入力行為自体は同じであっても、FC店舗との契約方式の種類を意識して、登録画面または入力画面を分ける必要があった。このため、ミスが頻発し、また、FC店舗のオーナー向け資料に誤りが発生し、月次決算も遅延するという問題があった。 Here, in the past, depending on the type of contract method with the FC store, from the perspective of the FC headquarters, whether the actual shipment of ingredients to the FC store or the recording of expenses would increase the receivables, or would be the offset amount in the debt. Therefore, even if the act of registering and inputting food shipment results and expense recording is the same, it is necessary to separate the registration screen or the input screen in consideration of the type of contract method with the FC store. rice field. As a result, there were problems such as frequent mistakes, errors in materials for owners of FC stores, and delays in monthly settlement of accounts.

そこで、本実施形態においては、例えば、FC本部の担当者が、FC店舗に納入した分の食材費やFC店舗に対する経費等を債権の金額として登録するのかあるいは債務における相殺金額として登録するのかを意識せずにできるようにし、更に、前記食材費や前記経費を、自動的に前記債権の金額または前記債務における相殺金額に振り分けできるようにした。また、本実施形態においては、例えば、月中にFC店舗のオーナーの変更があった場合においても、変更の前後のオーナーそれぞれとの契約方式に応じた適切な振り分けをできるようにした。以下、具体的な構成および動作について説明する。 Therefore, in this embodiment, for example, the person in charge at the FC headquarters decides whether to register the cost of foodstuffs delivered to the FC store, the expenses for the FC store, etc. as the amount of the claim or the offset amount of the debt. It is possible to do so without being conscious of it, and furthermore, it is possible to automatically allocate the cost of ingredients and expenses to the amount of the claim or the amount of offset in the debt. Also, in this embodiment, for example, even if there is a change in the owner of the FC store during the month, appropriate distribution can be made according to the contract method with each owner before and after the change. Specific configurations and operations will be described below.

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

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

データ作成装置100は、制御部102と通信インターフェース部104と記憶部106と入出力インターフェース部108と、を備えている。データ作成装置100が備えている各部は、任意の通信路を介して通信可能に接続されている。 The data creation device 100 includes a control section 102 , a communication interface section 104 , a storage section 106 and an input/output interface section 108 . Each unit included in the data creation device 100 is 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 data 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 data 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). Data such as various masters described later 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 section 108 . The output device 114 can be a monitor (including a home television), a speaker, or a printer. The input device 112 can be a keyboard, a mouse, a microphone, or a monitor that realizes a pointing device function in cooperation with a mouse. Note that, hereinafter, the output device 114 may be referred to as the monitor 114 and the input device 112 may be referred to as the keyboard 112 or the 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. The storage unit 106 stores a computer program for performing various processes by giving commands to a CPU (Central Processing Unit) in cooperation with an OS (Operating System). As the storage unit 106, for example, memory devices such as RAM (Random Access Memory) and ROM (Read Only Memory), fixed disk devices such as hard disks, flexible disks, and optical disks can be used.

記憶部106は、例えば、店舗マスタとしての店舗契約マスタ106aと、本部売上データとしての売上データ106bと、店舗売上データとしての店頭売上データ106cと、債権データ106dと、債務データ106eと、を備えている。 The storage unit 106 includes, for example, a store contract master 106a as a store master, sales data 106b as head office sales data, over-the-counter sales data 106c as store sales data, bond data 106d, and debt data 106e. ing.

店舗契約マスタ106aは、図5に示すように、例えば、フランチャイズ契約における店舗での売上金額である店舗売上金額を前記店舗で管理して、前記フランチャイズ契約の本部の前記店舗に対する売上金額である本部売上金額を前記本部が前記店舗に対して債権として請求することを意味する区分である請求区分(請求方式)および前記店舗売上金額をすべて前記本部に預けて、前記預けた店舗売上金額から前記本部売上金額を差し引いて精算した金額を前記本部が前記店舗に対して債務として支払うことを意味する区分である精算区分(精算方式)のいずれか一方の区分(契約形態)と、前記店舗を識別するための店舗識別データ(店舗コードおよび店舗名)と、前記区分(契約形態)を適用する対象となる期間である適用対象期間(適用開始日)と、前記店舗におけるオーナーを識別するためのオーナー識別データ(オーナーコードおよびオーナ名)と、等を含む。 As shown in FIG. 5, the store contract master 106a, for example, manages the store sales amount, which is the sales amount at the store in the franchise contract, at the store, and manages the store sales amount, which is the sales amount for the store under the franchise contract. The billing classification (billing method), which is a classification that means that the sales amount is billed to the store as a claim by the headquarters, and the store sales amount are all deposited with the headquarters, and the store sales amount deposited is deducted from the store sales amount. Identify one of the settlement categories (settlement method), which means that the head office pays the store as a debt, the amount calculated by deducting the sales amount (contract form) and the store. store identification data (store code and store name) for the purpose, the application period (application start date) that is the period for which the classification (contract form) is applied, and the owner identification for identifying the owner in the store data (owner code and owner name), and so on.

売上データ106bは、前記本部の前記店舗に対する売上に関するデータである。売上データ106bは、図5に示すように、例えば、前記本部売上金額を計上した日付である計上日と、前記店舗識別データ(店舗コードおよび店舗名)と、前記本部が前記店舗に対して売り上げた商品を識別するための商品識別データ(商品コードおよび商品名)と、当該商品の売上数と、当該商品の売上単価(単価)と、前記本部売上金額(金額)と、前記本部売上金額の消費税と、等を含む。 The sales data 106b is data relating to the sales of the headquarters to the store. As shown in FIG. 5, the sales data 106b includes, for example, the recording date, which is the date when the headquarters sales amount was recorded, the store identification data (store code and store name), and the sales data from the headquarters to the store. Product identification data (product code and product name) for identifying the product that was purchased, the number of sales of the product, the unit sales price (unit price) of the product, the headquarters sales amount (amount), and the headquarters sales amount Including consumption tax, etc.

前記本部売上金額は、例えば、前記フランチャイズ契約において前記店舗が前記本部に対して支払うべきロイヤリティまたは前記本部が前記店舗に対し提供したものの費用等である。当該費用としては、例えば、前記本部が前記店舗に対して卸売した食材・原材料の費用や、前記本部が前記店舗に対して提供したシステムの利用料等が挙げられる。 The head office sales amount is, for example, a royalty to be paid by the store to the head office in the franchise contract, or the cost of items provided by the head office to the store. The costs include, for example, the cost of foodstuffs and raw materials wholesaled by the headquarters to the store, and the usage fee of the system provided by the headquarters to the store.

店頭売上データ106cは、前記店舗での売上に関するデータである。店頭売上データ106cは、図5に示すように、例えば、前記店舗での売上が発生した日付である売上日と、前記店舗識別データ(店舗コードおよび店舗名)と、前記店舗で売り上げた商品を識別するための商品識別データ(商品コードおよび商品名)と、当該商品の売上数と、当該商品の売上単価(単価)と、前記店舗売上金額(金額)と、前記店舗売上金額の消費税と、等を含む。 The over-the-counter sales data 106c is data relating to sales at the store. As shown in FIG. 5, the over-the-counter sales data 106c includes, for example, the sales date, which is the date when the sales occurred at the store, the store identification data (store code and store name), and the products sold at the store. Product identification data (product code and product name) for identification, the number of sales of the product, the unit sales price (unit price) of the product, the store sales amount (amount), and the consumption tax on the store sales amount , etc.

債権データ106dは、店舗契約マスタ106aにおける前記区分(契約形態)が前記請求区分(請求方式)である場合に、後述する債権データ作成部102aが、売上データ106bを元に作成する債権データである。債権データ106dは、図5に示すように、請求明細データ(図5では、SK1~SK3を付した3つの請求明細データ)を有する。 The bond data 106d is bond data created by the bond data creation unit 102a, which will be described later, based on the sales data 106b when the classification (contract form) in the store contract master 106a is the billing classification (billing method). . The credit data 106d has, as shown in FIG. 5, detailed billing data (three pieces of billing detailed data labeled SK1 to SK3 in FIG. 5).

債務データ106eは、店舗契約マスタ106aにおける前記区分(契約形態)が前記精算区分(精算方式)である場合に、後述する債務データ作成部102bが売上データ106bおよび店頭売上データ106cを元に作成する債務データである。債務データ106eは、図5に示すように、店頭売上データ106cを元に作成される債務明細データ(図5では、SM3~SM4を付した2つの債務明細データ)および売上データ106bを元に作成される相殺明細データ(図5では、SM1~SM2を付した2つの相殺明細データ)を有する。 The debt data 106e is created by the debt data creation unit 102b based on the sales data 106b and store sales data 106c when the division (contract type) in the store contract master 106a is the settlement division (settlement method). Debt data. As shown in FIG. 5, the debt data 106e is created based on the debt detail data (in FIG. 5, two debt detail data with SM3 to SM4) created based on the store sales data 106c and the sales data 106b. (In FIG. 5, two offset detail data with SM1 to SM2 attached).

制御部102は、データ作成装置100を統括的に制御するCPU等である。制御部102は、OS等の制御プログラム・各種の処理手順等を規定したプログラム・所要データなどを格納するための内部メモリを有し、格納されているこれらのプログラムに基づいて種々の情報処理を実行する。 The control unit 102 is a CPU or the like that controls the data generation device 100 in an integrated manner. 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 information processing based on these stored programs. Run.

制御部102は、機能概念的に、例えば、(1)前記本部売上データ中の前記店舗識別データと紐付く前記店舗マスタ中の前記区分が前記請求区分である場合、前記本部売上データ中の前記店舗識別データと当該店舗識別データと紐付く前記本部売上データ中の前記本部売上金額とを有する請求明細データを含む前記債権としての債権データを作成する債権データ作成手段としての債権データ作成部102aと、(2)前記本部売上データ中の前記店舗識別データと紐付く前記店舗マスタ中の前記区分が前記精算区分である場合、前記本部売上データ中の前記店舗識別データと当該店舗識別データと紐付く前記店舗売上データ中の前記店舗売上金額の合計額とを有する債務明細データおよび前記本部売上データ中の前記店舗識別データと当該店舗識別データと紐付く前記本部売上データ中の前記本部売上金額をマイナスで計上した金額であって前記債務明細データ中の前記合計額を相殺するための金額である相殺金額とを有する相殺明細データを含む前記債務としての債務データを作成する債務データ作成手段としての債務データ作成部102bと、(3)前記債務明細データ中の前記合計額と前記相殺明細データ中の前記相殺金額との和を、前記本部の前記店舗に対する債務として支払う処理を実行する支払処理実行手段としての支払処理実行部102cと、を備えている。 The control unit 102 functionally conceptually performs, for example, (1) when the division in the store master linked to the store identification data in the headquarters sales data is the billing division, the division in the headquarters sales data a bond data creation unit 102a as bond data creating means for creating bond data as the bond including billing detail data having store identification data and the head office sales amount in the head office sales data linked to the store identification data; , (2) when the division in the store master associated with the store identification data in the head office sales data is the settlement division, the store identification data in the head office sales data is associated with the store identification data; the sum of the store sales amounts in the store sales data, the store identification data in the headquarters sales data, and the headquarters sales amount in the headquarters sales data linked to the store identification data minus the as a debt data creation means for creating debt data as said debt including offset detail data having an offset amount which is the amount recorded in the above and is an amount for offsetting said total amount in said debt detail data and (3) a payment processing execution of paying the sum of the total amount in the debt detail data and the offset amount in the offset detail data as a debt to the store of the headquarters. and a payment processing execution unit 102c as means.

債権データ作成部102aは、売上データ106b中の店舗識別データと紐付く店舗契約マスタ106a中の契約形態が請求方式である場合、売上データ106b中の店舗識別データと、当該店舗識別データと紐付く売上データ106b中の本部売上金額とを有する請求明細データを含む債権としての債権データ106dを作成する。 If the contract type in the store contract master 106a associated with the store identification data in the sales data 106b is a billing method, the bond data creation unit 102a associates the store identification data in the sales data 106b with the store identification data. A claim data 106d is created as a claim including billing detail data having the head office sales amount in the sales data 106b.

債権データ作成部102aは、売上データ106b中の店舗識別データと紐付き、かつ、計上日が属する適用対象期間と紐付く店舗契約マスタ106a中の契約形態が請求方式である場合に、債権データ106dを作成してもよい。 If the contract form in the store contract master 106a linked to the store identification data in the sales data 106b and linked to the applicable period to which the recording date belongs is billing, the bond data creation unit 102a creates the bond data 106d. may be created.

債務データ作成部102bは、売上データ106b中の店舗識別データと紐付く店舗契約マスタ106a中の契約形態が精算方式である場合、売上データ106b中の店舗識別データと当該店舗識別データと紐付く店頭売上データ106c中の店舗売上金額の合計額とを有する債務明細データおよび売上データ106b中の店舗識別データと当該店舗識別データと紐付く売上データ106b中の本部売上金額をマイナスで計上した金額であって前記債務明細データ中の前記合計額を相殺するための金額である相殺金額とを有する相殺明細データを含む前記債務としての債務データ106eを作成する。 If the contract type in the store contract master 106a linked to the store identification data in the sales data 106b is the settlement method, the debt data creation unit 102b generates the store identification data in the sales data 106b and the store linked to the store identification data. Debt detail data having the total amount of store sales in the sales data 106c, the store identification data in the sales data 106b, and the headquarters sales amount in the sales data 106b linked to the store identification data are negatively recorded. Then, the debt data 106e as the debt including the offset detail data having the offset amount which is the amount for offsetting the total amount in the debt detail data is created.

債務データ作成部102bは、売上データ106b中の店舗識別データと紐付き、かつ、計上日が属する適用対象期間と紐付く店舗契約マスタ106a中の契約形態が精算方式である場合に、前記適用対象期間に属する前記売上日と紐付く店頭売上データ106c中の店舗売上金額の合算を前記合計額として有する債務データ106eを作成してもよい。 If the contract form in the store contract master 106a linked to the store identification data in the sales data 106b and linked to the applicable period to which the recording date belongs is the settlement method, the debt data creation unit 102b determines the applicable period The debt data 106e having, as the total amount, the sum of the store sales amounts in the store sales data 106c associated with the sales date belonging to the above may be created.

支払処理実行部102cは、前記債務明細データ中の前記合計額と前記相殺明細データ中の前記相殺金額との和を、前記本部の前記店舗に対する債務として支払う処理を実行する。 The payment processing execution unit 102c executes processing of paying the sum of the total amount in the debt statement data and the offset amount in the offset statement data as a debt to the store of the headquarters.

[3.処理概要]
本項目では、本実施形態に係る処理の概要について、図4を用いて説明する。
[3. Outline of processing]
In this section, an outline of processing according to this embodiment will be described using FIG.

前記本部から前記店舗への売上が発生すると、前記本部の担当者によって売上入力が行われて、売上データ106bが作成される。一方で、前記店舗での売上が発生すると、前記店舗の担当者によって店頭売上入力が行われて、店頭売上データ106cが作成される。 When sales are generated from the head office to the store, sales data 106b is created by inputting the sales by a person in charge at the head office. On the other hand, when sales occur at the store, store sales data 106c is created by inputting store sales by the person in charge of the store.

そして、店舗契約マスタ106aが参照されて、前記店舗との契約方式によって、債権または債務への振り分けが以下のようにして自動で行われる。 Then, with reference to the store contract master 106a, allocation to credits or debts is automatically performed as follows according to the contract method with the store.

前記店舗との契約方式が請求方式である場合、売上データ106bを元にして、債権データ106dが作成される。このように、請求方式の場合、前記本部から前記店舗への売上は、前記本部から見た場合には債権の増加となる。 If the contract method with the store is the billing method, the bond data 106d is created based on the sales data 106b. In this way, in the case of the billing method, sales from the head office to the store result in an increase in receivables from the head office's point of view.

前記店舗との契約方式が精算方式である場合、売上データ106bおよび店頭売上データ106cを元にして、債務データ106eが作成される。具体的には、店頭売上データ106cにおける店頭売上額はすべて、前記店舗に返還すべき預り金として債務に計上される。また、売上データ106bにおける前記本部から前記店舗への売上金額は、前記預り金から差し引くための相殺金額としてマイナスで計上される。そして、前記預り金と前記相殺金額との和が、前記本部が前記店舗に対して最終的に返還する金額となる。 When the contract method with the store is the settlement method, the debt data 106e is created based on the sales data 106b and the store sales data 106c. Specifically, all the store sales amounts in the store sales data 106c are recorded as liabilities as deposits to be returned to the store. Also, the amount of sales from the head office to the store in the sales data 106b is posted as a negative amount to be deducted from the deposit. The sum of the deposit and the offset amount is the final amount returned by the headquarters to the store.

[4.処理詳細]
本項目では、本実施形態に係る処理の詳細について、図5を用いて説明する。なお、以下の説明における前提として、店舗契約マスタ106a、売上データ106bおよび店頭売上データ106cの内容は、図5に示すとおりであるとする。
[4. Processing details]
In this section, the details of the processing according to this embodiment will be described with reference to FIG. As a premise for the following explanation, it is assumed that the store contract master 106a, the sales data 106b, and the store sales data 106c are as shown in FIG.

なお、図5においては、店舗契約マスタ106aの明細データにTK1~4の記号を付しており、売上データ106bの明細データにU1~5の記号を付しており、店頭売上データ106cの明細データにTU1~90の記号を付しており、債権データ106dの明細データにSK1~3の記号を付しており、債務データ106eの明細データにSM1~4の記号を付しているが、これらの記号は、説明の都合上付したものであって、各データおよび各データが含む情報ではない。 In FIG. 5, the detailed data of the store contract master 106a are denoted by TK1-TK4, the detailed data of the sales data 106b are denoted by U1-5, and the detailed data of the store sales data 106c are denoted by U1-5. The data are labeled with TU1-90, the detailed data of the bond data 106d are labeled with SK1-3, and the detailed data of the debt data 106e are labeled with SM1-4. These symbols are added for convenience of explanation, and are not the data or the information contained in the data.

[4-1.FC店舗であるB店についての債権データの作成]
まず、FC店舗であるB店についての債権データ106dの作成について説明する。
[4-1. Creation of receivables data for FC store B store]
First, generation of bond data 106d for B store, which is an FC store, will be described.

店舗契約マスタ106aを参照すると、明細データU3中の店舗コード:T101および店舗名:B店と紐付く契約形態は、請求方式である。この場合、債権データ作成部102aは、明細データU3を元にして請求明細データSK2を作成する。具体的には、債権データ作成部102aは、請求明細データSK2に示すように、明細データU3中の店舗コード:T101および店舗名:B店と、店舗コード:T101および店舗名:B店と紐付く明細データU3中の他の情報(計上日:2018/4/1、商品コード:S100、商品名:小麦粉10kg、売上数:3、単価:10,000、金額:30,000および消費税:2,400)と、を含む請求明細データSK2を作成する。 Referring to the store contract master 106a, the contract form associated with store code: T101 and store name: B store in the detailed data U3 is billing. In this case, the bond data creation unit 102a creates billing statement data SK2 based on the statement data U3. Specifically, as shown in the invoice detail data SK2, the bond data creation unit 102a connects the store code: T101 and the store name: B store in the detail data U3, and the store code: T101 and the store name: B store. Other information in the attached detailed data U3 (recording date: April 1, 2018, product code: S100, product name: flour 10 kg, sales volume: 3, unit price: 10,000, amount: 30,000 and consumption tax: 2,400), Create invoice detail data SK2 containing

同様の方法で、債権データ作成部102aは、明細データU4を元にして、請求明細データSK3を作成する。 In a similar manner, the bond data creation unit 102a creates billing statement data SK3 based on the statement data U4.

以上のようにして、債権データ作成部102aは、債権データ106dに示すように、FC店舗であるB店についての債権データとして、請求明細データSK2および請求明細データSK3を含む債権データ106dを作成する。 As described above, the bond data creation unit 102a creates the bond data 106d including the detailed billing data SK2 and the detailed billing data SK3 as the bond data for the FC store B, as shown in the bond data 106d. .

[4-2.FC店舗であるC店についての債務データの作成]
次に、FC店舗であるC店についての債務データ106eの作成について説明する。
[4-2. Creation of Debt Data for FC Store C]
Next, the preparation of debt data 106e for store C, which is an FC store, will be described.

店舗契約マスタ106aを参照すると、明細データU5中の店舗コード:T102および店舗名:C店と紐付く契約形態は、精算方式である。この場合、債務データ作成部102bは、明細データTU61~90を元にして債務明細データSM4を作成する。具体的には、債務データ作成部102bは、債務明細データSM4に示すように、明細データU5中の店舗コード:T102および店舗名:C店と、店舗コード:T102および店舗名:C店と紐付く明細データTU61~90中の他の情報に基づく情報(計上日:2018/4/30、商品コード:Z999、商品名:預り金、数量:1、単価:600,000、金額:600,000および消費税:48,000)と、を含む債務明細データSM4を作成する。前記計上日としては、本例のように月末日付である「2018/4/30」がセットされてもよいし、あるいは、契約の切替日がセットされてもよい。前記商品コードおよび前記商品名としては、明細データTU61~90における売上は預り金として計上されるため、それぞれ、「Z999」および「預り金」がセットされている。前記単価および前記金額としては、明細データTU61~90の各々における売上金額20,000の合計額である600,000(20,000の30明細分)がセットされている。当該600,000は、C店がFC本部に一旦すべて預ける金額である。 Referring to the store contract master 106a, the contract form associated with the store code: T102 and the store name: C store in the detailed data U5 is the settlement method. In this case, the debt data creation unit 102b creates debt detailed data SM4 based on the detailed data TU61-TU90. Specifically, as shown in the debt detail data SM4, the debt data creation unit 102b links the store code: T102 and the store name: C store in the detail data U5, and the store code: T102 and the store name: C store. Information based on other information in the attached detailed data TU61-90 (recording date: April 30, 2018, product code: Z999, product name: deposit, quantity: 1, unit price: 600,000, amount: 600,000 and consumption tax: 48,000) and debt statement data SM4. As the recording date, the end of the month "2018/4/30" may be set as in this example, or the contract switching date may be set. As the product code and the product name, "Z999" and "deposit" are set, respectively, because sales in the detailed data TU61-TU90 are recorded as deposits. As the unit price and the amount, 600,000 (for 30 items of 20,000), which is the total amount of sales amounts of 20,000 in each of the item data TU61 to TU90, is set. The 600,000 is the amount that C store once deposits with the FC headquarters.

一方で、債務データ作成部102bは、明細データU5を元にして相殺明細データSM2を作成する。具体的には、債務データ作成部102bは、相殺明細データSM2に示すように、明細データU5中の店舗コード:T102および店舗名:C店と、店舗コード:T102および店舗名:C店と紐付く明細データU5中の他の情報に基づく情報(計上日:2018/4/1、商品コード:S100、商品名:小麦粉10kg、数量:5、単価:-10,000、金額:-50,000および消費税:-4,000)と、を含む相殺明細データSM2を作成する。前記単価としては、明細データU5中の単価10,000をマイナスで計上した金額である-10,000がセットされている。前記金額としては、明細データU5中の金額50,000をマイナスで計上した金額である-50,000がセットされている。当該-50,000は、前段落で説明した合計額600,000をC店に返還する際に、当該600,000から差し引く(相殺する)ための相殺金額である。 On the other hand, the debt data creation unit 102b creates offset detailed data SM2 based on the detailed data U5. Specifically, as shown in the offset detail data SM2, the debt data creation unit 102b links the store code: T102 and the store name: C store in the detail data U5, and the store code: T102 and the store name: C store. Information based on other information in the attached detailed data U5 (accounting date: April 1, 2018, product code: S100, product name: flour 10 kg, quantity: 5, unit price: -10,000, amount: -50,000 and consumption tax: -4,000) and offset detail data SM2. As the unit price, -10,000, which is the minus unit price of 10,000 in the detailed data U5, is set. As the amount, -50,000, which is the minus amount of 50,000 in the detailed data U5, is set. The -50,000 is the offset amount to be deducted (offset) from the 600,000 when the total amount of 600,000 explained in the preceding paragraph is returned to Store C.

以上のようにして、債務データ作成部102bは、債務データ106eに示すように、FC店舗であるC店についての債務データとして、債務明細データSM4および相殺明細データSM2を含む債務データ106eを作成する。続けて、次段落で説明するように、支払処理が実行されてもよい。 As described above, the debt data creation unit 102b creates the debt data 106e including the debt detail data SM4 and the offset detail data SM2 as the debt data for the FC store C, as shown in the debt data 106e. . Subsequently, payment processing may be performed, as described in the next paragraph.

支払処理実行部102cは、債務明細データSM4中の合計額600,000と相殺明細データSM2中の相殺金額-50,000との和である550,000を、FC本部のC店に対する債務として支払処理を実行する(つまり返還をする)。 The payment processing executing unit 102c executes the payment processing as a debt of the FC head office to the C store (ie refund).

[4-3.FC店舗であるA店についての債権データおよび債務データの作成]
最後に、FC店舗であるA店についての債権データ106dおよび債務データ106eの作成について説明する。なお、本例においては、店舗契約マスタ106aに示すように、オーナーが2018/4/21を境目に、法人である株式会社○○から個人である山田花子さんに切り替わっている。このような場合においても、本実施形態に係るデータ作成装置100によれば、以下で説明するように、株式会社○○と契約を結んでいる期間に株式会社○○に対して卸売した際の本部売上金額については、株式会社○○に請求する債権の金額として振り分けることができる。これに対して、山田花子さんと契約を結んでいる期間に山田花子さんに対して卸売した際の本部売上金額については、山田花子さんから一旦すべて預かって債務として返還する売上金を相殺するための相殺金額として振り分けることができる。
[4-3. Creation of receivable data and debt data for FC store A]
Finally, the generation of bond data 106d and debt data 106e for FC store A will be described. In this example, as shown in the shop contract master 106a, the owner has changed from the corporation XX to the individual Hanako Yamada on April 21, 2018. Even in such a case, according to the data creation device 100 according to the present embodiment, as will be described below, when wholesale to XX Corporation during the period of contract with XX Corporation The head office sales amount can be distributed as the amount of receivables billed to XX Co., Ltd. On the other hand, the head office sales amount when wholesaled to Hanako Yamada during the period of contract with Hanako Yamada is to offset the sales proceeds that are temporarily kept by Hanako Yamada and returned as debt. can be distributed as an offset amount.

(1)債権データの作成
店舗契約マスタ106aを参照すると、明細データU1中の店舗コード:T100および店舗名:A店と紐付く契約形態は、明細データTK1が含む請求方式と明細データTK2が含む精算方式であるため、どちらの契約方式かを特定できない。ここで、明細データU1中の計上日2018/4/1は、明細データTK1の適用対象期間(2018/1/1から2018/4/20まで)に属する。このため、明細データU1と紐付く契約形態は、明細データTK1の契約形態である請求方式である。以下、詳細な説明は省略するが[4-1]の説明と同様の方法で、債権データ作成部102aは、明細データU1を元にして請求明細データSK1を作成する。
(1) Creation of Debt Data Referring to the store contract master 106a, the contract form associated with the store code: T100 and the store name: A store in the detailed data U1 includes the billing method included in the detailed data TK1 and the detailed data TK2. Since it is a settlement method, it is not possible to specify which contract method it is. Here, the accounting date 2018/4/1 in the detailed data U1 belongs to the applicable period (from 2018/1/1 to 2018/4/20) of the detailed data TK1. Therefore, the contract form associated with the detailed data U1 is the billing method, which is the contract form of the detailed data TK1. Although detailed description is omitted below, the bond data creation unit 102a creates detailed billing data SK1 based on the detailed data U1 in the same manner as described in [4-1].

以上のようにして、債権データ作成部102aは、債権データ106dに示すように、FC店舗であるA店の株式会社○○がオーナーの期間についての債権データとして、請求明細データSK1を含む債権データ106dを作成する。 As described above, the bond data creation unit 102a generates bond data including the billing detail data SK1 as bond data for the period in which company XX of FC store A is the owner, as shown in bond data 106d. 106d.

(2)債務データの作成
店舗契約マスタ106aを参照すると、明細データU2中の店舗コード:T100および店舗名:A店と紐付く契約形態は、明細データTK1が含む請求方式と明細データTK2が含む精算方式であるため、どちらの契約方式かを特定できない。ここで、明細データU2中の計上日2018/4/21は、明細データTK2の適用対象期間(2018/4/21以降)に属する。この場合、債務データ作成部102bは、明細データTU21~30を元にして債務明細データSM3を作成する。具体的には、債務データ作成部102bは、債務明細データSM3に示すように、明細データU2中の店舗コード:T100および店舗名:A店と、店舗コード:T100および店舗名:A店と紐付く明細データTU21~30中の他の情報に基づく情報(計上日:2018/4/30、商品コード:Z999、商品名:預り金、数量:1、単価:200,000、金額:200,000および消費税:16,000)と、を含む債務明細データSM3を作成する。前記単価および前記金額としては、明細データTK2の適用対象期間(2018/4/21以降)に属する売上日を有する明細データTU21~30の各々における売上金額20,000の合算である200,000(20,000の10明細分)がセットされている。当該200,000は、山田花子さんがFC本部に一旦すべて預ける金額である。
(2) Creation of Debt Data Referring to the store contract master 106a, the contract form associated with the store code: T100 and the store name: A store in the detailed data U2 includes the billing method included in the detailed data TK1 and the detailed data TK2. Since it is a settlement method, it is not possible to specify which contract method it is. Here, the accounting date 2018/4/21 in the detailed data U2 belongs to the applicable period (after 2018/4/21) of the detailed data TK2. In this case, the debt data creation unit 102b creates debt detailed data SM3 based on the detailed data TU21 to TU30. Specifically, as shown in the debt detail data SM3, the debt data creation unit 102b links the store code: T100 and the store name: A store in the detail data U2, and the store code: T100 and the store name: A store. Information based on other information in the attached detailed data TU21-30 (Recording date: April 30, 2018, product code: Z999, product name: deposit, quantity: 1, unit price: 200,000, amount: 200,000 and consumption tax: 16,000) and debt statement data SM3. The unit price and the amount are 200,000 (10 items of 20,000), which is the sum of the sales amounts of 20,000 in each of the item data TU21 to TU30 having sales dates belonging to the application target period (after April 21, 2018) of the item data TK2. minutes) is set. The 200,000 is the amount Hanako Yamada once entrusted to FC Headquarters.

一方で、詳細な説明は省略するが[4-2]の説明と同様の方法で、債務データ作成部102bは、明細データU2を元にして相殺明細データSM1を作成する。相殺明細データSM1が含む-200,000は、前段落で説明した合算200,000を山田花子さんに返還する際に、当該合算200,000から差し引く(相殺する)ための相殺金額である。 On the other hand, the debt data creating unit 102b creates offset detailed data SM1 based on the detailed data U2 in the same manner as described in [4-2], although detailed description is omitted. -200,000 included in the offset detail data SM1 is the offset amount to be deducted (offset) from the total 200,000 when returning the total 200,000 explained in the previous paragraph to Ms. Hanako Yamada.

以上のようにして、債務データ作成部102bは、債務データ106eに示すように、FC店舗であるA店の山田花子さんがオーナーの期間についての債務データとして、債務明細データSM3および相殺明細データSM1を含む債務データ106eを作成する。 As described above, the debt data creation unit 102b generates debt detailed data SM3 and offset detailed data SM1 as debt data for the period in which Ms. Hanako Yamada of the FC store A is the owner, as shown in the debt data 106e. create debt data 106e including

ここで、債務明細データSM3中の合計額200,000と相殺明細データSM1中の相殺金額-200,000との和は、0円となるため、FC本部の山田花子さんに対する支払(返還)は0円となる。 Here, the sum of the total amount of 200,000 in the debt detail data SM3 and the offset amount -200,000 in the offset detail data SM1 is 0 yen, so the payment (refund) to Ms. Hanako Yamada of the FC headquarters is 0 yen. .

[4-4.まとめ]
以上、[4-1]~[4-3]の処理を通して作成された債権データ106dを参照すれば、FC本部が保有する債権の合計額が、請求明細データSK1~SK3の各々における金額と消費税をすべて足した値(金額100,000+消費税8,000+金額30,000+消費税2,400+金額20,000+消費税1,600=162,000であると把握することができる。また、[4-1]~[4-3]の処理を通して作成された債務データ106eを参照すれば、FC本部が保有する債務の合計額が、相殺明細データSM1~2および債務明細データSM3~4の各々における金額と消費税をすべて足した値(金額-200,000+消費税-16,000+金額-50,000+消費税-4,000+金額200,000+消費税16,000+金額600,000+消費税48,000=594,000であると把握することができる。
[4-4. summary]
By referring to the receivables data 106d created through the processes [4-1] to [4-3] above, the total amount of receivables held by the FC headquarters is the amount and consumption in each of the detailed billing data SK1 to SK3. It can be understood that the sum of all taxes (amount 100,000 + consumption tax 8,000 + amount 30,000 + consumption tax 2,400 + amount 20,000 + consumption tax 1,600 = 162,000. In addition, [4-1] to [4-3 ], the total amount of debt held by the FC headquarters is the sum of the amounts and consumption tax in each of the offset detail data SM1-2 and the debt detail data SM3-4. Value (amount - 200,000 + consumption tax - 16,000 + amount - 50,000 + consumption tax - 4,000 + amount 200,000 + consumption tax 16,000 + amount 600,000 + consumption tax 48,000 = 594,000.

以上説明してきたように、本実施形態に係るデータ作成装置100によれば、FC本部の担当者が判断せずとも、前記本部売上金額を債権の金額または債務における相殺金額に自動的に振り分け、更に、FC本部のFC店舗に対する債権のデータである債権データ106dおよびFC本部のFC店舗に対する債務のデータである債務データ106eを作成できる。このため、例えば、従来のように、FC本部の担当者が、本部売上金額が債権の増加になるのか、あるいは、債務における相殺金額となるのかを判断して、本部売上金額の登録画面や入力画面を分ける作業を行う必要がなくなるため、当該作業に起因するミス、FC店舗のオーナー向け資料における誤りおよび月次決算の遅延等の発生を防ぐことができる。 As described above, according to the data creation device 100 according to the present embodiment, without the judgment of the person in charge of the FC headquarters, the sales amount of the headquarters is automatically sorted into the amount of receivables or the amount of offset in debts, Furthermore, it is possible to create credit data 106d, which is credit data of the FC head office to the FC store, and debt data 106e, which is credit data of the FC head office to the FC store. For this reason, for example, as in the past, the person in charge of the FC head office judges whether the head office sales amount will increase the receivables or will be the offset amount in the debt, and the registration screen and input of the head office sales amount Since it is no longer necessary to separate the screens, it is possible to prevent errors caused by this work, errors in materials for owners of FC stores, and delays in monthly settlement of accounts.

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

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

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

また、データ作成装置100に関して、図示の各構成要素は機能概念的なものであり、必ずしも物理的に図示の如く構成されていることを要しない。 Also, with regard to the data generation device 100, each illustrated component is functionally conceptual, and does not necessarily need to be physically configured as illustrated.

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

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

また、本実施形態で説明した処理を実行するためのプログラムを、一時的でないコンピュータ読み取り可能な記録媒体に格納してもよく、また、プログラム製品として構成することもできる。ここで、この「記録媒体」とは、メモリーカード、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等の任意の「可搬用の物理媒体」を含むものとする。 Also, the program for executing the processing described in this embodiment may be stored in a non-temporary computer-readable recording medium, or may be configured as a program product. Here, the term "recording medium" means memory card, USB (Universal Serial Bus) memory, SD (Secure Digital) card, flexible disk, magneto-optical disk, ROM, EPROM (Erasable Programmable Read Only Memory), EEPROM (registered Trademark) (Electrically Erasable and Programmable Read Only Memory), CD-ROM (Compact Disk Read Only Memory), MO (Magneto-Optical disk), DVD (Digital Versatile Disk), and Disc (Registered trademark) such as Blu- shall include any "portable physical medium".

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

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

また、データ作成装置100は、既知のパーソナルコンピュータまたはワークステーション等の情報処理装置として構成してもよく、また、任意の周辺装置が接続された当該情報処理装置として構成してもよい。また、データ作成装置100は、当該装置に本実施形態で説明した処理を実現させるソフトウェア(プログラムまたはデータ等を含む)を実装することにより実現してもよい。 Further, the data creation 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 arbitrary peripheral devices are connected. Also, the data creation device 100 may be realized by installing software (including programs, data, etc.) for realizing the processing described in the present embodiment in the device.

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

本発明は、例えば、FC契約を結んで多店舗展開を行う業界において有用である。 INDUSTRIAL APPLICABILITY The present invention is useful, for example, in an industry that develops multiple stores by concluding FC contracts.

100 データ作成装置
102 制御部
102a 債権データ作成部
102b 債務データ作成部
102c 支払処理実行部
104 通信インターフェース部
106 記憶部
106a 店舗契約マスタ
106b 売上データ
106c 店頭売上データ
106d 債権データ
106e 債務データ
108 入出力インターフェース部
112 入力装置
114 出力装置
200 サーバ
300 ネットワーク
100 data creation device 102 control unit
102a bond data creation unit
102b Debt data creation unit
102c payment processing execution unit 104 communication interface unit 106 storage unit
106a Store contract master
106b Sales data
106c Store sales data
106d Credit data
106e debt data 108 input/output interface unit 112 input device 114 output device 200 server 300 network

Claims (6)

制御部および記憶部を備えるデータ作成装置であって、
前記記憶部には、
フランチャイズ契約における店舗での売上金額である店舗売上金額を前記店舗で管理して、前記フランチャイズ契約の本部の前記店舗に対する売上金額である本部売上金額を前記本部が前記店舗に対して債権として請求することを意味する区分である請求区分および前記店舗売上金額をすべて前記本部に預けて、前記預けた店舗売上金額から前記本部売上金額を差し引いて精算した金額を前記本部が前記店舗に対して債務として支払うことを意味する区分である精算区分のいずれか一方の区分と、前記店舗を識別するための店舗識別データと、を含む店舗マスタと、
店舗識別データと本部売上金額とを含む、前記本部の前記店舗に対する売上に関するデータである本部売上データと、
店舗識別データと店舗売上金額とを含む、前記店舗での売上に関するデータである店舗売上データと、
が格納されており、
前記制御部は、
前記本部売上データ中の前記店舗識別データと紐付く前記店舗マスタ中の前記区分が前記請求区分である場合、前記本部売上データ中の前記店舗識別データと当該店舗識別データと紐付く前記本部売上データ中の前記本部売上金額とを有する請求明細データを含む前記債権としての債権データを作成する債権データ作成手段と、
前記本部売上データ中の前記店舗識別データと紐付く前記店舗マスタ中の前記区分が前記精算区分である場合、前記本部売上データ中の前記店舗識別データと当該店舗識別データと紐付く前記店舗売上データ中の前記店舗売上金額の合計額とを有する債務明細データおよび前記本部売上データ中の前記店舗識別データと当該店舗識別データと紐付く前記本部売上データ中の前記本部売上金額をマイナスで計上した金額であって前記債務明細データ中の前記合計額を相殺するための金額である相殺金額とを有する相殺明細データを含む前記債務としての債務データを作成する債務データ作成手段と、
を備えること、
を特徴とするデータ作成装置。
A data creation device comprising a control unit and a storage unit,
The storage unit contains
The store sales amount, which is the sales amount at the store under the franchise contract, is managed by the store, and the headquarters bills the store for the headquarters sales amount, which is the sales amount for the store under the franchise contract. The billing classification, which is a classification that means that the store sales amount is all deposited with the headquarters, and the headquarters deducts the amount settled by deducting the headquarters sales amount from the deposited store sales amount as a debt to the store. a store master containing either one of the settlement categories, which is a category meaning payment, and store identification data for identifying the store;
headquarters sales data, which is data relating to sales of the headquarters to the stores, including store identification data and headquarters sales amounts;
store sales data, which is data related to sales at the store, including store identification data and store sales amount;
is stored and
The control unit
When the division in the store master associated with the store identification data in the head office sales data is the billing division, the store identification data in the head office sales data and the head office sales data associated with the store identification data a claim data creation means for creating claim data as said claim including billing detail data having said headquarters sales amount in
When the division in the store master associated with the store identification data in the headquarters sales data is the settlement division, the store identification data in the headquarters sales data and the store sales data associated with the store identification data Debt detail data having the total amount of the store sales amount in the above, the store identification data in the headquarters sales data, and the headquarters sales amount in the headquarters sales data linked to the store identification data The amount recorded as a minus a debt data creation means for creating debt data as the debt including offset detail data having a set-off amount that is an amount for offsetting the total amount in the debt detail data;
to provide
A data creation device characterized by:
前記本部売上データは、前記本部売上金額を計上した日付である計上日を更に含み、
前記店舗売上データは、前記店舗での売上が発生した日付である売上日を更に含み、
前記店舗マスタは、前記区分を適用する対象となる期間である適用対象期間を更に含み、
前記本部売上データ中の前記店舗識別データと紐付き、かつ、前記計上日が属する前記適用対象期間と紐付く前記店舗マスタ中の前記区分が前記請求区分である場合、前記債権データ作成手段が、前記債権データを作成し、
前記本部売上データ中の前記店舗識別データと紐付き、かつ、前記計上日が属する前記適用対象期間と紐付く前記店舗マスタ中の前記区分が前記精算区分である場合、前記債務データ作成手段が、前記適用対象期間に属する前記売上日と紐付く前記店舗売上データ中の前記店舗売上金額の合算を前記合計額として有する前記債務データを作成すること、
を特徴とする請求項1に記載のデータ作成装置。
The head office sales data further includes a recording date, which is the date when the head office sales amount is recorded,
The store sales data further includes a sales date, which is the date the sale occurred at the store,
The store master further includes an applicable period, which is a period to which the classification is applied,
When the classification in the store master linked to the store identification data in the headquarters sales data and linked to the applicable period to which the recording date belongs is the billing classification, the claim data creating means create receivables data,
When the division in the store master linked to the store identification data in the headquarters sales data and linked to the applicable period to which the recording date belongs is the settlement category, the debt data creating means Creating the debt data having as the total amount the sum of the store sales amounts in the store sales data associated with the sales date belonging to the applicable period;
The data creation device according to claim 1, characterized by:
前記制御部は、
前記債務明細データ中の前記合計額と前記相殺明細データ中の前記相殺金額との和を、前記本部の前記店舗に対する債務として支払う処理を実行する支払処理実行手段
を更に備えること、
を特徴とする請求項1または2に記載のデータ作成装置。
The control unit
further comprising payment processing execution means for executing a process of paying the sum of the total amount in the debt statement data and the offset amount in the offset detail data as a debt to the store of the headquarters;
3. The data creation device according to claim 1 or 2, characterized by:
前記本部売上金額が、前記フランチャイズ契約において前記店舗が前記本部に対して支払うべきロイヤリティまたは前記本部が前記店舗に対し提供したものの費用であること、
を特徴とする請求項1から3のいずれか1つに記載のデータ作成装置。
The headquarters sales amount is the royalty payable by the store to the headquarters in the franchise contract or the cost of what the headquarters provided to the store,
4. The data creation device according to any one of claims 1 to 3, characterized by:
制御部および記憶部を備える情報処理装置で実行されるデータ作成方法であって、
前記記憶部には、
フランチャイズ契約における店舗での売上金額である店舗売上金額を前記店舗で管理して、前記フランチャイズ契約の本部の前記店舗に対する売上金額である本部売上金額を前記本部が前記店舗に対して債権として請求することを意味する区分である請求区分および前記店舗売上金額をすべて前記本部に預けて、前記預けた店舗売上金額から前記本部売上金額を差し引いて精算した金額を前記本部が前記店舗に対して債務として支払うことを意味する区分である精算区分のいずれか一方の区分と、前記店舗を識別するための店舗識別データと、を含む店舗マスタと、
店舗識別データと本部売上金額とを含む、前記本部の前記店舗に対する売上に関するデータである本部売上データと、
店舗識別データと店舗売上金額とを含む、前記店舗での売上に関するデータである店舗売上データと、
が格納されており、
前記制御部で実行される、
前記本部売上データ中の前記店舗識別データと紐付く前記店舗マスタ中の前記区分が前記請求区分である場合、前記本部売上データ中の前記店舗識別データと当該店舗識別データと紐付く前記本部売上データ中の前記本部売上金額とを有する請求明細データを含む前記債権としての債権データを作成する債権データ作成ステップと、
前記本部売上データ中の前記店舗識別データと紐付く前記店舗マスタ中の前記区分が前記精算区分である場合、前記本部売上データ中の前記店舗識別データと当該店舗識別データと紐付く前記店舗売上データ中の前記店舗売上金額の合計額とを有する債務明細データおよび前記本部売上データ中の前記店舗識別データと当該店舗識別データと紐付く前記本部売上データ中の前記本部売上金額をマイナスで計上した金額であって前記債務明細データ中の前記合計額を相殺するための金額である相殺金額とを有する相殺明細データを含む前記債務としての債務データを作成する債務データ作成ステップと、
を含むこと、
を特徴とするデータ作成方法。
A data creation method executed by an information processing device comprising a control unit and a storage unit,
The storage unit contains
The store sales amount, which is the sales amount at the store under the franchise contract, is managed by the store, and the headquarters bills the store for the headquarters sales amount, which is the sales amount for the store under the franchise contract. The billing classification, which is a classification that means that the store sales amount is all deposited with the headquarters, and the headquarters deducts the amount settled by deducting the headquarters sales amount from the deposited store sales amount as a debt to the store. a store master containing either one of the settlement categories, which is a category meaning payment, and store identification data for identifying the store;
headquarters sales data, which is data relating to sales of the headquarters to the stores, including store identification data and headquarters sales amounts;
store sales data, which is data related to sales at the store, including store identification data and store sales amount;
is stored and
executed by the control unit;
When the division in the store master linked to the store identification data in the headquarters sales data is the billing classification, the store identification data in the headquarters sales data and the headquarters sales data linked to the store identification data a claim data creation step of creating claim data as said claim including billing detail data having said headquarters sales amount in
When the division in the store master associated with the store identification data in the headquarters sales data is the settlement division, the store identification data in the headquarters sales data and the store sales data associated with the store identification data Debt statement data having the total amount of the store sales amount in the above, the store identification data in the headquarters sales data, and the headquarters sales amount in the headquarters sales data linked to the store identification data are recorded as negative amounts and a debt data creation step of creating debt data as the debt including offset detail data having an offset amount that is an amount for offsetting the total amount in the debt detail data;
including
A data creation method characterized by:
制御部および記憶部を備える情報処理装置に実行させるためのデータ作成プログラムであって、
前記記憶部には、
フランチャイズ契約における店舗での売上金額である店舗売上金額を前記店舗で管理して、前記フランチャイズ契約の本部の前記店舗に対する売上金額である本部売上金額を前記本部が前記店舗に対して債権として請求することを意味する区分である請求区分および前記店舗売上金額をすべて前記本部に預けて、前記預けた店舗売上金額から前記本部売上金額を差し引いて精算した金額を前記本部が前記店舗に対して債務として支払うことを意味する区分である精算区分のいずれか一方の区分と、前記店舗を識別するための店舗識別データと、を含む店舗マスタと、
店舗識別データと本部売上金額とを含む、前記本部の前記店舗に対する売上に関するデータである本部売上データと、
店舗識別データと店舗売上金額とを含む、前記店舗での売上に関するデータである店舗売上データと、
が格納されており、
前記制御部に実行させるための、
前記本部売上データ中の前記店舗識別データと紐付く前記店舗マスタ中の前記区分が前記請求区分である場合、前記本部売上データ中の前記店舗識別データと当該店舗識別データと紐付く前記本部売上データ中の前記本部売上金額とを有する請求明細データを含む前記債権としての債権データを作成する債権データ作成ステップと、
前記本部売上データ中の前記店舗識別データと紐付く前記店舗マスタ中の前記区分が前記精算区分である場合、前記本部売上データ中の前記店舗識別データと当該店舗識別データと紐付く前記店舗売上データ中の前記店舗売上金額の合計額とを有する債務明細データおよび前記本部売上データ中の前記店舗識別データと当該店舗識別データと紐付く前記本部売上データ中の前記本部売上金額をマイナスで計上した金額であって前記債務明細データ中の前記合計額を相殺するための金額である相殺金額とを有する相殺明細データを含む前記債務としての債務データを作成する債務データ作成ステップと、
を含むこと、
を特徴とするデータ作成プログラム。
A data creation program to be executed by an information processing device comprising a control unit and a storage unit,
The storage unit contains
The store sales amount, which is the sales amount at the store under the franchise contract, is managed by the store, and the headquarters bills the store for the headquarters sales amount, which is the sales amount for the store under the franchise contract. The billing classification, which is a classification that means that the store sales amount is all deposited with the headquarters, and the headquarters deducts the amount settled by deducting the headquarters sales amount from the deposited store sales amount as a debt to the store. a store master containing either one of the settlement categories, which is a category meaning payment, and store identification data for identifying the store;
headquarters sales data, which is data relating to sales of the headquarters to the stores, including store identification data and headquarters sales amounts;
store sales data, which is data related to sales at the store, including store identification data and store sales amount;
is stored and
for causing the control unit to execute
When the division in the store master associated with the store identification data in the head office sales data is the billing division, the store identification data in the head office sales data and the head office sales data associated with the store identification data a claim data creation step of creating claim data as said claim including billing detail data having said headquarters sales amount in
When the division in the store master associated with the store identification data in the headquarters sales data is the settlement division, the store identification data in the headquarters sales data and the store sales data associated with the store identification data Debt detail data having the total amount of the store sales amount in the above, the store identification data in the headquarters sales data, and the headquarters sales amount in the headquarters sales data linked to the store identification data The amount recorded as a minus and a debt data creation step of creating debt data as the debt including offset detail data having an offset amount that is an amount for offsetting the total amount in the debt detail data;
including
A data creation program characterized by:
JP2018162554A 2018-08-31 2018-08-31 Data creation device, data creation method and data creation program Active JP7117197B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018162554A JP7117197B2 (en) 2018-08-31 2018-08-31 Data creation device, data creation method and data creation program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018162554A JP7117197B2 (en) 2018-08-31 2018-08-31 Data creation device, data creation method and data creation program

Publications (2)

Publication Number Publication Date
JP2020035275A JP2020035275A (en) 2020-03-05
JP7117197B2 true JP7117197B2 (en) 2022-08-12

Family

ID=69668218

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018162554A Active JP7117197B2 (en) 2018-08-31 2018-08-31 Data creation device, data creation method and data creation program

Country Status (1)

Country Link
JP (1) JP7117197B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001037156A1 (en) 1999-11-15 2001-05-25 Feals, Incorporated Company Real estate affairs support system and computer, and real estate business support method
WO2002039403A1 (en) 2000-11-10 2002-05-16 Idemitsu Kosan Co., Ltd. Sales management system
JP2004094373A (en) 2002-08-29 2004-03-25 Konami Sports Corp Coaching class provision service system
JP2005284458A (en) 2004-03-29 2005-10-13 Tadayoshi Kokubu Franchise accession supporting method, franchise operation system, and program therefor
JP2018055374A (en) 2016-09-28 2018-04-05 株式会社オービック Store contract accounting processor, store contract accounting processing method, and store contract accounting processing program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001037156A1 (en) 1999-11-15 2001-05-25 Feals, Incorporated Company Real estate affairs support system and computer, and real estate business support method
WO2002039403A1 (en) 2000-11-10 2002-05-16 Idemitsu Kosan Co., Ltd. Sales management system
JP2004094373A (en) 2002-08-29 2004-03-25 Konami Sports Corp Coaching class provision service system
JP2005284458A (en) 2004-03-29 2005-10-13 Tadayoshi Kokubu Franchise accession supporting method, franchise operation system, and program therefor
JP2018055374A (en) 2016-09-28 2018-04-05 株式会社オービック Store contract accounting processor, store contract accounting processing method, and store contract accounting processing program

Also Published As

Publication number Publication date
JP2020035275A (en) 2020-03-05

Similar Documents

Publication Publication Date Title
JP6830781B2 (en) Store contract accounting processing equipment, store contract accounting processing method, and store contract accounting processing program
JP2017168087A (en) Expense journalizing automatic generation device, expense journalizing automatic generation method, and expense journalizing automatic generation program
JP7426460B2 (en) Journal data creation device, journal data creation method, and journal data creation program
JP2018156132A (en) Intracompany transaction management apparatus, intracompany transaction management method and intracompany transaction management program
JP2018156406A (en) Sales data creating apparatus, sales data creating method, and program for creating sales data
JP6850160B2 (en) Payroll processing device, payroll correction processing method, and payroll correction processing program
JP7064342B2 (en) Application processing device, application processing method, and application processing program
JP7060951B2 (en) Rebate management device, rebate management method, and rebate management program
JP7117197B2 (en) Data creation device, data creation method and data creation program
JP7460486B2 (en) Individual billing management device, individual billing management method, and individual billing management program
JP2018028843A (en) Debt and credit management device, debt and credit management method, and debt and credit management program
JP2020140322A (en) Credit management device, credit management method, and credit management program
JP7320483B2 (en) Monthly sales recording device, monthly sales recording method, and monthly sales recording program
JP7328827B2 (en) Sales/Estimated Cost Calculation Device, Sales/Estimated Cost Calculation Method, and Sales/Estimated Cost Calculation Program
JP7198708B2 (en) Costing device, costing method and costing program
JP7173842B2 (en) Journal writing device, journal writing method and journal writing program
JP7257573B2 (en) Project management device, project detail output method and project detail output program
JP7426517B2 (en) Business support devices, business support programs, and business support methods
JP7410808B2 (en) Journal switching device, journal switching method, and journal switching program
JP7240131B2 (en) Construction cost management device, construction cost management method, and construction cost management program
JP7291088B2 (en) Slip Closing Support Device, Slip Closing Support Method, and Slip Closing Support Program
JP7478283B2 (en) Real estate management device, real estate management method, and real estate management program
JP7157563B2 (en) Amount calculation device, amount calculation method, and amount calculation program
JP7411517B2 (en) Receivables/Payables Accounting Department Identification Device, Receivables/Payables Accounting Department Identification Method, and Receivables/Payables Accounting Department Identification Program
JP7186088B2 (en) Return settlement device, return settlement method, and return settlement program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210702

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220525

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: 20220705

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220801

R150 Certificate of patent or registration of utility model

Ref document number: 7117197

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150