UNIT-003 - Skenario kombinasi konfigurasi bonus

Status: Disetujui PO (@lusiono0312), 2026-11-17 · Rujukan: requirements.md

Contoh angka bersama untuk PO, QA dan engineer. Ini bukan pengganti acceptance.md; edge case dan fixture uji tetap di sana.

Contoh dasar

A. Fixed (tanpa hold), hari onboard

# Konfigurasi P1 P2 P3 P4 Catatan Rujukan
A1 Fixed + Manual 1 1 1 1 Menunggu klik Release seperti saat ini A4
A2 Fixed + Automate R 1 R 1 R 1 R 1 Release setiap periode, tanpa banner, log actor System A5, A10, A12
A3 Fixed + Automate + threshold Month 3 R 1 R 1 R 1 0 Maksimal 3 kali release per kontrak A11
A4 Fixed + Automate + threshold Amount 2,5 R 1 R 1 R 0,5 0 Release terakhir dipotong pas batas A11

B. Accrued Flexible, hari onboard

# Konfigurasi P1 P2 P3 P4 (sign off) Hasil Rujukan
B1 Accrued + Manual H 1 H 2 H 3 H 4 Staf release kapan saja A4
B2 Accrued + Automate, sign off Finished H 1 H 2 H 3 R 4 Banner "Bonus released automatically due to an off reason: Finished." A5, A12, A19
B3 B2 + exception Is not [Finished] Manual, sign off Unfinished H 1 H 2 H 3 H 4 Banner "recommended not to be released … Unfinished"; Release tersedia A6, A12
B4 B3, sign off Others berteks "Jumpship" H 1 H 2 H 3 H 4 Cocok lewat enum Others; banner menampilkan "Jumpship" A12
B5 B2 + exception Is [Unfinished, Others], sign off Finished H 1 H 2 H 3 R 4 Finished tidak termasuk daftar A6
B6 B2, kru masih onboard H H H — Exception tidak dinilai, tanpa banner, tanpa release A6, A12
B7 B2 + threshold Month 3 H 1 H 2 H 3 R 3 Hold berhenti di 3 A11
B8 B2 + threshold Amount 2,5 H 1 H 2 H 2,5 R 2,5 Dipotong pas batas A11

C. Required Contract dan Hold On Vessel (Accrued, Automate)

# Konfigurasi P4 (sign off) Setelahnya Rujukan
C1 Required Contract, Finished R 4 di payroll K1 — A19
C2 Required Contract, ditahan exception H 4, release manual di K1 Tidak pernah di-carry over A13
C3 Hold On Vessel, Finished R 4 di payroll kapal tersebut; Bonus Hold menjadi Full Release — A19
C4 Hold On Vessel, ditahan exception H 4 di kapal tersebut Dapat di-release di payroll kapal yang sama, termasuk ex-crew, sesuai konfigurasi; tidak di-carry over A13, A22

D. Carry over ke kontrak baru K2

# Konfigurasi Akhir K1 Di K2 Rujukan
D1 Flexible + Manual + Auto carry over ON, belum di-release H 4 4 terbawa otomatis; switch per kontrak aktif dan dapat dimatikan A13
D2 D1, carry over dimatikan di K2 H 4 Tidak terbawa A13
D3 Flexible + Automate + Auto carry over, Finished R 4 Tidak ada yang terbawa A20
D4 Flexible + Automate + Auto carry over, Unfinished (exception) H 4 4 terbawa ke K2 bila kru kembali A20
D5 K2 dengan threshold Month 3 — Saldo bawaan tidak dihitung; K2 tetap boleh mengumpulkan 3 periode A17
D6 Saldo K1 IDR, K2 USD H 4 IDR Dibawa sebagai baris IDR terpisah tanpa konversi #25 (PR #28)

E. Hari rotation di dalam kontrak aktif

K1 dari P1 sampai P6: onboard P1–P2, rotation P3–P4, onboard P5–P6, sign off P6.

# Konfigurasi P1–P2 P3–P4 (rotation) P5–P6 Rujukan
E1 Rotation + Fixed + Automate 0 R 1, R 1 0 A5, R08
E2 Rotation + Accrued + Automate 0 H 1, H 2 H 2, lalu R 2 di P6 (sign off) A19, R08
E3 Rotation + Accrued + Manual 0 H 1, H 2 H 2, release oleh staf A4, R08

Tidak ada bonus yang terkumpul di antara dua kontrak (A21).

F. Kasus khusus

# Situasi Hasil Rujukan
F1 B2 lalu payroll P4 dihitung ulang Tetap satu release, tanpa pembayaran ganda A15
F2 B2, staf Unrelease, lalu hitung ulang Tidak dirilis lagi; Unrelease tercatat di log A10, A15
F3 Exception A Is not [Finished] Manual dan B Is [Others] Confirmation; sign off Others Ditahan; setelah UNIT-004, Confirmation yang berlaku A16
F4 Mode diubah dari Automate ke Manual Exception tersimpan tetapi tidak aktif; aktif lagi saat kembali ke Automate A18
F5 Field baru (mode, exception, threshold, auto carry over) diubah di tengah kontrak Berlaku mulai kalkulasi berikutnya untuk periode yang belum ditutup A23
F6 Ubah Salary Metric, Bonus Type atau Release Condition pada bonus yang sudah dipakai Ditolak; bonus juga tidak dapat dihapus A23