Feature is not a member of PRIM_LIBI.IVarCharIntrinsics
Posted: Tue Dec 20, 2016 3:55 am
I've defined a data object as such
I have that object defined in my "Application" object
In the application object I can set the id and caption just fine.
However every time I "get" the id or caption from the the object, I get the "Feature is not a member of PRIM_LIBI.IVarCharIntrinsics" error.
How do I get the values out of the object?
Code: Select all
begin_com role(*EXTENDS #PRIM_OBJT *LISTFIELDS #ListFields) defaultpty(Caption)
group_by name(#ListFields) fields(#OFOFID #OFOFIN #OFELVL #OFOTY #OFDFC)
define_pty name(Id) get(*AUTO #OFOFID) set(*AUTO #OFOFID)
define_pty name(Caption) get(*AUTO #OFOFIN) set(*AUTO #OFOFIN)
end_com
Code: Select all
define_pty name(CurrentOffice) get(*AUTO #CurrentOffice)
define_com class(#MOBOFCData) name(#CurrentOffice)
mthroutine name(SetCurrentOffice)
define_map for(*INPUT) class(#OFOFID) name(#officeId)
define_map for(*INPUT) class(#OFOFIN) name(#officeName)
#CurrentOffice.Id := #officeId
#CurrentOffice.Caption := #officeName
endroutine
However every time I "get" the id or caption from the the object, I get the "Feature is not a member of PRIM_LIBI.IVarCharIntrinsics" error.
Code: Select all
#COM_OWNER.LoadDetails( #Application.CurrentOffice.Id )