![]() ![]() |
Reference Type: Supported, Category: RPC Broker, ICR#: 2238
Use the $$RTRNFMT^XWBLIB extrinsic function in the M code called by an RPC to change the return value type that the RPC returns on-the-fly.
$$RTRNFMT^XWBLIB(type,wrap)
type: |
(required) Set this to the RETURN VALUE TYPE to which you want to change the RPC’s setting. Set it to one of the following numeric or free text values:
|
||||||||||||
wrap: |
(required) Set value to:
|
return value: |
Returns:
|
I ‘$$RTRNFMT^XWBLIB(“ARRAY”,1) D .; branch to code if cannot change RPC type |