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
ÿþ--[[
 x: GT-40-47
  Tðy: ûN¡RŒ[b
 \O€:
 eQãSýQpeÿTaskFinish
 ŸRý€ô‹f:
    -- ¾‹nûN¡RŒ[b
 ØSôf†SòS:
 --]]
require("WMS-BASE")
wms_op = require( "wms_operation" )
wms_cntr = require( "wms_container" )
require("GT_InAndOutboundPolicies")
function TaskFinish(strLuaDEID)
    local nRet, strRetInfo
 
    -- ·ƒÖSS_MR\ONù[aŒ
    local operation
    nRet, operation = m3.GetSysCurEditDataObj(strLuaDEID, "Operation")
    if (nRet ~= 0) then lua.Error(strLuaDEID, debug.getinfo(1), operation) end
 
    nRet, strRetInfo = wms_op.SetFinish(strLuaDEID, operation.code)
    if (nRet ~= 0) then
        lua.Error(strLuaDEID, debug.getinfo(1), "¾‹n\ON÷S='" .. operation.code .. "' „v\ONŒ[b1Y%!" .. strRetInfo)
    end
end