결함(Bug) #29
closed[VOC]HIGH: Request change rate for invoice
100%
Description
Please support to change data as below:
Invoice 742453 (already paid a part)
Please delete PM SEQ of this invoice and revert invoice status to Non Payment for VNOP change rate and KRAC team will confirm the invoice again

Reason: Due to our error system, this booking was failed on AGT side but confirmed on ALICE and hotel's side, AGT did not pay us for this booking as it was failed >> Updated loss report
Additional request: Since there is a lot of request like this due to negotiate with channels, please consider to allow Finance team can be released and delete PM SEQ by themself for updating amount of invoice and booking (once the PM SEQ has been release or delete, the invoice status should be revert as non-payment if no more PM SEQ/processing if still available at least 1 PM SEQ under those invoice and paid amount should be deducted follow the deleted PM SEQ).
Files
Related issues
Updated by ziniy Kang 11 months ago
- Subject changed from Request change rate for invoice to [VOC]HIGH: Request change rate for invoice
Updated by ziniy Kang 11 months ago
- Assignee changed from Joseph Vo to Lexi Kim
- Target version set to v1.0.0
- Part set to PLAN
Updated by ziniy Kang 11 months ago
현재 VOC 측에서 기능 추가 요청이 있었습니다.
이에 따라 'Additional Request' 기능에 대한 기획 작업이 필요합니다.
궁금하신 점 있으시면 언제든지 말씀해주세요.
감사합니다.
Updated by ziniy Kang 11 months ago
- Assignee changed from Lexi Kim to Joseph Vo
- Mình check logic xem có vấn đề gì không ạ?
- Khi built lên thì data trước đó có ảnh hưởng gì không anh?
~ Sau khi delete/release PM SEQ, trạng thái hóa đơn sẽ tự động cập nhật theo quy tắc sau:
- Nếu tất cả PM SEQ đều bị xóa: cập nhật trạng thái hóa đơn thành Non Payment (Chưa thanh toán)
- Nếu vẫn còn ít nhất một PM SEQ: cập nhật trạng thái hóa đơn thành Processing (Đang xử lý)
- Số tiền thanh toán cũng sẽ tự động điều chỉnh, giảm tương ứng với giá trị của PM SEQ đã bị xóa.
Updated by Lexi Kim 11 months ago
- Related to 개선(improvement) #81: Add Finance team permission to release/delete PM SEQ. added
Updated by Joseph Vo 10 months ago
Dear ziniy Kang @Tracy @Planning team, mình cần 1 meeting về function này.
11h10 VN Time today, is it ok?
Updated by ziniy Kang 10 months ago
Developer Tasks
1. Set Permission for Finance Team
Grant permission to users with the Finance role to delete or release PM SEQ.
Show/hide the delete function in the UI or admin panel accordingly.
2. Implement PM SEQ Deletion Function
Add a feature to allow individual PM SEQ entries to be deleted or released.
Include confirmation pop-up and activity log tracking for deletions.
3. Auto-Update Invoice Status
Automatically update the invoice status based on PM SEQ deletion:
If all PM SEQ entries are deleted → status = Non Payment
If at least one PM SEQ remains → status = Processing
4. Auto-Adjust Paid Amount
Deduct the paid amount based on the value of the deleted PM SEQ.
Ensure the UI reflects the adjusted amount in real-time.
5. Data Integrity and Exception Handling
Prevent deletion of PM SEQ entries that have already been settled.
Record all deletions in the system log.
Handle exceptions where related bookings or settlements are linked.
Updated by ziniy Kang 10 months ago
- Related to 개선(improvement) #124: [New-Dev] Add Finance team permission to release/delete PM SEQ./ 재무계정 PM SEQ 릴리즈/삭제 권한 추가 added
Updated by Tom Dong 8 months ago
- Due date set to 06/30/2025
- Status changed from 신규(New) to 완료(Done)
- Assignee changed from Tom Dong to Tracy Tran
- Start date changed from 04/24/2025 to 06/30/2025
- Estimated time set to 4.00 h
- Build env. set to Staging
Chị tracy, lên staging chỉ thử xử invoice này thử. Do rule mở đã được delete, release payment với invoice/ billing đã paid
Updated by Tracy Tran 8 months ago
- Assignee changed from Tracy Tran to Tom Dong
1. Set Permission for Finance Team
Tested on Staging OK
2. Implement PM SEQ Deletion Function
Tested on Staging OK
3. Auto-Update Invoice Status
Tested on Staging OK
4. Auto-Adjust Paid Amount
Tested on Staging OK
Updated by ziniy Kang 7 months ago
- Assignee changed from Tom Dong to Tracy Truong
Updated by Tracy Truong 7 months ago
- Assignee changed from Tracy Truong to Tracy Tran
Please support to check with Acc team
Updated by Tracy Tran 7 months ago
- Assignee changed from Tracy Tran to Tom Dong
Checked on PROD
Invoice is OK
Billing is checking again on task 848
