Creating a SmartFill Object for RM Open Documents and Searching by the Customer PO Number

Subject:

The steps here describe how to create a SmartFill Object for RM Open documents and to be able to search on the Customer PO Number when applying Cash Receipts.

Information:

The steps are as follows:

Create the SmartFill Object:

 

  1. Go to Microsoft Dynamics GP | Tools | Setup | SmartFill | Objects.
  2. Click the New Object button.
  3. Enter an Object Name. For example, RM Open Documents.
  4. Change the Search Type to Contains.
  5. In the Object Definition section, select the following:
    1. Product: Microsoft Dynamics GP
    2. Lookup Form: RM_Open_Lookup
    3. Table Name: RM_Open
    4. Return Field: Document Number
    5. Return Datatype: String
  6. In the Lookup Field section, select the following:
    1. Table: RM_OPEN, Field Name: Document Number, and then mark both the Search and Display checkboxes.
    2. Table: RM_OPEN, Field Name: Customer Number, and then mark the Display checkbox.
    3. Table: RM_OPEN, Field Name: Customer Purchase Order Number, and then mark both the Search and Display checkboxes.
  7. Click Save.

Create the Repository record for the window and field you want the SmartFill Object to work for:

  1. In the SmartFill Objects window, select the new object you created, and then click the Edit Object button.
  2. Click Repository.
  3. In the Repository Maintenance window, click the New button.
  4. In the Lookup Creation Wizard, click Next.
  5. Select the new object you created, and then click Next.
  6. Go to Transactions | Sales | Apply Sales Documents.
  7. Select a Customer ID using the Customer ID lookup (you may need to click it a couple times).
  8. Select a Document No. using the Document No. lookup (you may need to click it a couple times).
  9. Click the Find button (you may need to click it a couple times).
  10. Put your cursor in the Document Number field (you may need to click it a couple times).
  11. In the Add New Lookup for (the name of your SmartFill Object) window, you should see the following:  

     

  12. If you do, click Add Lookup, and then click Done.
  13. Close the Repository Maintenance window.
  14. Now you can test out the new lookup you created. To do this, please follow these steps:
    1. Go to Transactions | Sales | Apply Sales Documents.
    2. Select a Customer ID using the Customer ID lookup.
    3. Select a Document No. using the Document No. lookup.
    4. Click the Find button.
    5. Put your cursor in the Document Number field and enter part of the Customer PO Number.
      1. If only one result is found, it will enter the Invoice Number in the field. Then you can click Find and it will be the first invoice listed in the scrolling area.
      2. If more than one results if found, the Make a Selection window will open and you can select the correct Invoice.