-
Notifications
You must be signed in to change notification settings - Fork 26
MobileCRM.FetchXml.Filter.between
rescocrm edited this page May 15, 2023
·
8 revisions
Adds a condition that the passed attribute is between the passed bounds.
Argument | Type | Description |
---|---|---|
attribute | String | The attribute name (CRM logical field name). |
low | Depends on attribute type | The lower bound. |
high | Depends on attribute type | The higher bound. |
Following example creates the fetch entity for account with filter on entities modified on June 2013.
var entity = new MobileCRM.FetchXml.Entity("account");
entity.addAttributes();
var filter = new MobileCRM.FetchXml.Filter();
filter.between("modifiedon", new Date(2013, 5, 1), new Date(2013, 6, 1));
entity.filter = filter;