@rangka-os/create 0.5.0-alpha.21 → 0.5.0-alpha.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/template/base/modules/accounting/flows/gl_goods_receipt_post.rk +1 -0
- package/template/base/modules/coretax/module.rk +1 -1
- package/template/base/modules/coretax/print/coretax_faktur.rk +3 -0
- package/template/base/modules/coretax/print/rekap_ppn.html +160 -0
- package/template/base/modules/coretax/print/rekap_ppn.rk +27 -0
- package/template/base/modules/invoicing/flows/sales_invoice_credit_recheck.rk +1 -0
- package/template/base/modules/invoicing/models/sales_invoice.rk +28 -6
- package/template/base/modules/invoicing/models/sales_invoice_item.rk +1 -1
- package/template/base/modules/invoicing/module.rk +1 -1
- package/template/base/modules/outlet_sales/flows/moka_daily_sales.rk +1 -0
- package/template/base/modules/outlet_sales/flows/moka_transaction_staged.rk +1 -0
- package/template/base/modules/procurement/models/purchase_order.rk +1 -0
- package/template/base/modules/rental/flows/rental_booking_on_submit.rk +1 -0
- package/template/base/modules/rental/flows/rental_checkout_on_submit.rk +1 -0
- package/template/base/modules/rental/flows/rental_invoice_once.rk +1 -0
- package/template/base/modules/rental/flows/rental_return_on_submit.rk +1 -0
- package/template/base/modules/stock/flows/stock_negative_alert.rk +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rangka-os/create",
|
|
3
|
-
"version": "0.5.0-alpha.
|
|
3
|
+
"version": "0.5.0-alpha.23",
|
|
4
4
|
"description": "Start a Rangka OS project: npm create @rangka-os@latest my-shop",
|
|
5
5
|
"license": "Elastic-2.0",
|
|
6
6
|
"homepage": "https://rangka-os.github.io/rangka-os/guide/quick-start",
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# Generated by scripts/gen_accounting_flows.py; edit POSTINGS there, not this file.
|
|
3
3
|
name: gl_goods_receipt_post
|
|
4
4
|
label: {id: Jurnal terima barang}
|
|
5
|
+
description: {id: 'Saat penerimaan barang diajukan, nilainya otomatis masuk pembukuan: persediaan bertambah, dan utang belum ditagih ke pemasok tercatat.'}
|
|
5
6
|
on: goods_receipt.submitted
|
|
6
7
|
if: "app_installed('stock')"
|
|
7
8
|
steps:
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# (TaxInvoiceBulk) and the unified withholding slips the firm issues (BPPU, BpuBulk), checked before download.
|
|
4
4
|
# Decisions and sources: reports/keputusan-riset/09-pajak-coretax.md in the project folder.
|
|
5
5
|
name: coretax
|
|
6
|
-
version: 1.
|
|
6
|
+
version: 1.3.0
|
|
7
7
|
title: {id: Lapor pajak Coretax, en: Coretax tax filing}
|
|
8
8
|
summary:
|
|
9
9
|
id: Siapkan masa pajak dan berkas unduhan untuk lapor di Coretax.
|
|
@@ -35,6 +35,9 @@ related:
|
|
|
35
35
|
message: {id: 'Faktur ini mengganti faktur yang diajukan sebelum ekspor Coretax dipasang: buat faktur pajaknya langsung di Coretax'}
|
|
36
36
|
- check: origin_posting_date == '' || origin_posting_date >= doc.period_start
|
|
37
37
|
message: {id: 'Faktur ini mengganti faktur masa sebelumnya: buat Faktur Pengganti di Coretax, jangan diimpor'}
|
|
38
|
+
# audit coretax-rekap N5: a replacement dated back before the period of the invoice it replaces
|
|
39
|
+
- check: origin_posting_date == '' || origin_posting_date <= doc.period_end
|
|
40
|
+
message: {id: 'Faktur ini mengganti faktur masa sesudahnya: buat Faktur Pengganti di Coretax dengan tanggal faktur asal, jangan diimpor'}
|
|
38
41
|
- check: "efaktur_code == '' || items.map(i, i.qty * 100 - round(i.qty * 100) > 0.000001 || round(i.qty * 100) - i.qty * 100 > 0.000001 ? 1 : 0).sum() == 0"
|
|
39
42
|
message: {id: 'Jumlah barang di faktur pajak maksimal 2 desimal: pakai satuan yang lebih kecil (misalnya gram)'}
|
|
40
43
|
- check: efaktur_code == '' || buyer_id_type != 'Passport' || buyer_country != 'IDN'
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
{{define "style"}}
|
|
2
|
+
.sheet { display: flex; flex-direction: column; }
|
|
3
|
+
.summary { order: -1; }
|
|
4
|
+
.meta { margin: 0 0 4mm; }
|
|
5
|
+
.meta td { border: 0; padding: 0.5mm 3mm 0.5mm 0; }
|
|
6
|
+
table.rekap { margin: 2mm 0 5mm; font-size: 0.95em; }
|
|
7
|
+
table.rekap th { border-bottom: 1px solid #1C1917; color: #57534E; }
|
|
8
|
+
table.rekap tr.total td { border-top: 2px solid #1C1917; font-weight: 600; }
|
|
9
|
+
table.rekap tr.facility td { background: #F5F5F4; }
|
|
10
|
+
table.detail { font-size: 0.88em; }
|
|
11
|
+
.code { font-variant-numeric: tabular-nums; white-space: nowrap; }
|
|
12
|
+
.note { margin: 0 0 2mm; font-size: 0.92em; }
|
|
13
|
+
h2 { font-size: 1.05em; margin-top: 2mm; }
|
|
14
|
+
/* on a phone the tables scroll sideways inside their box; the page and its notes stay at screen width */
|
|
15
|
+
.scroll { overflow-x: auto; max-width: 100%; }
|
|
16
|
+
.scroll table.rekap { min-width: 560px; }
|
|
17
|
+
@media print { .scroll { overflow: visible; } .scroll table.rekap { min-width: 0; } }
|
|
18
|
+
{{end}}
|
|
19
|
+
{{template "letterhead" .}}
|
|
20
|
+
<h1>Rekap PPN keluaran masa {{.Doc.month}}/{{.Doc.year}}</h1>
|
|
21
|
+
<table class="meta">
|
|
22
|
+
<tr><td>NPWP usaha</td><td>: {{.Doc.seller_tin}}</td></tr>
|
|
23
|
+
<tr><td>Untuk</td><td>: SPT Masa PPN dan pencocokan dengan XML Faktur Keluaran (Coretax)</td></tr>
|
|
24
|
+
</table>
|
|
25
|
+
{{- /* One pass over the invoices: the detail rows render in order, the summary renders after them (it needs the totals)
|
|
26
|
+
and CSS moves it above (.summary order -1). Per faktur pajak the DPP, DPP nilai lain and PPN are the coretax_faktur
|
|
27
|
+
XML's own: the same line split, rounding and rate (coretax_vat_rate for 07/08), so the rekap adds up to the file. */}}
|
|
28
|
+
{{- $ac := "0"}}{{$at := "0"}}{{$ao := "0"}}{{$av := "0"}}{{$ap := "0"}}
|
|
29
|
+
{{- $bc := "0"}}{{$bt := "0"}}{{$bo := "0"}}{{$bv := "0"}}{{$bp := "0"}}
|
|
30
|
+
{{- $cc := "0"}}{{$ct := "0"}}{{$co := "0"}}{{$cv := "0"}}{{$cp := "0"}}
|
|
31
|
+
{{- $dc := "0"}}{{$dt := "0"}}{{$do := "0"}}{{$dv := "0"}}{{$dp := "0"}}
|
|
32
|
+
{{- $ec := "0"}}{{$et := "0"}}{{$fc := "0"}}{{$ft := "0"}}{{$gc := "0"}}{{$gt := "0"}}{{$gp := "0"}}{{$hc := "0"}}{{$ht := "0"}}
|
|
33
|
+
{{- $pc := "0"}}{{$pt := "0"}}{{$pp := "0"}}{{$zc := "0"}}{{$zt := "0"}}
|
|
34
|
+
<div class="sheet">
|
|
35
|
+
<section class="detail-block">
|
|
36
|
+
<h2>Rincian per faktur</h2>
|
|
37
|
+
<div class="scroll"><table class="rekap detail">
|
|
38
|
+
<thead><tr><th>No. faktur</th><th>Tanggal</th><th>Kode</th><th class="num">DPP</th><th class="num">DPP nilai lain</th><th class="num">PPN di faktur pajak</th><th class="num">PPN ditagih (buku)</th></tr></thead>
|
|
39
|
+
<tbody>
|
|
40
|
+
{{- range $inv := .Related.invoices}}
|
|
41
|
+
{{- $c := .efaktur_code}}
|
|
42
|
+
{{- $tb0 := .dpp}}{{$otb0 := "0"}}{{$vat0 := "0"}}
|
|
43
|
+
{{- /* in the XML exactly when coretax_faktur's filter takes it: 07/08, or a code with PPN charged (audit rekap F1: a coded
|
|
44
|
+
invoice with ppn 0, wages only under PPN on the fee or a settlement the down payment covers, is not a faktur pajak) */}}
|
|
45
|
+
{{- $inx := or (eq $c "07") (eq $c "08") (and $c .ppn)}}
|
|
46
|
+
{{- if $inx}}
|
|
47
|
+
{{- $fx := and .currency (ne .currency "IDR")}}
|
|
48
|
+
{{- $pb := .dpp}}{{if .ppn_base}}{{$pb = .ppn_base}}{{end}}
|
|
49
|
+
{{- $fee := ne (dec $pb 2) (dec .dpp 2)}}
|
|
50
|
+
{{- $vr := .tax_rate}}{{if .coretax_vat_rate}}{{$vr = .coretax_vat_rate}}{{end}}
|
|
51
|
+
{{- $s := "0"}}{{$n := "0"}}{{range .items}}{{if not (and $fee .ppn_exclude)}}{{$n = add $n 1}}{{if $fx}}{{$s = add $s .amount_fx_idr}}{{else}}{{$s = add $s .amount}}{{end}}{{end}}{{end}}
|
|
52
|
+
{{- $r := sub $s $pb}}{{$k := "0"}}{{$acc := "0"}}
|
|
53
|
+
{{- range $l := .items}}{{if not (and $fee $l.ppn_exclude)}}{{$k = add $k 1}}
|
|
54
|
+
{{- $b := $l.amount}}{{if $fx}}{{$b = $l.amount_fx_idr}}{{end}}
|
|
55
|
+
{{- $tb := round (sub $b (div (mul $r $b) $s)) 2}}{{if eq $k $n}}{{$tb = sub $pb $acc}}{{end}}{{$acc = add $acc $tb}}
|
|
56
|
+
{{- $otb := round (div (mul $tb $inv.dpp_num) $inv.dpp_den) 2}}
|
|
57
|
+
{{- $otb0 = add $otb0 $otb}}{{$vat0 = add $vat0 (round (div (mul $otb $vr) 100) 2)}}
|
|
58
|
+
{{- end}}{{end}}
|
|
59
|
+
{{- $tb0 = $acc}}
|
|
60
|
+
{{- end}}
|
|
61
|
+
{{- /* an invoice whose chain started in another period belongs to that period's rekap: with a faktur pajak it is a Faktur
|
|
62
|
+
Pengganti (pembetulan of the original period), without one (export, Pasal 4A, PPN 0) it is counted there in its
|
|
63
|
+
own group (audit rekap F3); that period's rekap lists it under replacements */}}
|
|
64
|
+
{{- $old := and .origin_posting_date (or (lt .origin_posting_date $.Doc.period_start) (gt .origin_posting_date $.Doc.period_end))}}
|
|
65
|
+
{{- $g := ""}}
|
|
66
|
+
{{- if and $old $inx}}{{$g = "P"}}{{$pc = add $pc 1}}{{$pt = add $pt $tb0}}{{$pp = add $pp .ppn}}
|
|
67
|
+
{{- else if $old}}{{$g = "X"}}
|
|
68
|
+
{{- else if or (eq $c "02") (eq $c "03")}}{{$g = "B"}}{{$bc = add $bc 1}}{{$bt = add $bt $tb0}}{{$bo = add $bo $otb0}}{{$bv = add $bv $vat0}}{{$bp = add $bp .ppn}}
|
|
69
|
+
{{- else if eq $c "07"}}{{$g = "C"}}{{$cc = add $cc 1}}{{$ct = add $ct $tb0}}{{$co = add $co $otb0}}{{$cv = add $cv $vat0}}{{$cp = add $cp .ppn}}
|
|
70
|
+
{{- else if eq $c "08"}}{{$g = "D"}}{{$dc = add $dc 1}}{{$dt = add $dt $tb0}}{{$do = add $do $otb0}}{{$dv = add $dv $vat0}}{{$dp = add $dp .ppn}}
|
|
71
|
+
{{- else if $inx}}{{$g = "A"}}{{$ac = add $ac 1}}{{$at = add $at $tb0}}{{$ao = add $ao $otb0}}{{$av = add $av $vat0}}{{$ap = add $ap .ppn}}
|
|
72
|
+
{{- else if $c}}{{$g = "Z"}}{{$zc = add $zc 1}}{{$zt = add $zt .dpp}}
|
|
73
|
+
{{- else if .ppn}}{{$g = "G"}}{{$gc = add $gc 1}}{{$gt = add $gt .dpp}}{{$gp = add $gp .ppn}}
|
|
74
|
+
{{- else if eq .tax_rate_reason "export"}}{{$g = "E"}}{{$ec = add $ec 1}}{{$et = add $et .dpp}}
|
|
75
|
+
{{- else if eq .tax_rate_reason "not_taxable"}}{{$g = "F"}}{{$fc = add $fc 1}}{{$ft = add $ft .dpp}}
|
|
76
|
+
{{- else}}{{$g = "H"}}{{$hc = add $hc 1}}{{$ht = add $ht .dpp}}{{end}}
|
|
77
|
+
<tr data-invoice="{{.name}}" data-group="{{$g}}">
|
|
78
|
+
<td>{{.name}}</td>
|
|
79
|
+
<td>{{date .posting_date}}</td>
|
|
80
|
+
<td class="code">{{if eq $g "X"}}di masa {{date .origin_posting_date}}{{else if $c}}{{$c}}{{else if eq $g "E"}}ekspor{{else if eq $g "F"}}4A{{else}}-{{end}}</td>
|
|
81
|
+
<td class="num">{{number $tb0 2}}</td>
|
|
82
|
+
<td class="num">{{if $inx}}{{number $otb0 2}}{{end}}</td>
|
|
83
|
+
<td class="num">{{if $inx}}{{number $vat0 2}}{{end}}</td>
|
|
84
|
+
<td class="num">{{number .ppn 2}}</td>
|
|
85
|
+
</tr>
|
|
86
|
+
{{- else}}
|
|
87
|
+
<tr><td colspan="7" class="muted">Belum ada faktur penjualan yang diajukan di masa ini.</td></tr>
|
|
88
|
+
{{- end}}
|
|
89
|
+
</tbody>
|
|
90
|
+
</table></div>
|
|
91
|
+
{{if .Truncated.invoices}}<p class="note"><strong>Daftar dipotong:</strong> hanya 1.000 faktur pertama yang dihitung, jadi rekap di atas lebih kecil dari yang sebenarnya.</p>{{end}}
|
|
92
|
+
{{- /* audit rekap F2/F3: an invoice of this period cancelled and replaced in another period. With a faktur pajak (the
|
|
93
|
+
XML's own test: 07/08, or a code with PPN) its Faktur Pengganti goes to this period's pembetulan and is listed with its
|
|
94
|
+
amounts; without one it is counted here in its group (export, Pasal 4A, PPN 0), where the original was */}}
|
|
95
|
+
{{- $rn := "0"}}{{$rc := "0"}}{{$rt := "0"}}{{$rp := "0"}}
|
|
96
|
+
{{- range .Related.replacements}}{{$pd := isodate .posting_date}}{{if or (gt $pd $.Doc.period_end) (lt $pd $.Doc.period_start)}}
|
|
97
|
+
{{- $c := .efaktur_code}}{{$inx := or (eq $c "07") (eq $c "08") (and $c .ppn)}}
|
|
98
|
+
{{- if eq $rn "0"}}
|
|
99
|
+
<h2>Faktur yang diganti di masa lain</h2>
|
|
100
|
+
<p class="note">Faktur asalnya di masa ini sudah dibatalkan dan diganti dengan tanggal di masa lain. Yang punya faktur pajak: buat Faktur Pengganti di Coretax dan masukkan ke pembetulan SPT masa ini. Yang tidak punya faktur pajak dihitung di kelompoknya di rekap masa ini; bila faktur asalnya dulu sudah punya faktur pajak di Coretax, batalkan faktur pajak itu. DPP yang tercantum adalah DPP faktur pajak (tanpa upah bila PPN hanya atas fee).</p>
|
|
101
|
+
<div class="scroll"><table class="rekap detail">
|
|
102
|
+
<thead><tr><th>No. faktur</th><th>Tanggal faktur asal</th><th>Tanggal pengganti</th><th>Kode</th><th class="num">DPP</th><th class="num">PPN ditagih (buku)</th><th>Dihitung sebagai</th></tr></thead>
|
|
103
|
+
<tbody>
|
|
104
|
+
{{- end}}
|
|
105
|
+
{{- /* the faktur pajak's DPP is the PPN base where it is set (PPN on the fee only: wages stay off the faktur, audit rekap F4),
|
|
106
|
+
as in the XML and in group P of the period it is dated in */}}
|
|
107
|
+
{{- $rb := .dpp}}{{if and $inx .ppn_base}}{{$rb = .ppn_base}}{{end}}
|
|
108
|
+
{{- $rn = add $rn 1}}{{$rg := "R"}}
|
|
109
|
+
{{- if $inx}}{{$rc = add $rc 1}}{{$rt = add $rt $rb}}{{$rp = add $rp .ppn}}
|
|
110
|
+
{{- else if $c}}{{$rg = "Z"}}{{$zc = add $zc 1}}{{$zt = add $zt .dpp}}
|
|
111
|
+
{{- else if .ppn}}{{$rg = "G"}}{{$gc = add $gc 1}}{{$gt = add $gt .dpp}}{{$gp = add $gp .ppn}}
|
|
112
|
+
{{- else if eq .tax_rate_reason "export"}}{{$rg = "E"}}{{$ec = add $ec 1}}{{$et = add $et .dpp}}
|
|
113
|
+
{{- else if eq .tax_rate_reason "not_taxable"}}{{$rg = "F"}}{{$fc = add $fc 1}}{{$ft = add $ft .dpp}}
|
|
114
|
+
{{- else}}{{$rg = "H"}}{{$hc = add $hc 1}}{{$ht = add $ht .dpp}}{{end}}
|
|
115
|
+
<tr data-replacement="{{.name}}" data-group="{{$rg}}"><td>{{.name}}</td><td>{{date .origin_posting_date}}</td><td>{{date .posting_date}}</td><td class="code">{{if $c}}{{$c}}{{else}}-{{end}}</td><td class="num">{{number $rb 2}}</td><td class="num">{{number .ppn 2}}</td><td>{{if eq $rg "R"}}Faktur Pengganti atau faktur pajak{{else if eq $rg "E"}}Ekspor{{else if eq $rg "F"}}Bukan objek PPN{{else if eq $rg "Z"}}Bertarif, PPN 0{{else if eq $rg "G"}}PPN tanpa kode faktur pajak{{else}}Tarif 0 lain{{end}}</td></tr>
|
|
116
|
+
{{- end}}{{end}}
|
|
117
|
+
{{- if ne $rn "0"}}
|
|
118
|
+
<tr class="total" data-group="R" data-count="{{dec $rc 0}}" data-dpp="{{dec $rt 2}}" data-ppn="{{dec $rp 2}}"><td colspan="4">Jumlah Faktur Pengganti untuk pembetulan masa ini</td><td class="num">{{number $rt 2}}</td><td class="num">{{number $rp 2}}</td><td></td></tr>
|
|
119
|
+
</tbody>
|
|
120
|
+
</table></div>
|
|
121
|
+
{{- end}}
|
|
122
|
+
{{if .Truncated.replacements}}<p class="note"><strong>Daftar faktur pengganti dipotong:</strong> hanya 1.000 faktur pertama yang dihitung.</p>{{end}}
|
|
123
|
+
</section>
|
|
124
|
+
|
|
125
|
+
<section class="summary">
|
|
126
|
+
<h2>Penyerahan dengan faktur pajak (XML Faktur Keluaran)</h2>
|
|
127
|
+
<div class="scroll"><table class="rekap">
|
|
128
|
+
<thead><tr><th>Kelompok</th><th class="num">Faktur</th><th class="num">DPP</th><th class="num">DPP nilai lain</th><th class="num">PPN di faktur pajak</th><th class="num">PPN ditagih (buku)</th></tr></thead>
|
|
129
|
+
<tbody>
|
|
130
|
+
<tr data-group="A" data-count="{{dec $ac 0}}" data-dpp="{{dec $at 2}}" data-otb="{{dec $ao 2}}" data-vat="{{dec $av 2}}" data-ppn="{{dec $ap 2}}">
|
|
131
|
+
<td>PPN dipungut sendiri (kode 01, 04)</td><td class="num">{{dec $ac 0}}</td><td class="num">{{number $at 2}}</td><td class="num">{{number $ao 2}}</td><td class="num">{{number $av 2}}</td><td class="num">{{number $ap 2}}</td></tr>
|
|
132
|
+
<tr data-group="B" data-count="{{dec $bc 0}}" data-dpp="{{dec $bt 2}}" data-otb="{{dec $bo 2}}" data-vat="{{dec $bv 2}}" data-ppn="{{dec $bp 2}}">
|
|
133
|
+
<td>PPN dipungut pemungut (kode 02, 03)</td><td class="num">{{dec $bc 0}}</td><td class="num">{{number $bt 2}}</td><td class="num">{{number $bo 2}}</td><td class="num">{{number $bv 2}}</td><td class="num">{{number $bp 2}}</td></tr>
|
|
134
|
+
<tr class="facility" data-group="C" data-count="{{dec $cc 0}}" data-dpp="{{dec $ct 2}}" data-otb="{{dec $co 2}}" data-vat="{{dec $cv 2}}" data-ppn="{{dec $cp 2}}">
|
|
135
|
+
<td>PPN tidak dipungut (kode 07)</td><td class="num">{{dec $cc 0}}</td><td class="num">{{number $ct 2}}</td><td class="num">{{number $co 2}}</td><td class="num">{{number $cv 2}}</td><td class="num">{{number $cp 2}}</td></tr>
|
|
136
|
+
<tr class="facility" data-group="D" data-count="{{dec $dc 0}}" data-dpp="{{dec $dt 2}}" data-otb="{{dec $do 2}}" data-vat="{{dec $dv 2}}" data-ppn="{{dec $dp 2}}">
|
|
137
|
+
<td>PPN dibebaskan (kode 08)</td><td class="num">{{dec $dc 0}}</td><td class="num">{{number $dt 2}}</td><td class="num">{{number $do 2}}</td><td class="num">{{number $dv 2}}</td><td class="num">{{number $dp 2}}</td></tr>
|
|
138
|
+
{{- $tc := add $ac $bc $cc $dc}}{{$tt := add $at $bt $ct $dt}}{{$to := add $ao $bo $co $do}}{{$tv := add $av $bv $cv $dv}}{{$tp := add $ap $bp $cp $dp}}
|
|
139
|
+
<tr class="total" data-group="total" data-count="{{dec $tc 0}}" data-dpp="{{dec $tt 2}}" data-otb="{{dec $to 2}}" data-vat="{{dec $tv 2}}" data-ppn="{{dec $tp 2}}">
|
|
140
|
+
<td>Jumlah di XML Faktur Keluaran</td><td class="num">{{dec $tc 0}}</td><td class="num">{{number $tt 2}}</td><td class="num">{{number $to 2}}</td><td class="num">{{number $tv 2}}</td><td class="num">{{number $tp 2}}</td></tr>
|
|
141
|
+
</tbody>
|
|
142
|
+
</table></div>
|
|
143
|
+
<p class="note"><strong>PPN yang kamu pungut dan setor sendiri:</strong> Rp {{number $ap 2}} (kode 01, 04, sebelum dikurangi PPN masukan). PPN kode 02 dan 03 dipungut dan disetor pembeli pemungut.</p>
|
|
144
|
+
<p class="note"><strong>Kode 07 dan 08 tidak ditagih:</strong> faktur pajaknya mencantumkan PPN Rp {{number (add $cv $dv) 2}} (tarif PPN usaha atas DPP nilai lain), tetapi pembeli tidak membayarnya dan buku mencatat PPN 0. Di SPT Masa PPN angka ini masuk penyerahan yang PPN-nya tidak dipungut (07) atau dibebaskan (08), bukan PPN yang harus disetor. Selisih XML dengan buku sebesar itu memang seharusnya ada.</p>
|
|
145
|
+
|
|
146
|
+
<h2>Penyerahan tanpa faktur pajak di XML</h2>
|
|
147
|
+
<div class="scroll"><table class="rekap">
|
|
148
|
+
<thead><tr><th>Kelompok</th><th class="num">Faktur</th><th class="num">DPP</th><th class="num">PPN ditagih (buku)</th><th>Dilaporkan lewat</th></tr></thead>
|
|
149
|
+
<tbody>
|
|
150
|
+
<tr data-group="E" data-count="{{dec $ec 0}}" data-dpp="{{dec $et 2}}"><td>Ekspor BKP/JKP (tarif 0)</td><td class="num">{{dec $ec 0}}</td><td class="num">{{number $et 2}}</td><td class="num">0,00</td><td>PEB atau dokumen ekspor, bukan faktur keluaran</td></tr>
|
|
151
|
+
<tr data-group="F" data-count="{{dec $fc 0}}" data-dpp="{{dec $ft 2}}"><td>Bukan objek PPN (Pasal 4A)</td><td class="num">{{dec $fc 0}}</td><td class="num">{{number $ft 2}}</td><td class="num">0,00</td><td>Tidak dilaporkan di SPT Masa PPN</td></tr>
|
|
152
|
+
<tr data-group="Z" data-count="{{dec $zc 0}}" data-dpp="{{dec $zt 2}}"><td>Bertarif PPN tetapi PPN 0 (mis. upah saja atau lunas oleh uang muka)</td><td class="num">{{dec $zc 0}}</td><td class="num">{{number $zt 2}}</td><td class="num">0,00</td><td>Tidak ada faktur pajak; PPN-nya sudah di faktur uang muka atau tidak ada</td></tr>
|
|
153
|
+
<tr data-group="G" data-count="{{dec $gc 0}}" data-dpp="{{dec $gt 2}}" data-ppn="{{dec $gp 2}}"><td>Ditagih PPN tanpa kode faktur pajak</td><td class="num">{{dec $gc 0}}</td><td class="num">{{number $gt 2}}</td><td class="num">{{number $gp 2}}</td><td>Buat faktur pajaknya langsung di Coretax</td></tr>
|
|
154
|
+
<tr data-group="H" data-count="{{dec $hc 0}}" data-dpp="{{dec $ht 2}}"><td>Tarif 0 lain (usaha belum PKP, tanpa dasar, atau fasilitas belum dipilih)</td><td class="num">{{dec $hc 0}}</td><td class="num">{{number $ht 2}}</td><td class="num">0,00</td><td>Periksa status PKP dan dasar tarif 0</td></tr>
|
|
155
|
+
<tr data-group="P" data-count="{{dec $pc 0}}" data-dpp="{{dec $pt 2}}" data-ppn="{{dec $pp 2}}"><td>Faktur Pengganti untuk faktur masa lain</td><td class="num">{{dec $pc 0}}</td><td class="num">{{number $pt 2}}</td><td class="num">{{number $pp 2}}</td><td>Faktur Pengganti di Coretax dan pembetulan SPT masa asalnya</td></tr>
|
|
156
|
+
</tbody>
|
|
157
|
+
</table></div>
|
|
158
|
+
<p class="note muted">Tidak termasuk: penjualan kasir eceran tanpa identitas pembeli (dilaporkan sebagai digunggung), faktur retensi, faktur yang dibatalkan, dan PPN masukan (dikreditkan dari data Coretax).</p>
|
|
159
|
+
</section>
|
|
160
|
+
</div>
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# yaml-language-server: $schema=https://rangka-os.github.io/rangka-os/schema/0.5/print.json
|
|
2
|
+
# Rekap PPN keluaran of the period for the SPT Masa PPN (card t_ff34b55d): every submitted sales invoice dated in the
|
|
3
|
+
# period, grouped the way the SPT asks, with the DPP, DPP nilai lain and PPN that the Coretax XML (coretax_faktur) states
|
|
4
|
+
# next to the PPN the invoice books. 07 (tidak dipungut) and 08 (dibebaskan) state PPN on the faktur pajak that is never
|
|
5
|
+
# billed (the books hold ppn 0), so they stand apart from the PPN the firm collects (audit coretax-07-08, butir 7).
|
|
6
|
+
# Retention invoices carry no PPN of their own and are out, as in the XML.
|
|
7
|
+
name: rekap_ppn
|
|
8
|
+
model: tax_period
|
|
9
|
+
label: {id: Rekap PPN keluaran (SPT Masa PPN)}
|
|
10
|
+
paper: A4
|
|
11
|
+
template: rekap_ppn.html
|
|
12
|
+
related:
|
|
13
|
+
invoices:
|
|
14
|
+
model: sales_invoice
|
|
15
|
+
range: {posting_date: [period_start, period_end]}
|
|
16
|
+
filter: "docstatus == 1 && kind != 'retention'"
|
|
17
|
+
sort: name
|
|
18
|
+
children: true
|
|
19
|
+
limit: 1000
|
|
20
|
+
# audit rekap F2: invoices whose chain started in this period but that were submitted in a later one (a replacement
|
|
21
|
+
# of a cancelled invoice of this period): their Faktur Pengganti belongs to this period's SPT
|
|
22
|
+
replacements:
|
|
23
|
+
model: sales_invoice
|
|
24
|
+
range: {origin_posting_date: [period_start, period_end]}
|
|
25
|
+
filter: "docstatus == 1 && kind != 'retention'"
|
|
26
|
+
sort: name
|
|
27
|
+
limit: 1000
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# yaml-language-server: $schema=https://rangka-os.github.io/rangka-os/schema/0.5/flow.json
|
|
2
2
|
name: sales_invoice_credit_recheck
|
|
3
3
|
label: {id: Cek ulang batas kredit faktur}
|
|
4
|
+
description: {id: 'Saat faktur diajukan, utang pelanggan dihitung ulang. Kalau ternyata melewati batas kredit karena faktur lain diajukan bersamaan, pengajuan dibatalkan. Ajukan lagi untuk melihat peringatannya.'}
|
|
4
5
|
# Inside an invoice's submit (t_561e44ec). Rule credit_limit warns before any lock (contract 0025 §5), so two invoices
|
|
5
6
|
# of one customer submitted at the same moment each saw the other's room and neither warned. The ledger hook has
|
|
6
7
|
# locked and updated the customer row by now, so its outstanding includes every invoice committed meanwhile and this
|
|
@@ -155,7 +155,11 @@ fields:
|
|
|
155
155
|
depends_on: tax_rate == 0 && (tax_rate_reason == 'exempt' || tax_rate_reason == 'not_collected')
|
|
156
156
|
read_only_for: [sales_manager, sales_rep, field_sales, head_office, project_admin]
|
|
157
157
|
options:
|
|
158
|
-
|
|
158
|
+
# PP 49/2022 (since 12 Dec 2022) replaced PP 81/2015 jo PP 48/2020 for BKP strategis: goods and services take the
|
|
159
|
+
# same 08 pair TD.00510 / TD.01110 (Kring Pajak for beras); the template's PP 81/2015 stamp TD.01108 is a revoked
|
|
160
|
+
# ground, so it is not offered (card t_a5ae7d89, reports/keputusan-riset/coretax-fasilitas-07-08.md)
|
|
161
|
+
- {value: education_pp49, label: {id: 'Dibebaskan: jasa tertentu PP 49/2022, mis. pendidikan, kesehatan medis, pelayanan sosial (kode 08)'}}
|
|
162
|
+
- {value: goods_pp49, label: {id: 'Dibebaskan: barang tertentu PP 49/2022, mis. beras dan bahan pokok, ternak, bibit, pakan, air bersih (kode 08)'}}
|
|
159
163
|
- {value: bonded_zone, label: {id: 'Tidak dipungut: tempat penimbunan berikat (kode 07)'}}
|
|
160
164
|
- {value: special_economic_zone, label: {id: 'Tidak dipungut: kawasan ekonomi khusus, PP 40/2021 (kode 07)'}}
|
|
161
165
|
- {value: free_zone, label: {id: 'Tidak dipungut: kawasan bebas, PP 41/2021 (kode 07)'}}
|
|
@@ -181,12 +185,12 @@ fields:
|
|
|
181
185
|
label: {id: Keterangan tambahan faktur pajak}
|
|
182
186
|
depends_on: app_installed('coretax') && coretax_facility != ''
|
|
183
187
|
# only on a 07/08 faktur: a facility left on a draft whose rate was raised is ignored (audit coretax-07-08 F1)
|
|
184
|
-
compute: "efaktur_code != '07' && efaktur_code != '08' ? '' : coretax_facility == 'education_pp49' ? 'TD.00510' : (coretax_facility == 'bonded_zone' ? 'TD.00502' : (coretax_facility == 'special_economic_zone' ? 'TD.00517' : (coretax_facility == 'free_zone' ? 'TD.00518' : '')))"
|
|
188
|
+
compute: "efaktur_code != '07' && efaktur_code != '08' ? '' : coretax_facility == 'education_pp49' || coretax_facility == 'goods_pp49' ? 'TD.00510' : (coretax_facility == 'bonded_zone' ? 'TD.00502' : (coretax_facility == 'special_economic_zone' ? 'TD.00517' : (coretax_facility == 'free_zone' ? 'TD.00518' : '')))"
|
|
185
189
|
- name: coretax_stamp
|
|
186
190
|
type: data
|
|
187
191
|
label: {id: Cap fasilitas faktur pajak}
|
|
188
192
|
depends_on: app_installed('coretax') && coretax_facility != ''
|
|
189
|
-
compute: "efaktur_code != '07' && efaktur_code != '08' ? '' : coretax_facility == 'education_pp49' ? 'TD.01110' : (coretax_facility == 'bonded_zone' ? 'TD.01102' : (coretax_facility == 'special_economic_zone' ? 'TD.01117' : (coretax_facility == 'free_zone' ? 'TD.01118' : '')))"
|
|
193
|
+
compute: "efaktur_code != '07' && efaktur_code != '08' ? '' : coretax_facility == 'education_pp49' || coretax_facility == 'goods_pp49' ? 'TD.01110' : (coretax_facility == 'bonded_zone' ? 'TD.01102' : (coretax_facility == 'special_economic_zone' ? 'TD.01117' : (coretax_facility == 'free_zone' ? 'TD.01118' : '')))"
|
|
190
194
|
- {name: dpp_num, type: int, label: {id: DPP nilai lain (pembilang)}, default: 'tax.dpp_num', read_only_for: [sales_manager, sales_rep, field_sales, head_office, project_admin]}
|
|
191
195
|
- {name: dpp_den, type: int, label: {id: DPP nilai lain (penyebut)}, default: 'tax.dpp_den', read_only_for: [sales_manager, sales_rep, field_sales, head_office, project_admin]}
|
|
192
196
|
# The PPN base: the DPP, or with config tax.ppn_fee_only (kernel contract 0010 §8, default off) the fee part of it:
|
|
@@ -292,7 +296,9 @@ fields:
|
|
|
292
296
|
type: text
|
|
293
297
|
label: {id: Catatan untuk pelanggan}
|
|
294
298
|
- {name: currency, type: data, label: {id: Mata uang}, default: "'IDR'"}
|
|
295
|
-
|
|
299
|
+
# IDR per 1 unit of the foreign currency; line `rate` stays the unit price. On a PKP invoice the submit waits for finance
|
|
300
|
+
# (approval fx_rate_check): PPN is assessed at the KMK kurs (PP 44/2022 art. 21).
|
|
301
|
+
- {name: exchange_rate, type: float, label: {id: Kurs}, default: '1', help: {id: 'Rupiah per 1 unit valas. PPN memakai kurs Menteri Keuangan (KMK) minggu tanggal faktur; bagian keuangan memeriksanya.'}}
|
|
296
302
|
- {name: subtotal_fx, type: money, currency_field: currency, rate_field: exchange_rate, label: {id: Subtotal (valas)}, compute: "sum(items.map(i, i.amount_fx))"}
|
|
297
303
|
# Adjustments (discount_amount, down_payment) are entered in rupiah only, also on a foreign document: the ledger, the DP checks
|
|
298
304
|
# and PPN read the IDR fields. Their foreign twins are derived here (IDR / exchange_rate), never entered.
|
|
@@ -485,8 +491,8 @@ rules:
|
|
|
485
491
|
message: {id: 'PPN dibebaskan atau tidak dipungut: pilih fasilitasnya (untuk kode dan cap fasilitas faktur pajak)'}
|
|
486
492
|
- name: facility_matches_reason
|
|
487
493
|
on: save
|
|
488
|
-
check: "coretax_facility == '' || tax_rate > 0 || (coretax_facility == 'education_pp49' ? tax_rate_reason == 'exempt' : tax_rate_reason == 'not_collected')"
|
|
489
|
-
message: {id: 'Fasilitas tidak cocok dengan dasar tarif 0: jasa
|
|
494
|
+
check: "coretax_facility == '' || tax_rate > 0 || (coretax_facility == 'education_pp49' || coretax_facility == 'goods_pp49' ? tax_rate_reason == 'exempt' : tax_rate_reason == 'not_collected')"
|
|
495
|
+
message: {id: 'Fasilitas tidak cocok dengan dasar tarif 0: jasa dan barang tertentu PP 49/2022 dibebaskan, kawasan berikat/KEK/kawasan bebas tidak dipungut'}
|
|
490
496
|
- name: customs_doc_period_format
|
|
491
497
|
on: save
|
|
492
498
|
check: "customs_doc == '' || customs_doc_period.matches('^(0[1-9]|1[0-2])[0-9]{4}$')"
|
|
@@ -571,6 +577,22 @@ approvals:
|
|
|
571
577
|
when: "tax.pkp && kind != 'retention' && (tax_rate != tax.ppn_rate || dpp_num * tax.dpp_den != tax.dpp_num * dpp_den)"
|
|
572
578
|
approvers: [finance_manager]
|
|
573
579
|
label: {id: 'Tarif PPN atau DPP berbeda dari pengaturan pajak: perlu persetujuan keuangan', en: 'PPN rate or DPP differs from the tax settings: finance approval'}
|
|
580
|
+
# The PPN base is finance's too (cards t_98c8d504, t_aeea3903; audit invoice-tax-lock F3/F6). A field lock is not
|
|
581
|
+
# enough: ppn_exclude comes from orders, deliveries, payroll and amend copies, and a sales_manager must still draft a
|
|
582
|
+
# foreign invoice with its kurs. So the submit waits for finance instead; finance and the owner approve their own.
|
|
583
|
+
# - wages left out of the PPN base (tax.ppn_fee_only, PMK 83/2012): a ticked line shrinks ppn_base
|
|
584
|
+
- name: ppn_base_excludes
|
|
585
|
+
on: submit
|
|
586
|
+
when: "tax.pkp && kind != 'retention' && 'ppn_fee_only' in tax && tax.ppn_fee_only && items.map(i, i.ppn_exclude == true ? 1 : 0).sum() > 0"
|
|
587
|
+
approvers: [finance_manager]
|
|
588
|
+
label: {id: 'Ada baris upah di luar dasar PPN: perlu persetujuan keuangan', en: 'Wage lines left out of the PPN base: finance approval'}
|
|
589
|
+
# - a foreign invoice: DPP and PPN in rupiah follow its kurs, which must be the Kurs Menteri Keuangan (KMK, weekly)
|
|
590
|
+
# in force when the faktur pajak is due (PP 44/2022 art. 21); finance checks it against the KMK of that week
|
|
591
|
+
- name: fx_rate_check
|
|
592
|
+
on: submit
|
|
593
|
+
when: "tax.pkp && kind != 'retention' && currency != '' && currency != 'IDR'"
|
|
594
|
+
approvers: [finance_manager]
|
|
595
|
+
label: {id: 'Faktur valas: kurs pajak (KMK) perlu diperiksa keuangan', en: 'Foreign-currency invoice: finance checks the tax rate (KMK)'}
|
|
574
596
|
|
|
575
597
|
views:
|
|
576
598
|
list:
|
|
@@ -48,7 +48,7 @@ fields:
|
|
|
48
48
|
- name: ppn_exclude
|
|
49
49
|
type: check
|
|
50
50
|
label: {id: Upah tenaga kerja (di luar dasar PPN)}
|
|
51
|
-
help: {id: 'Centang untuk baris upah pekerja yang dirinci terpisah
|
|
51
|
+
help: {id: 'Centang untuk baris upah pekerja yang dirinci terpisah (bila PPN atas fee). Bagian keuangan memeriksa faktur ini.'}
|
|
52
52
|
default: 'false'
|
|
53
53
|
|
|
54
54
|
- {name: rate_fx, type: money, currency_field: currency, rate_field: exchange_rate, label: {id: Harga (valas)}, default: '0'}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# yaml-language-server: $schema=https://rangka-os.github.io/rangka-os/schema/0.5/module.json
|
|
2
2
|
name: invoicing
|
|
3
|
-
version: 1.
|
|
3
|
+
version: 1.11.0
|
|
4
4
|
title: {id: Faktur, en: Invoicing}
|
|
5
5
|
summary:
|
|
6
6
|
id: Buat faktur penjualan, pilih cara bayar termasuk QRIS, dan kirim pengingat tagihan.
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
# recap reads the table once, a run with N outlet-days N + 1 times.
|
|
20
20
|
name: moka_daily_sales
|
|
21
21
|
label: {id: Rekap harian penjualan Moka per outlet}
|
|
22
|
+
description: {id: 'Tiap jam, penjualan Moka hari-hari sebelumnya dikelompokkan per outlet dan per tanggal jadi satu rekap penjualan. Kalau barang atau outletnya tidak dikenali, barisnya dikembalikan ke Belum dipetakan dan kantor pusat dikabari.'}
|
|
22
23
|
schedule: '15 * * * *'
|
|
23
24
|
steps:
|
|
24
25
|
- for_each: "[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30]"
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
# moka_transaction_refused tells head office).
|
|
35
35
|
name: moka_transaction_staged
|
|
36
36
|
label: {id: Transaksi Moka masuk jadi baris penjualan}
|
|
37
|
+
description: {id: 'Tiap transaksi dari Moka dicatat sebagai baris penjualan di outletnya, lalu direkap harian. Kalau outlet atau barangnya belum dikenal, kantor pusat dikabari. Kalau transaksinya direfund di Moka, baris retur ikut dicatat.'}
|
|
37
38
|
on: moka.transaction_created
|
|
38
39
|
if: "'transaction_id' in event && event.transaction_id != null && string(event.transaction_id) != '' && 'created_at' in event && 'checkouts' in event && 'outlet_id' in event && event.checkouts.map(c, 'quantity' in c && c.quantity != null && 'total_price' in c && c.total_price != null ? 0 : 1).sum() == 0"
|
|
39
40
|
idempotency: "string(event.transaction_id) + ':' + string(event.checkouts.map(c, 'refunded_quantity' in c && c.refunded_quantity != null ? c.refunded_quantity : 0).sum())"
|
|
@@ -130,6 +130,7 @@ rules:
|
|
|
130
130
|
actions:
|
|
131
131
|
- name: receive
|
|
132
132
|
label: {id: Terima barang, en: Receive goods}
|
|
133
|
+
description: {id: 'Tombol Terima barang muncul di pesanan yang sudah diajukan dan belum diterima semua.'}
|
|
133
134
|
icon: check
|
|
134
135
|
primary: true
|
|
135
136
|
hook: procurement.receive
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# yaml-language-server: $schema=https://rangka-os.github.io/rangka-os/schema/0.5/flow.json
|
|
2
2
|
name: rental_booking_on_submit
|
|
3
3
|
label: {id: 'Pesanan sewa diajukan: cek unit dan buat jadwal'}
|
|
4
|
+
description: {id: 'Saat pesanan sewa diajukan, unit di tanggal itu dicek. Kalau unit cukup, jadwal sewa dibuat dan, bila ada biaya sewa, faktur sewa disiapkan. Kalau unit tidak cukup, pesanan ditahan.'}
|
|
4
5
|
# Runs inside the booking's submit, as the person submitting it. Reading rental_schedule takes the flow read lock of
|
|
5
6
|
# contract 0025 (org + model), so two bookings submitted at the same moment run one after the other and the second
|
|
6
7
|
# one sees the first one's schedule row. The busiest day of the range is at the start of the range or at the start
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# yaml-language-server: $schema=https://rangka-os.github.io/rangka-os/schema/0.5/flow.json
|
|
2
2
|
name: rental_checkout_on_submit
|
|
3
3
|
label: {id: Alat keluar dicatat}
|
|
4
|
+
description: {id: 'Saat alat diserahkan, jadwal sewa ditandai keluar. Penyerahan ditahan kalau pesanan tidak sedang menunggu diambil, unit yang masih keluar sudah penuh, atau unit yang dipilih tidak tersedia.'}
|
|
4
5
|
# The booking must be waiting to go out (schedule booked): a second checkout of the same booking, or one of a
|
|
5
6
|
# cancelled booking, is refused. The units physically out (other bookings still out, also late ones) plus this one
|
|
6
7
|
# may not exceed the item's units. The schedule becomes out with the actual date. Reads rental_item before
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# yaml-language-server: $schema=https://rangka-os.github.io/rangka-os/schema/0.5/flow.json
|
|
2
2
|
name: rental_invoice_once
|
|
3
3
|
label: {id: Satu faktur per pesanan sewa atau per alat kembali}
|
|
4
|
+
description: {id: 'Satu pesanan sewa atau satu pengembalian hanya punya satu faktur. Faktur kedua ditahan, begitu juga faktur dari pesanan atau pengembalian yang sudah tidak berlaku.'}
|
|
4
5
|
# The rent invoice of a booking carries its number in () (SWA-...), the invoice for what a deposit did not cover the
|
|
5
6
|
# return's (KBL-...); an invoice cannot link the rental module. Such an invoice is submitted only while that document
|
|
6
7
|
# is submitted (not a draft left behind by a cancel and amend) and when no other submitted invoice carries the same
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# yaml-language-server: $schema=https://rangka-os.github.io/rangka-os/schema/0.5/flow.json
|
|
2
2
|
name: rental_return_on_submit
|
|
3
3
|
label: {id: Alat kembali dicatat}
|
|
4
|
+
description: {id: 'Saat alat kembali, jadwal sewa ditandai selesai. Kalau denda telat atau biaya kerusakan melebihi deposit, faktur tambahan dibuat. Pengembalian ditahan kalau alatnya belum keluar atau unit yang kembali tidak cocok.'}
|
|
4
5
|
# The equipment must be out: a return before the checkout, or a second return, is refused, and so is a return dated
|
|
5
6
|
# before the equipment went out. The schedule becomes returned with the actual date. The deposit journal (2-1400
|
|
6
7
|
# against 4-9200 and cash or bank) is gl_rental_return_post. What the deposit does not cover (in a PKP business: all
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# yaml-language-server: $schema=https://rangka-os.github.io/rangka-os/schema/0.5/flow.json
|
|
2
2
|
name: stock_negative_alert
|
|
3
3
|
label: {id: Peringatan stok minus}
|
|
4
|
+
description: {id: 'Kalau stok sebuah barang di outlet jadi minus, kantor pusat langsung dikabari.'}
|
|
4
5
|
# The kernel passes the stock_move record as `event` (name, outlet, item, qty, balance_qty, negative, ...). It does not
|
|
5
6
|
# yet dispatch `<model>.created` events to flows (S8c finding), so head office also sees the "Stok minus" list.
|
|
6
7
|
# The two find steps turn the record names into item and outlet names for the message; when a record cannot be found
|