Dưới đây là nội dung tổng hợp về các quy định và hướng dẫn thay đổi quy tắc đơn vị tính (Rules for changing UoM relationship) trong SAP Business One:
1. Quy tắc thay đổi mối quan hệ quy đổi UoM (Từ phiên bản 9.3 PL05)
Hệ thống kiểm soát nghiêm ngặt việc thay đổi tỷ lệ quy đổi giữa các UoM nếu UoM đó đang gắn liền với các chứng từ:
-
TRƯỜNG HỢP KHÔNG ĐƯỢC PHÉP THAY ĐỔI: * Không thể cập nhật mối quan hệ UoM nếu có chứng từ mở (open documents) liên quan đến UoM đó.
-
Chứng từ mở bao gồm: Yêu cầu mua hàng, Đơn đặt hàng, Báo giá, Yêu cầu trả hàng, Yêu cầu trả trước, tất cả các bản nháp (Drafts). Không bao gồm giao dịch kiểm kê kho.
-
Đối với công ty không dùng hệ thống tồn kho vĩnh viễn (Non-perpetual): Tính cả Phiếu giao hàng mở (Open deliveries), Phiếu nhập kho mở (Goods receipt POs) và Phiếu trả hàng mở (Returns).
-
-
TRƯỜNG HỢP ĐƯỢC PHÉP THAY ĐỔI:
-
UoM chưa từng được sử dụng trong bất kỳ chứng từ nào.
-
UoM chỉ nằm trong các chứng từ đã đóng (Closed). Khi thay đổi, hệ thống sẽ hiển thị cảnh báo. Nếu chọn Yes, mối quan hệ UoM mới sẽ áp dụng và giá trong bảng giá (Price List) sẽ tự động cập nhật lại theo tỷ lệ mới.
-
-
Xử lý khi mở lại chứng từ cũ (Reopened): Nếu chứng từ cũ bị mở lại sau khi đã đổi quy tắc UoM, hệ thống sẽ cảnh báo dòng chứng từ bị bất nhất (inconsistent) và cập nhật lại giá. Người dùng tự quyết định có giữ mức giá đó hay không.
2. Quy tắc thay đổi Nhóm UoM (UoM Group) ở phiên bản 10.0
Ở phiên bản 10.0, nếu bạn muốn đổi hoàn toàn một Nhóm UoM (UoM Group) trong dữ liệu master của mặt hàng (Item Master Data) khi mặt hàng đó đang có chứng từ mở, hệ thống sẽ báo lỗi.
Quy định: Bạn chỉ có thể đổi sang Nhóm UoM mới nếu Nhóm UoM mới đó bao hàm toàn bộ các quy tắc quy đổi của Nhóm UoM cũ.
Quy trình chuẩn (Best Practice) để thay đổi Nhóm UoM:
-
Sao chép nhóm cũ: Vào
Administration>Setup>Inventory>Unit of Measure Groups. Nhấp chuột phải vào dòng Nhóm UoM gốc > Chọn Duplicate Row. Đổi tên và mô tả cho nhóm mới rồi nhấn Update. -
Thêm UoM mới: Thêm các UoM cần thiết vào nhóm mới này, nhưng giữ nguyên/không xóa các quy tắc quy đổi cũ từ nhóm gốc.
-
Gán cho mặt hàng: Vào Item Master Data, đổi sang Nhóm UoM mới vừa tạo và nhấn Update.
-
Chỉnh sửa quy tắc: Sau khi kiểm tra và đảm bảo không còn chứng từ mở nào dùng UoM đó, bạn mới tiến hành thay đổi quy tắc quy đổi của UoM bên trong nhóm mới này.
3. Lưu ý quan trọng
-
Bạn không thể thay đổi Đơn vị tính cơ sở (Base UoM) của một Nhóm UoM nếu nhóm đó đã được gán cho một hoặc nhiều mặt hàng.
-
Nếu cố tình thay đổi, hệ thống sẽ báo lỗi: “Removal is not permitted; UoM group is assigned to one or more items.”
Symptom
You define the conversion rules for units of measure (UoMs) within a UoM group, and select appropriate UoMs to use in the item master data. However, sometimes you need to change the conversion rule for a UoM. In the current system, you find the UoM conversion rule to be strict.
Cause
Consulting
Solution
The following are the UoM conversion rules as of SAP Business One 9.3 PL05:
- The UoM relationship cannot be updated for a specific UoM if there are open documents (in which prices can be updated) linked to it. If you try to update the UoM relationship for this UoM, the following error message is displayed in the System Messages Log:
-
- Open documents include requests, orders, quotations, return requests, down payment requests and all drafts, excluding inventory counting transactions.
- For a non-perpetual company, open deliveries, goods receipt POs and returns are also included.
- UoM relationships can be updated in the following cases:
-
- The UoM is not used in any documents.
- The UoM is used in other documents (including closed documents per rule 1). In such a case, the following system message is displayed if you try to update the UoM relationship for this UoM:
If you choose Yes, the relationship of that UoM will be changed and all prices in the price list will be refreshed based on the new UoM relationship.
- If documents (per rule 1, using the UoM) are reopened for some reason after the UoM relationship is changed:
-
- A warning will be displayed in the System Messages Log for the document line whose UoM relationship is inconsistent.
- The price will be refreshed as usual. You may decide whether or not to maintain the price.
- In SAP Business One version 10.0, when you change the UoM Group field in an item master data record which has open documents, the following error message is displayed:You cannot change the UoM group unless the new UoM group includes the set of conversion rules of the original UoM group.The best practice to change the UoM Group field in version 10.0 based on the system definition is the following:
-
- Go to Administration → Setup → Inventory → Unit of Measure Groups, open the Unit of Measure Groups – Setup window.
- Right-click the original UoM group row, choose Duplicate Row. Change the row name of the Group and Group Description, and choose Update.
- Now you can add additional UoMs in the new duplicate UoM group. However, do not delete or modify the old UoM conversion rules yet.
- In the last step, assign the newly created UoM group to the item and click Update.
- Once verified that there are no open documents with the UoM, you can change the conversion rule of this UoM within the newly created UoM group.
- Note that you can only change the conversion rules within the newly assigned UoM Group. You cannot change the Base UoM. In an attempt to do so,
you will receive the error message Removal is not permitted; UoM group is assigned to one or more items.