Hi,
I am using NAV 3.60 SQL option with .70b run time.
In sales order entry function -> drop shipment. I want to create purchase order based on customer ship-tos, sales line information and ordered from one vendor. I have all the information from the sales order but buy-from vendor code. If I created the purchase order without buy-form vendor code, I ran into vendor '' not find error message when adding the vendor after the PO was created. I need help on which is a better way of taking the vendor code:
1. Dialog.Input to input the vendor code then create the PO
2. Using report option page to enter the vendor then using report to create the PO
3. .....etc.
I would like to use Vendor List lookup if possible.
Please give some insight.
Thanks,
CouberPu
0
Answers
or can it be multiple vendors?
http://www.BiloBeauty.com
http://www.autismspeaks.org
We order from multi. vendors. No default vendor in item. The price is in purchase price. I add code in codeunit 96 to create the purchase order -> opened the PO after the order was created but since buy-from vendor code is empty at the time, I can not rename '' vendor to new vendor.
Thanks,
CouberPu
RIS Plus, LLC
Is it possible to put the code inside the Dialog.INPUT? Just want to give a try.
Thanks,
CouberPu
Dialog boxes are not pretty. Forms are much nicer.
Initially, I had the program opened up purchase order right away and ran into an error.
With this design, why couldn't I just use the purchase order form?! The problem is empty Buy-From Vendor Code in both purchase header and purchase line. I try to solve this error by using Dialog, only slect on vendor, but again run into how to type in correct vendor code problem. I try to use the vendor list lookup, as Daniel suggested, without luck.
I will give it a try. But is this it?
Thanks,
CouberPu
You could also add a Vendor Number field to the sales line table and do a TESTFIELD on that field before you run the purchase order creation logic. That way no form at all, just a look up into the Vendor table right from the sales order entry form.
RIS Plus, LLC
I added a field on sales order form just to hold the vendor code, using vendor lookup. It is working now.
Thanks,
CouberPu
RIS Plus, LLC