lzh
2025-06-24 13c4a636539584ab977fddacfae884b3ec250aee
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
ÿþ--[[
    x: WMS-40-10
     Tðy: >f:yMR
    \O€ÿHAN    
    eQãSýQpeÿ Delete
 
    ŸRý€ô‹f:
         Rd–\ON¶r`=•ï‹„v\ON
    ôf9e°‹U_:
 
--]]
json  = require ("json")
mobox = require ("OILua_JavelinExt")
m3 = require( "oi_base_mobox" )
wms_cntr = require("wms_container")
wms_wh = require("wms_wh")
wms_op = require( "wms_operation" )
m3 = require( "oi_base_mobox" )
function Delete ( strLuaDEID ) 
    local nRet, strRetInfo
    local strCondition = "N_B_STATE = 3"
 
    nRet, strRetInfo = mobox.deleteDataObject( strLuaDEID, "Operation", strCondition )
    if ( nRet ~= 0) then lua.Error( strLuaDEID, debug.getinfo(1), " Rd–\ONøvsQ„v0\ON01Y%!  "..strRetInfo ) end 
    -- 7R°eS_MRu˜b—
    local strAction = '[{"action_type":"refresh","value":""}]'
    nRet, strRetInfo = mobox.setAction(strLuaDEID, strAction)
    if ( nRet ~= 0 ) then lua.Error( strLuaDEID, debug.getinfo(1), "setAction•ï‹: "..strRetInfo) end     
end