Importing orders

Importing orders.

Fields that are filled in automatically during order registration

The fields below are not updated on import. We recommend that you use EDI import when you want to import new orders into the database. You can enclose each order with @READ_ORDER (Order no.) and @SAVE_ORDER (Order no.), but then the order number must be recognised in the import file.

When you have imported the orders using the normal import method, you must update the Stock balances and Stock changes tables. This is done as follows:
  1. Open the Orders table
  2. Change the Order type field to 6. Unprocessed order or 5. Quotation order.
  3. Save the changes.
You can also use the commands @READ_ORDER and @SAVE_ORDER, mentioned in the section Syntax for the ASCII file.
Merk: If you import orders using EDI Import, this will be done automatically and you should not perform this post-processing.
Example of an import file that finishes a purchase order using @READ_ORDER and @SAVE_ORDER:
@FIRM_BEGIN (Firm no)
@DEFAULT_PARAMETERS (1)
@READ_ORDER (Order no)
@Ord (OrdNo,InvoNo,LstInvoDt,DueDt)
"Order no" "Invoice no" "Invoice date" "Due date"
@OrdLn (OrdNo,LnNo,RlzN)
"Order no" "Line no" "Qty"
@SAVE_ORDER (Order no)


Vi setter pris på dine tilbakemeldinger. Send tilbakemelding til Visma på dette emnet.