Gå til indholdet

Send XML Goodsin via FTP

Its possible to send goodsin orders as XML via FTP server.
You need to upload new orders to the new-goodsins folder.

The specification for XML is described below, you can also find xml template and example here:

Template XML Download

Example XML Download

Description of files in XML

Field DataType Required Description
SupplierName String No Supplier name
SupplierId String No External system ID of supplier if any
Reference String Yes Reference of the PO
Note String No Any notes
ExternalId String Yes External system ID of the PO
Lines -> ItemNumber String Yes Itemnumber / SKU of product
Lines -> Title String No Title
Lines -> Amount Float Yes Requested amount
Lines -> Mpn String No Manufacture Itemnumber
Lines -> UnitCostPrice Float No Cost Price
Lines -> ExternalId String No ID of line in external system
Lines -> ExpectedDeliveryDate Date (DD-MM-YYY) No The expected delivery date if any

Response on XML

Upon a user has processed a goodsin either fully or part received, a xml file will be genereated and placed in the handled-goodsins folder. The structure of the xml file is as follows

Field Description
GoodsinID Internal unique identifier of the goodsin
ExternalID External system ID
Reference The reference of the PO
Note Note if any
HandleTime The timestamp of the action
Lines -> ItemNumber Itemnumber of product
Lines -> ExternalId External system ID of line
Lines -> Title Title of product
Lines -> Amount Amount requested on goodsin
Lines -> AmountReceived Current amount received
Lines -> AmountReceivedTotal Total amount received