These utility functions are can support work with the record objects that are used by the WebService functions.
Returns just the field list portion of a record.
Returns just the old field list portion of a record.
Sets a list of field-value pairs on a record.
(setq record nil)
(setq fieldValueMap (list (“rm.bl_id” “HQ” “rm.fl_id” “17”)))
(AfmWebServicesSetFieldValues record fieldValueMap)
Sets the value for a specified field/oldField on a record. If that value is already set on the record, then that value will be replaced, otherwise will be appended.
(setq record nil)
(AfmWebServicesSetFieldValue record “rm.rm.id” “101”)
Returns the value for a specified field/oldField on a record.
(setq value (AfmWebServicesGetFieldValue record “rm.rm.id”))
Returns a restriction list that can be used to construct restrictions for the WebService functions.
(setq restrictionList (AfmWebServicesAppendRestriction nil “rm” “rm.id” “=” “101”))
Copyright © 1984-2015, ARCHIBUS, Inc. All rights reserved. |