Merge pull request 'fix: #1 salesPackingTbl 조회 시 null_ prefix 제외 조건 추가' (#2) from fix/packing-already-packed-error into master

Reviewed-on: #2
This commit is contained in:
ssy99 2025-05-16 14:04:05 +09:00
commit 4bf125a0b5

View File

@ -2037,7 +2037,9 @@ Public Class mainForm
End Select
End If
DBCmd = "SELECT COUNT(" & commandStr & ") FROM " & applySalesDB & " WHERE " & commandStr & " LIKE '%" & playCode & "%'"
DBCmd = "SELECT COUNT(" & commandStr & ") FROM " & applySalesDB &
" WHERE " & commandStr & " LIKE '%" & playCode & "%'" &
" AND PackingCode NOT LIKE 'null_%'"
If DBQueryScalar(DBCmd) > "0" Or DBQueryScalar(DBCmd) = "False" Then
If rdbMode2.Checked = True And rdbAuto1.Created = True Then