JP2020035275A - 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
JP2020035275A
JP2020035275A JP2018162554A JP2018162554A JP2020035275A JP 2020035275 A JP2020035275 A JP 2020035275A JP 2018162554 A JP2018162554 A JP 2018162554A JP 2018162554 A JP2018162554 A JP 2018162554A JP 2020035275 A JP2020035275 A JP 2020035275A
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.)
Granted
Application number
JP2018162554A
Other languages
Japanese (ja)
Other versions
JP7117197B2 (en
Inventor
彬 平松
Akira Hiramatsu
彬 平松
剛光 上野
Takemitsu Ueno
剛光 上野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Obic Co Ltd
Original Assignee
Obic Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Obic Co Ltd filed Critical Obic Co Ltd
Priority to 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)

Abstract

To provide a data creation device or the like that can create credit data for FC stores of FC headquarters and debt data for the FC stores of the FC headquarters, even if a person in charge of the FC headquarters does not determine, by automatically allocating the sales amount of the headquarters to the amount of receivables or the setoff amount in the debt.SOLUTION: In the present embodiment, (1) if the contract form in a store contract master linked to a store code in sales data is a billing method, the device creates credit data including billing statement data having a store code in the sales data and an amount in the sales data associated with the store code. Further, (2) if the contract form in the store contract master linked to the store code in the sales data is a settlement method, the device creates debt data including debt statement data having the store code in the sales data and the total amount in the over-the-counter sales data associated with the store code as well as setoff statement data having the store code in the sales data and the setoff amount in which the amount in the sales data associated with the store code is recorded as a negative value.SELECTED DRAWING: Figure 5

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等参照)。   Patent Literature 1 states that “the first store, the second store, the third store, to the N-th store are operated by a company A in a direct management / FC form, etc. Each of these stores has a POS register and a deposit machine. Is installed. ”(See paragraph 0013 and the like in Patent Document 1), and further,“ POS total data and depositing machine data are collected from the POS registers and the depositing machine of each of the first to Nth stores. Upon receipt (step S300), data editing processing is performed in step S302, and POS register comparison data and depositing machine comparison data are generated, where the POS register comparison data is a cash sales amount extracted from the POS total data. When the change expenditure, expense payment, etc. are recorded, the amount obtained by subtracting the recorded amount from the cash sales amount is the POS register comparison data. That. "To be disclosed (refer to paragraph 0023 of Patent Document 1).

特開2003−308375号公報JP 2003-308375 A

このように、フランチャイズ(以下、「FC」ということがある。)契約において各FC店舗の売上金額を管理する分野においては、従来、以下のような問題があった。すなわち、FC契約における契約方式には、図2に示すように、FC店舗での売上金額である店舗売上金額を前記店舗で管理して、FC契約の本部の前記店舗に対する売上金額である本部売上金額(食材費等)を前記本部が前記店舗に対して債権として請求する方式(請求方式)と、図3に示すように、前記店舗売上金額を一旦すべて前記本部に預けて、前記預けた店舗売上金額から前記本部売上金額(食材費等)を差し引いて(言い換えると、相殺して)精算した金額を前記本部が前記店舗に対して債務として支払う方式(精算方式)と、がある。そして、各FC店舗によって、前記どちらの契約方式を採用するかは異なり、一般的には、法人がFC店舗のオーナーである場合には与信が高いため請求方式を採用し、個人がFC店舗のオーナーである場合には与信が低いため精算方式を採用する。   As described above, in the field of managing the sales amount of each FC store in a franchise (hereinafter sometimes referred to as “FC”) contract, there have been the following problems conventionally. In other words, 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 by the store, and the head office sales amount, which is the sales amount of the head office of the FC contract, to the store. A method (a billing method) in which the headquarters claims the amount (food costs, etc.) to the store as a receivable, and, as shown in FIG. There is a method (payment method) in which the headquarters pays the amount obtained by subtracting (in other words, offsetting) the sales amount of the headquarters (food costs etc.) from the sales amount as a debt to the store. Which of the above-mentioned contract methods is adopted differs depending on each FC store. Generally, when the corporation is the owner of the FC store, the credit method is high, so the billing method is adopted, and the individual uses the FC store. If you are the owner, the credit method is low, so the settlement method is adopted.

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

本発明は、上記問題点に鑑みてなされたものであって、FC本部の担当者が判断せずとも、前記本部売上金額を債権の金額または債務における相殺金額に自動的に振り分け、更に、FC本部のFC店舗に対する債権のデータである債権データおよびFC本部のFC店舗に対する債務のデータである債務データを作成できるデータ作成装置、データ作成方法およびデータ作成プログラムを提供することを目的とする。   The present invention has been made in view of the above-mentioned problems, and automatically allocates the sales amount of the headquarters to the amount of the receivables or the offset amount in the debt without the judgment of the person in charge of the FC headquarters. 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 a bond to an FC store at a headquarters, and debt data, which is data of a debt to a FC store at a 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 including a control unit and a storage unit, wherein the storage unit stores sales at a store under a franchise contract. A store sales amount, which is an amount, is managed at the store, and the headquarters sales amount, which is the sales amount of the headquarters of the franchise contract, to the store is a category that means that the headquarters claims the store as receivables. Deposit all the billing section and the store sales amount to the headquarters, and deduct the headquarters sales amount from the deposited store sales amount and settle the amount paid by the headquarters as a debt to the store. A store master including any one of the settlement classes, store identification data for identifying the store, store identification data and Head office sales data, which is data on sales of the head office to the store, including sales amounts, and store sales data, which is data on sales at the stores, including store identification data and store sales amounts, are stored. And the control unit includes:
When the division in the store master associated with the store identification data in the headquarters sales data is the billing division, the headquarters sales data associated with the store identification data and the store identification data in the headquarters sales data Claim data creation means for creating the claim data including the claim statement data having the head office sales amount, and the section in the shop master associated with the shop identification data in the head office sales data. In the case of the settlement section, in the debt statement data and the headquarters sales data, the store identification data in the headquarters sales data and the total amount of the store sales in the store sales data associated with the store identification data are included. The above-mentioned store identification data and the amount obtained by subtracting the head office sales amount from the head office sales data linked to the store identification data And debt data creating means for creating debt data as the debt including offset statement data having an offset amount that is an amount for offsetting the total amount in the debt statement data. Features.

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

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

また、本発明に係るデータ作成装置は、前記本部売上金額が、前記フランチャイズ契約において前記店舗が前記本部に対して支払うべきロイヤリティまたは前記本部が前記店舗に対し提供したものの費用であること、を特徴とする。   Further, the data creation device according to the present invention is characterized in that the headquarters sales amount is a royalty to be paid by the store to the headquarters in the franchise agreement or an expense of what the headquarters 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 including a control unit and a storage unit, wherein the storage unit stores the sales amount of the store under the franchise contract. The amount is managed in the store, the headquarters of the franchise contract is the sales amount of the headquarters to the store, the headquarters sales amount is a classification that means that the headquarters claims the store as receivables, the claim classification and the store Any of the settlement divisions, which means that the headquarters pays all the sales amounts to the headquarters and deducts the headquarters sales amount from the deposited store sales amount to the store as an obligation. A store master including one of the categories and the store identification data for identifying the store, the store identification data and the head office sales amount The headquarters sales data, which is data on sales of the headquarters to the store, and store sales data, which is data on sales at the store, including store identification data and store sales amount, are stored. When the section in the store master associated with the store identification data in the headquarters sales data is the billing section, the store identification data and the store identification data in the headquarters sales data are executed by the control unit. Claim data creation step of creating claim data as the claim including claim statement data having the head office sales amount in the head office sales data, and the store identification data in the head office sales data If the section in the store master is the settlement section, the store identification data and the store identification data in the headquarters sales data Debt statement data having the total amount of the store sales amounts in the store sales data associated therewith, the store identification data in the headquarters sales data, and the headquarters sales amount in the headquarters sales data associated with the store identification data Debt data creation step of creating debt data as the debt including offsetting statement data having an offset amount that is an amount for recording the total amount in the debt statement data as a negative amount And the following.

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

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

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

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

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

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

そこで、本実施形態においては、例えば、FC本部の担当者が、FC店舗に納入した分の食材費やFC店舗に対する経費等を債権の金額として登録するのかあるいは債務における相殺金額として登録するのかを意識せずにできるようにし、更に、前記食材費や前記経費を、自動的に前記債権の金額または前記債務における相殺金額に振り分けできるようにした。また、本実施形態においては、例えば、月中にFC店舗のオーナーの変更があった場合においても、変更の前後のオーナーそれぞれとの契約方式に応じた適切な振り分けをできるようにした。以下、具体的な構成および動作について説明する。   Therefore, in the present embodiment, for example, the person in charge of the FC headquarters determines whether to register the material costs and the expenses for the FC store for the delivery to the FC store as the amount of the receivable or the offset amount in the debt. In addition, it is possible to automatically allocate the food cost and the cost to the amount of the receivable or the offset amount in the debt. Further, in the present embodiment, for example, even when the owner of the franchise store is changed during the month, appropriate distribution according to the contract method with the owner before and after the change can be performed. Hereinafter, a specific configuration and operation will be described.

[2.構成]
本実施形態に係るデータ作成装置100の構成の一例について、図1を参照して説明する。図1は、データ作成装置100の構成の一例を示すブロック図である。
[2. Constitution]
An example of the configuration of the data creation device 100 according to the present 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.

データ作成装置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, but may be a portable personal computer such as a commercially available notebook personal computer, PDA (Personal Digital Assistants), smartphone, or tablet personal computer. It may be an information processing device.

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

通信インターフェース部104は、ルータ等の通信装置および専用線等の有線または無線の通信回線を介して、データ作成装置100をネットワーク300に通信可能に接続する。通信インターフェース部104は、他の装置と通信回線を介してデータを通信する機能を有する。ここで、ネットワーク300は、データ作成装置100とサーバ200とを相互に通信可能に接続する機能を有し、例えばインターネットやLAN(Local Area Network)等である。なお、後述する各種マスタ等のデータは、例えばサーバ200に格納されてもよい。   The communication interface unit 104 communicably connects the 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). Note that data of various masters and the like described below may be stored in the server 200, for example.

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

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

記憶部106は、例えば、店舗マスタとしての店舗契約マスタ106aと、本部売上データとしての売上データ106bと、店舗売上データとしての店頭売上データ106cと、債権データ106dと、債務データ106eと、を備えている。   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, receivables data 106d, and debt data 106e. ing.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

前記店舗との契約方式が請求方式である場合、売上データ106bを元にして、債権データ106dが作成される。このように、請求方式の場合、前記本部から前記店舗への売上は、前記本部から見た場合には債権の増加となる。   When the contract method with the store is a billing method, the credit data 106d is created based on the sales data 106b. As described above, in the case of the billing method, the sales from the headquarters to the store increase the receivables as viewed from the headquarters.

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

[4.処理詳細]
本項目では、本実施形態に係る処理の詳細について、図5を用いて説明する。なお、以下の説明における前提として、店舗契約マスタ106a、売上データ106bおよび店頭売上データ106cの内容は、図5に示すとおりであるとする。
[4. Processing details]
In this item, details of the processing according to the present embodiment will be described with reference to FIG. In the following description, it is assumed that the contents of the store contract master 106a, the sales data 106b, and the in-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 is denoted by TK1-4, the detailed data of the sales data 106b is denoted by U1-5, and the detailed data of the over-the-counter sales data 106c is denoted. The data is denoted by TU 1 to 90, the detailed data of the credit data 106d is denoted by SK1 to 3, and the detailed data of the debt data 106e is denoted by SM 1 to 4. These symbols are given for the sake of explanation and are not data and information included in each data.

[4−1.FC店舗であるB店についての債権データの作成]
まず、FC店舗であるB店についての債権データ106dの作成について説明する。
[4-1. Creation of credit data for franchise store B]
First, creation of the credit data 106d for the 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 the store code: T101 and the store name: B store in the statement data U3 is a billing method. In this case, the receivables data creation unit 102a creates the invoice details data SK2 based on the details data U3. Specifically, as shown in the billing statement data SK2, the receivable data creation unit 102a links the shop code: T101 and the shop name: B shop and the shop code: T101 and the shop name: B shop in the statement data U3. Other information in the detailed data U3 attached (accounting 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), The billing statement data SK2 including the following is created.

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

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

[4−2.FC店舗であるC店についての債務データの作成]
次に、FC店舗であるC店についての債務データ106eの作成について説明する。
[4-2. Creation of debt data for C store, a franchise store]
Next, creation of the debt data 106e for the C store, 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 statement data U5 is a settlement method. In this case, the debt data creation unit 102b creates debt statement data SM4 based on the statement data TU61 to TU90. Specifically, as shown in the debt statement data SM4, the debt data creation unit 102b links the shop code: T102 and the shop name: C shop in the statement data U5 with the shop code: T102 and the shop name: C shop. Information based on other information in the attached detail data TU61 to 90 (Accounting date: April 30, 2018, product code: Z999, product name: deposit, quantity: 1, unit price: 600,000, amount: 600,000, and consumption tax: 48,000). As the accounting date, “2018/4/30”, which is the end date of the month, as in this example, may be set, or a contract switching date may be set. As the product code and the product name, the sales in the detailed data TU61 to TU90 are recorded as deposits, and thus “Z999” and “deposit” are set, respectively. As the unit price and the amount, 600,000 (30 items of 20,000) which is the total amount of the sales amount 20,000 in each of the item data TU61 to TU90 is set. The 600,000 is the amount that Store C once deposits in 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 statement data SM2 based on the statement data U5. Specifically, as shown in the offset statement data SM2, the debt data creation unit 102b links the shop code: T102 and the shop name: C shop in the statement data U5 with the shop code: T102 and the shop name: C shop. Information based on other information in the attached detail data U5 (Accounting date: April 1, 2018, Product code: S100, Product name: Flour 10kg, Quantity: 5, Unit price: -10,000, Amount: -50,000, and consumption tax: -4,000) to generate the offsetting detail data SM2. As the unit price, −10,000, which is a minus amount of the unit price 10,000 in the detailed data U5, is set. As the amount of money, -50,000 which is the amount obtained by subtracting the amount of money 50,000 in the detailed data U5 is set. The -50,000 is an offset amount to be subtracted from the total amount of 600,000 when returning the total amount of 600,000 described in the previous paragraph to the C store.

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

支払処理実行部102cは、債務明細データSM4中の合計額600,000と相殺明細データSM2中の相殺金額-50,000との和である550,000を、FC本部のC店に対する債務として支払処理を実行する(つまり返還をする)。   The payment processing execution unit 102c executes the payment processing as 550,000, which is the sum of the total amount of 600,000 in the debt detail data SM4 and the offset amount -50,000 in the offset detail data SM2, as the debt to the store C of the FC headquarters (that is, the payment processing) Will be returned).

[4−3.FC店舗であるA店についての債権データおよび債務データの作成]
最後に、FC店舗であるA店についての債権データ106dおよび債務データ106eの作成について説明する。なお、本例においては、店舗契約マスタ106aに示すように、オーナーが2018/4/21を境目に、法人である株式会社○○から個人である山田花子さんに切り替わっている。このような場合においても、本実施形態に係るデータ作成装置100によれば、以下で説明するように、株式会社○○と契約を結んでいる期間に株式会社○○に対して卸売した際の本部売上金額については、株式会社○○に請求する債権の金額として振り分けることができる。これに対して、山田花子さんと契約を結んでいる期間に山田花子さんに対して卸売した際の本部売上金額については、山田花子さんから一旦すべて預かって債務として返還する売上金を相殺するための相殺金額として振り分けることができる。
[4-3. Creation of receivables and debt data for FC store A]
Finally, creation of the credit data 106d and the debt data 106e for the FC store A will be described. Note that, in this example, as shown in the store contract master 106a, the owner switches from corp. Corporation OO to individual Hanako Yamada on April 21, 2018. Even in such a case, according to the data creating apparatus 100 according to the present embodiment, as described below, when wholesale is performed to the corporation XX during the period in which the contract is made with the corporation XX, The sales amount of the headquarters can be distributed as the amount of receivables to be claimed to XX Corporation. On the other hand, the sales amount at the headquarters for wholesale to Hanako Yamada during the contract with Hanako Yamada is to offset the sales that are once deposited from Hanako Yamada and returned as debt. Can be allocated as the 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 Claim 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. Here, the accounting date 2018/4/1 in the detailed data U1 belongs to the applicable period of the detailed data TK1 (from 2018/1/1 to 2018/4/20). Therefore, the contract form associated with the detail data U1 is a billing method that is the contract form of the detail data TK1. Hereinafter, the detailed description is omitted, but in the same manner as described in [4-1], the receivables data creating unit 102a creates the invoice details data SK1 based on the details data U1.

以上のようにして、債権データ作成部102aは、債権データ106dに示すように、FC店舗であるA店の株式会社○○がオーナーの期間についての債権データとして、請求明細データSK1を含む債権データ106dを作成する。   As described above, as shown in the credit data 106d, the credit data creation unit 102a sets the credit data including the billing statement data SK1 as the credit data for the period in which XX of the FC store A is the owner. Create 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. Here, the accounting date 2018/4/21 in the detail data U2 belongs to the applicable period of the detail data TK2 (after April 21, 2018). In this case, the debt data creation unit 102b creates debt statement data SM3 based on the statement data TU21 to TU30. Specifically, as shown in the debt statement data SM3, the debt data creation unit 102b links the shop code: T100 and the shop name: A shop in the statement data U2 with the shop code: T100 and the shop name: A shop. Information based on other information in the attached detail data TU21-30 (Accounting date: April 30, 2018, Product code: Z999, Product name: Deposit, Quantity: 1, Unit price: 200,000, Amount: 200,000, and consumption tax: 16,000) is created. The unit price and the amount of money are 200,000 (10 items of 20,000), which is the sum of the sales amount 20,000 in each of the item data TU21 to 30 having the sales date belonging to the applicable period of the item data TK2 (after April 21, 2018). Minute) is set. The 200,000 is the amount that Hanako Yamada once deposits at the FC headquarters.

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

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

ここで、債務明細データSM3中の合計額200,000と相殺明細データSM1中の相殺金額-200,000との和は、0円となるため、FC本部の山田花子さんに対する支払(返還)は0円となる。   Here, since the sum of the total amount of 200,000 in the debt statement data SM3 and the offset amount of -200,000 in the offset statement data SM1 is 0 yen, the payment (return) to 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]
As described above, with reference to the credit data 106d created through the processes of [4-1] to [4-3], the total amount of the credits held by the FC headquarters is the amount and consumption in each of the billing statement data SK1 to SK3 The sum of all taxes (amount 100,000 + consumption tax 8,000 + amount 30,000 + consumption tax 2,400 + amount 20,000 + consumption tax 1600 = 162,000 = 162,000. Also, [4-1] to [4-3] ], The total amount of debt held by the FC headquarters is the sum of the amount and consumption tax in each of the offset statement data SM1-2 and the debt statement 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 creating apparatus 100 according to the present embodiment, the sales amount of the headquarters is automatically allocated to the amount of the receivables or the offset amount in the debts without the judgment of the person in charge of the FC headquarters, Further, it is possible to create the credit data 106d, which is the data of the credit to the FC store of the FC headquarters, and the debt data 106e, which is the data of the debt to the FC store of the FC headquarters. For this reason, for example, as in the past, the person in charge of the FC headquarters determines whether the headquarters sales amount will be an increase in receivables or an offset amount in debts, and a registration screen or input of the headquarters sales amount will be made. Since there is no need to perform screen division work, it is possible to prevent errors due to the work, errors in data for owners of FC stores, delays in monthly settlement, and the like.

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

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

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

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

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

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

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

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

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

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

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

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

100 データ作成装置
102 制御部
102a 債権データ作成部
102b 債務データ作成部
102c 支払処理実行部
104 通信インターフェース部
106 記憶部
106a 店舗契約マスタ
106b 売上データ
106c 店頭売上データ
106d 債権データ
106e 債務データ
108 入出力インターフェース部
112 入力装置
114 出力装置
200 サーバ
300 ネットワーク
Reference Signs List 100 data creation device 102 control unit
102a Credit 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 Over-the-counter sales data
106d receivables 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 including a control unit and a storage unit,
In the storage unit,
The store manages the store sales amount, which is the sales amount at the store in the franchise agreement, at the store, and the headquarters claims the store sales amount, which is the sales amount of the headquarters of the franchise contract, to the store as receivables. The headquarters as a liability to the store, by depositing the billing division and the store sales amount, which is a classification meaning that, with the headquarters, and subtracting the headquarters sales amount from the deposited store sales amount and adjusting the amount. A store master including any one of the settlement classes, which is a class that means to pay, and store identification data for identifying the store,
Headquarters sales data, which is data on sales of the headquarters to the store, including store identification data and headquarters sales amounts,
Including store identification data and store sales amount, store sales data that is data on sales at the store,
Is stored,
The control unit includes:
When the division in the store master associated with the store identification data in the headquarters sales data is the billing division, the headquarters sales data associated with the store identification data and the store identification data in the headquarters sales data Claim data creating means for creating claim data as the claim including claim detail data having the head office sales amount,
When the section in the store master associated with the store identification data in the headquarters sales data is the settlement section, 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 and the store identification data in the headquarters sales data and the amount obtained by subtracting the headquarter sales amount in the headquarters sales data associated with the store identification data Debt data creating means for creating debt data as the debt including offsetting detail data having an offset amount that is an amount for offsetting the total amount in the debt detail data,
Having,
A data creation device characterized by the following.
前記本部売上データは、前記本部売上金額を計上した日付である計上日を更に含み、
前記店舗売上データは、前記店舗での売上が発生した日付である売上日を更に含み、
前記店舗マスタは、前記区分を適用する対象となる期間である適用対象期間を更に含み、
前記本部売上データ中の前記店舗識別データと紐付き、かつ、前記計上日が属する前記適用対象期間と紐付く前記店舗マスタ中の前記区分が前記請求区分である場合、前記債権データ作成手段が、前記債権データを作成し、
前記本部売上データ中の前記店舗識別データと紐付き、かつ、前記計上日が属する前記適用対象期間と紐付く前記店舗マスタ中の前記区分が前記精算区分である場合、前記債務データ作成手段が、前記適用対象期間に属する前記売上日と紐付く前記店舗売上データ中の前記店舗売上金額の合算を前記合計額として有する前記債務データを作成すること、
を特徴とする請求項1に記載のデータ作成装置。
The headquarters sales data further includes a recording date that is a date on which the headquarters sales amount is recorded,
The store sales data further includes a sales date that is a date when sales at the store occur,
The store master further includes an application period that is a period to which the classification is applied,
When the section in the store master associated with the store identification data in the headquarters sales data and associated with the applicable period to which the accounting date belongs is the billing section, Create receivables data,
When the section in the store master associated with the store identification data in the headquarters sales data, and associated with the applicable period to which the accounting date belongs, is the settlement section, the debt data creating means includes Creating the debt data having the sum of the store sales amounts in the store sales data associated with the sales dates belonging to the applicable period as the total amount,
The data creation device according to claim 1, wherein:
前記制御部は、
前記債務明細データ中の前記合計額と前記相殺明細データ中の前記相殺金額との和を、前記本部の前記店舗に対する債務として支払う処理を実行する支払処理実行手段
を更に備えること、
を特徴とする請求項1または2に記載のデータ作成装置。
The control unit includes:
Payment processing executing 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 statement data as a debt to the store of the headquarters,
The data creation device according to claim 1, wherein:
前記本部売上金額が、前記フランチャイズ契約において前記店舗が前記本部に対して支払うべきロイヤリティまたは前記本部が前記店舗に対し提供したものの費用であること、
を特徴とする請求項1から3のいずれか1つに記載のデータ作成装置。
The headquarters sales amount is a royalty to be paid by the store to the headquarters in the franchise agreement or a cost of what the headquarters provided to the store.
The data creation device according to any one of claims 1 to 3, wherein:
制御部および記憶部を備える情報処理装置で実行されるデータ作成方法であって、
前記記憶部には、
フランチャイズ契約における店舗での売上金額である店舗売上金額を前記店舗で管理して、前記フランチャイズ契約の本部の前記店舗に対する売上金額である本部売上金額を前記本部が前記店舗に対して債権として請求することを意味する区分である請求区分および前記店舗売上金額をすべて前記本部に預けて、前記預けた店舗売上金額から前記本部売上金額を差し引いて精算した金額を前記本部が前記店舗に対して債務として支払うことを意味する区分である精算区分のいずれか一方の区分と、前記店舗を識別するための店舗識別データと、を含む店舗マスタと、
店舗識別データと本部売上金額とを含む、前記本部の前記店舗に対する売上に関するデータである本部売上データと、
店舗識別データと店舗売上金額とを含む、前記店舗での売上に関するデータである店舗売上データと、
が格納されており、
前記制御部で実行される、
前記本部売上データ中の前記店舗識別データと紐付く前記店舗マスタ中の前記区分が前記請求区分である場合、前記本部売上データ中の前記店舗識別データと当該店舗識別データと紐付く前記本部売上データ中の前記本部売上金額とを有する請求明細データを含む前記債権としての債権データを作成する債権データ作成ステップと、
前記本部売上データ中の前記店舗識別データと紐付く前記店舗マスタ中の前記区分が前記精算区分である場合、前記本部売上データ中の前記店舗識別データと当該店舗識別データと紐付く前記店舗売上データ中の前記店舗売上金額の合計額とを有する債務明細データおよび前記本部売上データ中の前記店舗識別データと当該店舗識別データと紐付く前記本部売上データ中の前記本部売上金額をマイナスで計上した金額であって前記債務明細データ中の前記合計額を相殺するための金額である相殺金額とを有する相殺明細データを含む前記債務としての債務データを作成する債務データ作成ステップと、
を含むこと、
を特徴とするデータ作成方法。
A data creation method executed by an information processing device including a control unit and a storage unit,
In the storage unit,
The store manages the store sales amount, which is the sales amount at the store in the franchise agreement, at the store, and the headquarters claims the store sales amount, which is the sales amount of the headquarters of the franchise contract, to the store as receivables. The headquarters as a liability to the store, by depositing the billing division and the store sales amount, which is a classification meaning that, with the headquarters, and subtracting the headquarters sales amount from the deposited store sales amount and adjusting the amount. A store master including any one of the settlement classes, which is a class that means to pay, and store identification data for identifying the store,
Headquarters sales data, which is data on sales of the headquarters to the store, including store identification data and headquarters sales amounts,
Including store identification data and store sales amount, store sales data that is data on sales at the store,
Is stored,
Executed by the control unit,
When the division in the store master associated with the store identification data in the headquarters sales data is the billing division, the headquarters sales data associated with the store identification data and the store identification data in the headquarters sales data Claim data creation step of creating claim data as the claim including claim statement data having the head office sales amount,
When the section in the store master associated with the store identification data in the headquarters sales data is the settlement section, 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 above-mentioned store sales amount and the store identification data in the headquarter sales data and the amount obtained by subtracting the head office sales amount in the head office sales data associated with the store identification data. Debt data creating step of creating debt data as the debt including offsetting 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 the following.
制御部および記憶部を備える情報処理装置に実行させるためのデータ作成プログラムであって、
前記記憶部には、
フランチャイズ契約における店舗での売上金額である店舗売上金額を前記店舗で管理して、前記フランチャイズ契約の本部の前記店舗に対する売上金額である本部売上金額を前記本部が前記店舗に対して債権として請求することを意味する区分である請求区分および前記店舗売上金額をすべて前記本部に預けて、前記預けた店舗売上金額から前記本部売上金額を差し引いて精算した金額を前記本部が前記店舗に対して債務として支払うことを意味する区分である精算区分のいずれか一方の区分と、前記店舗を識別するための店舗識別データと、を含む店舗マスタと、
店舗識別データと本部売上金額とを含む、前記本部の前記店舗に対する売上に関するデータである本部売上データと、
店舗識別データと店舗売上金額とを含む、前記店舗での売上に関するデータである店舗売上データと、
が格納されており、
前記制御部に実行させるための、
前記本部売上データ中の前記店舗識別データと紐付く前記店舗マスタ中の前記区分が前記請求区分である場合、前記本部売上データ中の前記店舗識別データと当該店舗識別データと紐付く前記本部売上データ中の前記本部売上金額とを有する請求明細データを含む前記債権としての債権データを作成する債権データ作成ステップと、
前記本部売上データ中の前記店舗識別データと紐付く前記店舗マスタ中の前記区分が前記精算区分である場合、前記本部売上データ中の前記店舗識別データと当該店舗識別データと紐付く前記店舗売上データ中の前記店舗売上金額の合計額とを有する債務明細データおよび前記本部売上データ中の前記店舗識別データと当該店舗識別データと紐付く前記本部売上データ中の前記本部売上金額をマイナスで計上した金額であって前記債務明細データ中の前記合計額を相殺するための金額である相殺金額とを有する相殺明細データを含む前記債務としての債務データを作成する債務データ作成ステップと、
を含むこと、
を特徴とするデータ作成プログラム。
A data creation program to be executed by an information processing device including a control unit and a storage unit,
In the storage unit,
The store manages the store sales amount, which is the sales amount at the store in the franchise agreement, at the store, and the headquarters claims the store sales amount, which is the sales amount of the headquarters of the franchise contract, to the store as receivables. The headquarters as a liability to the store, by depositing the billing division and the store sales amount, which is a classification meaning that, with the headquarters, and subtracting the headquarters sales amount from the deposited store sales amount and adjusting the amount. A store master including any one of the settlement classes, which is a class that means to pay, and store identification data for identifying the store,
Headquarters sales data, which is data on sales of the headquarters to the store, including store identification data and headquarters sales amounts,
Including store identification data and store sales amount, store sales data that is data on sales at the store,
Is stored,
For causing the control unit to execute,
When the division in the store master associated with the store identification data in the headquarters sales data is the billing division, the headquarters sales data associated with the store identification data and the store identification data in the headquarters sales data Claim data creation step of creating claim data as the claim including claim statement data having the head office sales amount,
When the division in the store master associated with the store identification data in the headquarters sales data is the settlement section, 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 and the store identification data in the headquarters sales data and the amount obtained by subtracting the headquarter sales amount in the headquarters sales data associated with the store identification data Debt data creating step of creating debt data as the debt including offsetting 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 the following.
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 true JP2020035275A (en) 2020-03-05
JP7117197B2 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
JP7117197B2 (en) 2022-08-12

Similar Documents

Publication Publication Date Title
JP7445713B2 (en) Allocation work support device, allocation work support method, and allocation work support program
JP2017168087A (en) Expense journalizing automatic generation device, expense journalizing automatic generation method, and expense journalizing automatic generation program
JP2018156406A (en) Sales data creating apparatus, sales data creating method, and program for creating sales data
JP7426460B2 (en) Journal data creation device, journal data creation method, and journal data creation program
JP7393492B2 (en) Advance payment management device, advance payment management method, and advance payment management program
JP7060951B2 (en) Rebate management device, rebate management method, and rebate management program
JP7460486B2 (en) Individual billing management device, individual billing management method, and individual billing management program
JP6850160B2 (en) Payroll processing device, payroll correction processing method, and payroll correction processing program
JP7117197B2 (en) Data creation device, data creation method and data creation program
JP2019061569A (en) Retroactive unit price correction device, retroactive unit price correction method, and retroactive unit price correction program
JP7360902B2 (en) Business support devices, business support methods, and business support programs
JP2018139053A (en) Amount data generation device, amount data generation method and amount data generation program
JP2022038391A (en) Contract management device, contract management method, and contract management program
JP7131936B2 (en) Common expense management device, common expense management method, and common expense management program
JP2018028843A (en) Debt and credit management device, debt and credit management method, and debt and credit management program
JP7426517B2 (en) Business support devices, business support programs, and business support methods
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
JP7186088B2 (en) Return settlement device, return settlement method, and return settlement program
JP7257573B2 (en) Project management device, project detail output method and project detail output program
JP2020004246A (en) Order status management device, order status management method, and order status management program
JP7445517B2 (en) Business support devices, business support methods, and business support programs
JP7328827B2 (en) Sales/Estimated Cost Calculation Device, Sales/Estimated Cost Calculation Method, and Sales/Estimated Cost Calculation Program
JP7257800B2 (en) Data collation device, data collation method, and data collation program
JP7064381B2 (en) Miscalculation confirmation business support device, miscalculation confirmation business support method and miscalculation confirmation business support 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