This commit is contained in:
admin
2026-01-17 11:08:57 +09:00
parent d8ec60629e
commit 6661c7ac89
10 changed files with 610 additions and 47 deletions

View File

@@ -0,0 +1,6 @@
-- =========================
-- 小口現金科目の追加
-- =========================
INSERT INTO accounts (account_code, account_name, account_type)
VALUES ('105', '小口現金', 'asset');

View File

@@ -43,9 +43,10 @@ INSERT INTO opening_balances (fiscal_year, account_id, opening_debit, opening_cr
(2025, (SELECT account_id FROM accounts WHERE account_code = '506'), 0, 669316),
-- 資本金601: 6,000,000貸方
(2025, (SELECT account_id FROM accounts WHERE account_code = '601'), 0, 6000000);
(2025, (SELECT account_id FROM accounts WHERE account_code = '601'), 0, 6000000),
-- 繰越利益剰余金602: 5,206,146 は自動計算されるため入力不要
-- 繰越利益剰余金602: 5,206,146(貸方)
(2025, (SELECT account_id FROM accounts WHERE account_code = '602'), 0, 5206146);
-- 確認用クエリ
SELECT