Filter

When an event is raised in Navision, Business Notification receives a document that contains the corresponding business entity. It is now possible to use a filter in Business Notification to decide whether a notification should be sent. For example:

For the business entity "Customer," there is an event called "Customer Blocked." The event is raised when the Blocked status of a customer is changed from not blocked to one of the blocked states (Ship, Invoice, or All). However, you only want notifications if the new status is "Ship." You can use a filter in Business Notification to achieve this.

You can base more than one notification on the same event. Continuing the (very simple) example from above, you could create three different notifications, by using two distinct filters: one that filters on the Blocked field having the value "Ship," one that filters on the Blocked field having the value "Invoice," and finally one that filters on the Blocked field having the value "All."

Important: a filter in Business Notification does not in any way query or re-query Navision: Navision sends a document, containing the data that the developer of the business entity in Navision has selected. A filter in Business Notification can only be used to further "refine" this data: it cannot extend or change the data sent from Navision.

This means that you cannot create a "time-calculation" filter in Business Notification, that is: you cannot create a filter that would evaluate an expression such as "today plus 7 days". Dates that you get from Navision are already "finalized", and the only filtering you can do is to evaluate against the exact date you get from Navision (such as: "if Order Date is after December 24th, 2004".)

These topics have more information: The Filter Form and More About Filters.