cobi.wms:known_issues
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| cobi.wms:known_issues [2022/07/04 16:41] – created tkammer | cobi.wms:known_issues [2026/02/17 13:32] (current) – [Pre-Allocation of Batch and Serial Numbers for Pick Lists] thuth | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ===== Missing support for Assembly BOM ===== | ===== Missing support for Assembly BOM ===== | ||
| - | Unfortunately, | + | Unfortunately, |
| https:// | https:// | ||
| - | ===== Assignment | + | ===== Pre-Allocation |
| - | (TODO: Document this.) | + | If you want to decide for your warehouse employees which batch numbers or serial numbers they should pick, instead of letting them choose the batch or serial numbers themselves while picking, then you should be aware of the following issue. |
| + | **Note:** This issue only applies to Pick Lists without bin locations. | ||
| + | |||
| + | For an example, let's consider a Pick List based on a Sales Order, containing an item with batch numbers. | ||
| + | |||
| + | In SAP Business One, there are two ways you can pre-allocate batch numbers for the Pick List: | ||
| + | |||
| + | - Allocate the batch number only in the underlying Sales Order | ||
| + | - Allocate the batch number both in the Sales Order and in the Pick List | ||
| + | |||
| + | The second way is actually ideal, because the same Sales Order could have multiple Pick Lists that are based on it, so if you only allocated the batch in the Sales Order, it wouldn' | ||
| + | |||
| + | **However, | ||
| + | |||
| + | For this reason, you must only allocate the batch number in the underlying Sales Order, and not directly in the Pick List. If you have several Pick Lists based on the same Sales Order, your warehouse employees will see **all** batch numbers allocated in the underlying Sales Order. | ||
| + | |||
| + | ====== Forcing a Recreation of COBI.wms Database Views (Dropping Views) ====== | ||
| + | |||
| + | ==== Background / Use Case ==== | ||
| + | When customer-specific customizations have been made to COBI.wms or if data structures in SAP Business One have changed significantly, | ||
| + | |||
| + | ==== How does the mechanism work? ==== | ||
| + | Every time a user logs in via the MDE device (scanner), COBI.wms checks if a specific version view exists in the SAP company database (the view %%cwXX__version%%). | ||
| + | |||
| + | If this view is deleted (**" | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== 1. Identifying the correct View ==== | ||
| + | The name of the view that needs to be dropped depends on the installed COBI.wms app version (the %%XX%% represents the version number). | ||
| + | |||
| + | ^ COBI.wms Version ^ Name of the View ^ | ||
| + | | 2.38 | %%cw38__version%% | | ||
| + | | 2.40 | %%cw40__version%% | | ||
| + | | 2.42 | %%cw42__version%% | | ||
| + | | 2.43 | %%cw43__version%% | | ||
| + | |||
| + | **Note:** This naming logic will continue for future versions. | ||
| + | |||
| + | ==== 2. Dropping the View ==== | ||
| + | Depending on your database system (SAP HANA, MSSQL, or Azure SQL), execute the corresponding command against your SAP company database. | ||
| + | |||
| + | **For Microsoft SQL Server (MSSQL) & Azure SQL:**\\ | ||
| + | Open the SQL Server Management Studio (SSMS), select the respective company database, and execute the following script (Example for Version 2.43): | ||
| + | |||
| + | <code sql> | ||
| + | DROP VIEW cw43__version; | ||
| + | </ | ||
| + | |||
| + | // | ||
| + | |||
| + | **For SAP HANA:**\\ | ||
| + | Open the SAP HANA Studio, select your company schema, and open the SQL console. Execute the following script (Example for Version 2.43): | ||
| + | |||
| + | <code sql> | ||
| + | DROP VIEW " | ||
| + | </ | ||
| + | |||
| + | ==== 3. Rebuilding the Views ==== | ||
| + | Once the view has been successfully dropped from the database, take your MDE device. | ||
| + | |||
| + | - Completely close the COBI.wms app. | ||
| + | - Reopen the app and log in. | ||
| + | - The login process will take slightly longer this one time (approx. 5-15 seconds) because all views, including the latest data structures and customizations, | ||
cobi.wms/known_issues.1656945669.txt.gz · Last modified: by tkammer