Hi All,
How to find where exactly this OE-Header-Create code block is ? When I display business-object("OE Entry Trans Hdr") - It just gives a number 1006.
How to find where exactly this OE-Header-Create code block is ? When I display business-object("OE Entry Trans Hdr") - It just gives a number 1006.
Code:
FUNCTION business-object returns handle
( input cFunction AS CHARACTER) :
FIND FIRST Object-pool WHERE
Object-pool.Transaction-name = cFunction
NO-LOCK NO-ERROR.
IF NOT AVAILABLE Object-pool THEN
FIND FIRST Object-pool WHERE
Object-pool.Transaction-file = cFunction
NO-LOCK NO-ERROR.
if not avail Object-pool then
return ?.
IF VALID-HANDLE (Object-pool.h_Proxy) THEN
RETURN Object-pool.h_Proxy.
else
return ?.
end function.
=========================================
run OE-Header-Create in business-object("OE Entry Trans Hdr")
(input-output table t-oehdr) no-error.
Last edited by a moderator: