Using One Time Vendors On Purchase Orders In BuySpeed
A "one time" vendor is one to whom a purchase order is being awarded, but who is not going to be added to the vendor master list for future reference. It is used to print one time vendor name and address information on purchase order forms. There are several steps that must be performed before you can use one time vendors:
Ask the BuySpeed Customer Support Desk to verify that your custom purchase order format will handle one time vendors and modify the format, if necessary. If your technical staff is able to modify your form themselves, have them see the instructions on page 2.
Set up a vendor whose ID (vendor number) is SEENOTE.
If you automatically number your vendors, you must turn off vendor
autonumbering in Agency Maintenance.
To award a one time vendor to a purchase order:
Type in the vendor ID SEENOTE on the purchase order document manager.
Purchase Order Form Modification Instructions for One Time Vendors
To print normal and one time vendor information from the purchase order notes, modify the purchaser order format as follows:
There is probably already a computed column in the SQL of the form called "vendor_name". If not, set one up as follows (be sure to place a similar column in the criteria, as well):
vendor_name = (select name from vendor where vendor_nbr = po_header.vend_id)
On the form itself, place the vendor_name computed column in the header (or wherever the vendor address information is to print), and set its visibility to 0.
Add a computed object to the form (or modify the existing one for the vendor address), with an expression that reads:
if( upper(trim(po_header_vend_id)) = 'SEENOTE', gf_get_po_onetime_vendor( po_nbr, release_nbr ), cvendor_name + '~r~n' + gf_get_address ( vendor_address_addr_id ))
If the vendor ID on the purchase order is not SEENOTE, this puts the vendor name on a line by itself, followed by the vendor address. If the vendor ID is SEENOTE, it puts the information in the note that has ONE TIME as the first line into the vendor address area.