Step 1: Defining the Data for Real-Time Synchronization

You need to create generic inquiries or select existing ones that will define the data whose changes trigger sending notifications from MYOB Acumatica to a commerce connector.

1. Selecting the Push Notification Destination

  1. On the Push Notifications (SM302000) form, select Commerce in the Destination Name box of the Summary area, and review the list of generic inquiries that are predefined for the commerce push notifications on the Generic Inquiries tab.
  2. If the list of generic inquiries is sufficient for your connector, use the predefined Commerce notification destination, skip the next instruction and the next step, and proceed with Step 2: Supporting Push Notifications in the Connector.
  3. If you need a different list of generic inquiries for the entities that you want the system to send push notifications for, create a custom notification destination as follows:
    1. In the Destination Name box, type the name of the target notification destination, which can be the name of your external application.
    2. In the Destination Type box, select Commerce Push Destination. The Address box is filled in automatically with Commerce.
    3. Save your changes.

2. Selecting the Generic Inquiries for Real-Time Synchronization

  1. Optional: On the Generic Inquiry (SM208000) form, create a generic inquiry or multiple generic inquiries with the data whose changes trigger sending notifications from MYOB Acumatica to a commerce connector. You can create a generic inquiry either from the ground up or based on a copy of an existing generic inquiry. For details on the creation of generic inquiries, see Managing Generic Inquiries.
  2. On the Push Notifications (SM302000) form, select the notification destination that you decided to use in 1. Selecting the Push Notification Destination, which has the custom destination name.
  3. For each generic inquiry for which you want MYOB Acumatica to send notifications on changes in the inquiry results, do the following on the Generic Inquiries tab:
    1. On the table toolbar of the Inquiries table, click Add Row. The new row has the Active check box selected.
    2. In the Inquiry Title column of the added row, select the generic inquiry for which you want MYOB Acumatica to send notifications.
    3. Do one of the following:
      • If you want the system to send push notifications for changes in any field in the results of the generic inquiry, select the Track All Fields check box in the added row.
        Note: If all fields in the results of the generic inquiry are tracked, the system produces push notifications for changes of any field in the results of the generic inquiry, which can cause overflow of the push notification queue. If you need to track only particular fields in the results of the generic inquiry, push notifications for changes in other fields are useless for you but consume system resources. Therefore, we recommend that you specify particular fields to be tracked in the Fields table.
      • If you need to track only particular fields in the results of the generic inquiry, while the row of the Inquiries table is still selected, do the following in the Fields table for each field that you need to track:
        1. On the table toolbar, click Add Row.
        2. In the Table Name column of the added row, select the name of the table that contains the field that the system should track.
        3. In the Field Name column, select the name of the field that the system should track.
  4. On the form toolbar, click Save.
  5. Add the generic inquiries that you included in the notification definition to the customization project of the extension library for your commerce connector. For details about adding a generic inquiry to the customization project, see To Add a Generic Inquiry to a Project.
  6. Include the notification definition in the customization project of your extension library. For details, see To Add Push Notification Definitions to a Project.