Adding Vendor Class to AP20.1

 1 Replies
 0 Subscribed to this topic
 43 Subscribed to this forum
Sort:
Author
Messages
Paula @ CSU
New Member
Posts: 1
New Member
    Our users would like to see vendor class displayed in the same area where vendor name and address now appear on the AP20.1 screen (basic invoice entry). This field was not available in design studio to simply be added - so I took a look at the PD and WS and .scr - as well as the APIN70 library PD & WS and added the vendor class fields and moves where I thought appropriate based on what seemed to be happening with vendor name. I still do not see the field appearing even after successful compiles. I even tried adding an existing key to the scr definition field - still no success. What else is it I might need to change - or what might I have done wrong? Do the .or or .sr files figure in at all?(I didn't do anything with them). Any guidence is appreciated.
    Thank you in advance.
    Ragu Raghavan
    Veteran Member
    Posts: 476
    Veteran Member
      Since you mention Design Studio, this is what I would try :
      1. paint a text field on the screen to show vendor class
      2. in the function form_OnAfterTransaction and Text_OnBlur on the Vendor field, code a DME call to APVENMAST, query the field VEN-CLASS
      3. lawform.SetFormValue the text field to this VEN-CLASS