Description
Method to query the lacod_det table from the operationals.
Parameters
tOidLacodDet | input | temp-table | Inputer parameter: the oid value for the lacod_det record. |
tLCChargeDetailByOrderline | output | temp-table | Output paramter: LC charge detail by order line table. |
oiReturnStatus | output | integer | Return status of the method. |
Internal usage
unused
program code (program1/pmfglcdetailbyorderline.p)
if oiReturnStatus = 0 then
assign oiReturnStatus = -98.
assign vhIn = dataset tOidLacodDet:handle
vhInOut = ?
vhOut = dataset tLCChargeDetailByOrderLine:handle.
<M-22 run CallService
(input vcDefaultMfgProgram (icProgramName),
input 'ReturnlacodDetForAPMatching':U (icMethodName),
input vhIn (izInput),
input-output vhInOut (bzInputOutput),
input-output vhOut (bzOutput),
input ? (icAsyncHandler),
output viFcReturnSuper (oiReturnStatus)) in PMFGLCDetailByOrderLine>
if viFcReturnSuper <> 0 then
assign oiReturnStatus = viFcReturnSuper.
if oiReturnStatus = -98 then
assign oiReturnStatus = 0.
delete object vhIn.
delete object vhOut.