| Type | BE |
| Size | M |
| Tier | 2 |
| Depends on | UNIT-004-B04 |
| Acceptance | AC-BC-044, AC-BC-045, AC-BC-046, AC-BC-052, AC-BC-078, AC-BC-079, AC-BC-080, AC-BC-083 |
| Status | Draft |
Setiap penyimpanan dan penggantian keputusan tercatat di log Crew Activity dan log Payroll dengan actor, kru, bonus, periode, keputusan dan alasan.
Di transaksi A3, setelah history ditulis, service menulis event Crew Activity (modul Crew Activity & Movement, deskripsi "Crew Event - Bonus Confirmation") dan log Payroll dengan teks C sesuai kejadian: Full Release, Not Release, Full Release diganti Not Release, atau Not Release diganti Full Release. Keduanya memuat actor, kru, bonus, periode, keputusan dan alasan. Simpan yang idempoten tidak menulis log. Gagal menulis log menggagalkan seluruh transaksi A3, sehingga keputusan dan history juga tidak tersimpan. Kalkulasi payroll tidak menulis log release atau unrelease kedua untuk keputusan yang sama.
internal/service/bonusconfirmation/ (penulisan log di A3), internal/common/constant/general_log.constant.go, internal/common/util/general_log.util.go, internal/service/generallog/ (helper baru), test acceptance logremora@2403a60b34c8 internal/service/generallog/general_log_helper.service.go:179: LogEventremora@2403a60b34c8 internal/common/constant/general_log.constant.go:15-16: modul ModuleCrewActivity dan ModulePayrollremora@2403a60b34c8 internal/common/util/general_log.util.go:10,216: FormatGeneralLogMessage dan pesan bonusbonusconfirmation, PUT A3, GET /v1/company/:companyId/logs| Date | Event | Reason | Ref |
|---|