This functionality can be used for ingesting an XML file to create a Parts WIP

This is setup per Sales Ledger account

Create files in Autoline that are needed
Create Generic File Transfer
Setup Edit Customer Details Record
Add entries to timed operations to automatically ingest files.


Files to be created

dorda

dordh

dordl

dadvh

dadvl

When these are created then the Customer Orders Menu Option will appear



Generic File Transfer

Manufacturer Systems / 00 / General Utilities / System Maintenance / Generic File Transfers

This can be set to retrieve the file from a folder on the Autoline Server or from an FTP/SFTP site

The example below is getting the file from ^ENV(BASE)/ISO/STOCK_OUT

e.g /user1/XXX/ISO/STOCK_OUT 





The XML file being ingested must begin with the Company Number, then the Sales Ledger Account Number

eg - 01M0002WebOrder20250404.11111.xml

Company: 01
SL Account: M0002

XML File Content  (Sample Attached Below)


<?xml version="1.0" encoding="UTF-8"?>

<KCC-STKO:Envelope  xmlns:KCC-STKO=" ">

    <KCC-STKO:Header>

        <OrderType>S</OrderType>

        <DealerCode>M0002</DealerCode>

        <SalesAccount>M0002</SalesAccount>

        <OrderNo>11118</OrderNo>

        <PLAccount></PLAccount>

        <SubDealer></SubDealer>

        <DeliveryName>Joe Blogs</DeliveryName>

        <DeliveryAddress1>111 Alpha Street</DeliveryAddress1>

        <DeliveryAddress2></DeliveryAddress2>

        <DeliveryAddress3>Bokarina</DeliveryAddress3>

        <DeliveryAddress4>QLD</DeliveryAddress4>

        <DeliveryPostcode>4575</DeliveryPostcode>

    </KCC-STKO:Header>

    <KCC-STKO:Body>

        <BodyLine>

            <PartNumber>S11482-06G10</PartNumber>

            <PackedPartNumber>S11482-06G10</PackedPartNumber>

            <Franchise> </Franchise>

            <ManuPart>GASKET CLUTCH COVER</ManuPart>

            <Quantity>2</Quantity>

            <Unit>EACH</Unit>

            <BinLocation></BinLocation>

            <Reference1>Ref1</Reference1>

            <Reference2>Ref2</Reference2>

            <Remarks>Web Order</Remarks>

        </BodyLine>

        <BodyLine>

            <PartNumber>D44440039A</PartNumber>

            <PackedPartNumber>D44440039A</PackedPartNumber>

            <Franchise> </Franchise>

            <ManuPart>FILTER, OIL</ManuPart>

            <Quantity>3</Quantity>

            <Unit>EACH</Unit>

            <BinLocation></BinLocation>

            <Reference1>Ref1</Reference1>

            <Reference2>Ref2</Reference2>

            <Remarks>Web Order</Remarks>

        </BodyLine>

    </KCC-STKO:Body>

    <KCC-STKO:Trailer>

        <LineCount>2</LineCount>

        <QuantityCount>5</QuantityCount>

    </KCC-STKO:Trailer>

</KCC-STKO:Envelope>



<OrderNo> Must be unique
<QuantityCount> Within the Trailer must add upto the total of all the individual Quantitys in the Body Lines

<LineCount> Within the Trailer must have the number of Body Lines Total (Different Part Numbers)

<Franchise> If you wish to send the Part & Packed Part without the franchise letter in front - then this field should contain the MS Price file code off the SM Franchise record - e.g VW 00.
If you had multiple franchises in the MS 00 Price file and they both have the same part number this may be an issue - as the first match it finds will be used

Edit Customer Details Record

Point of Sale / Miscellaneous Options / Edit Customer Details


Edit or create the Sales Ledger Record


Update the Order Transfer ID (Select the GFT created above)
Dealer Number : Enter the Sales Ledger Account again



Receiving in the file manually (when not in timed operations)


Point-of-sale / Customer Orders

Receive Customer Orders

Process

Within Point-of-sale
When a file is waiting to be processed

You will have the Red Message on screen
Inter-System orders are outstanding

From the links menu
Select Dealer Imports





Select the line and click Process

This will create the WIP with the Parts on it






The fields in the XML
<Reference1>
<Reference2>
<Remarks> (Updates Free Text Field)