Automatically filling in fields on a form

I have a customer who wants the shipping addresses on the Purchase Order to autofill. They do not want these addresses to be part of the customer card. I created a simple table with the information they need. I added a code field to the Purchase Order Form - Shipping tab. By clicking on this field, I am able to get to the table from the form, but I can’t get the fields on the table I created to automatically populate into the address fields on the Form. What needs to be done to have fields in a table automatically populate?

First of all: Shouldn’t You use Drop Shipment? Anyway. If You wan’t to autofill the shipping fields on the purchase order do like this: NewTable.GET(NewFieldOnPurchOrder); Ship-to name := NewTable.Name; Ship-to Adress := NewTable.Adress; …and so on Good luck //Lars

quote:


I have a customer who wants the shipping addresses on the Purchase Order to autofill. They do not want these addresses to be part of the customer card.


As far as I understand you, the Ship-to-Address of a Purchase Order depends on the Sale-Customer!? Your Vendor shall ship directly to your customer? So, we are talking about a “Direct-Delivery” ? In that case, you can connect the Purchase Order with your Sales Order and the Ship-To-Address should be updated automatically! Regards, Jörg Joerg A. Stryk Apollo-Optik, IT/ERP Edited by - stryk on 2002 Aug 02 10:09:45