Adjutant
Welcome Guest, you are in: Login

Desktop Adjutant

RSS

Navigation







Quick Search
»


Advanced Search »

Order Import Automation

RSS
Modified on Fri, 23 Jul 2021 10:00 by Freddy Donovan Categorized as Import- Export Manager, MBS, Order Entry, Quoting

General

Program Name - MBSREAD

Text File - mbstext

Function - This program is designed be set up as a service to automatically import Sales Orders and Quotes using a specific set of CSV templates. A new email account will need to be set up by the customer's email provider. The name of the email does not matter, but the account will need to be able to send emails through SMTP and connect through IMAP. This process also requires the setup of a new MBSREAD service program in the Adjutant environment.

General Process - The Header, Lines, and BOM files (outlined below) will need to be generated manually, or through a third party application. Once the files are complete, they will need to be sent to the designated email address. The Adjutant MBSREAD service will log in to the email account and check for new files every 30 seconds. If the proper files are found, the program will attempt to create an order. It will then send a confirmation email back to original sender letting them know if the import was successful, or explaining why it failed.

Successful Import Example Email
Image

Failed Import Example Email
Image

Text File Setup

This should be set up the same way the Inboxtext and Poptext files are set up, using the credentials for the new email account that is required for this program to run.

Image



Header File Template

The Header file template must be a CSV file with the following columns:

Image

Type – Type code for the type of order to create. This value should come from the Sales Order Types rule, or the Quote Types rule, depending on the value entered in the SorQ column (explained below).

New Number – SO or Quote number to use for the order. This can be left blank to let Adjutant assign the next available order number.

Soldto – Organization ID of the customer for the order.

Billto – Organization ID of the entity responsible for paying the bill. This can be different from the Soldto, but is more commonly the same.

Shipto – Organization ID of the address that the order is being shipped to.

Whse – Warehouse responsible for shipping the finished products.

Plant – Warehouse responsible for producing the finished products.

SorQ – Either an “S” to import the order as a Sales Order, or a “Q” to import the order as a Quote.



Lines File Template

The Lines file must be a CSV file with the following columns:

Image

Qty – Quantity of the finished product item.

Pcmk – Piece mark of the item. This gets matched to the Piece Mark Configuration question for the item code (Rep Code A). This is also how the finished product item is matched up to the BOM inputs.

Descr – Description of the finished product item.

Clrname – Color Name. Can be left blank.

Dwg – Drawing reference. Can be left blank.

Sleng – Length of the finished product item. If not applicable, leave blank or 0.

Swgt – Weight of the finished product item.

Spunch – Punch code for the item. Can be left blank.

Slenin – Length of the finished product item in inches. If not applicable, leave blank or 0.

Sclass – Class of the finished product item. Can be left blank.

Spart – Not in use.

Sthk – Thickness for the finished product item. This can be left blank.

Sclrcode – Color code. This can be left blank.

Adjpartno – This is the Adjutant Item Code for the finished product item that will be used during the match up process. If this does not match a code in Adjutant, the import will fail.

Price – Price per “qty” (without tax) of the associated line. Taxes will be calculated in Adjutant.



BOM File Template

The Lines file template must be a CSV file with the following columns:

Image

Asmpmk – Piece mark of the finished product item that this input item belongs to.

Pcmk – Piece mark of the input item. This can be left blank if the item doesn’t have or need a piece mark question.

Descr – Description of the input item.

Qty – Quantity of the input item needed to make the finished product. If the input item is stocked in FT, use “1” here and enter the quantity needed in the slenin column.

Swgt – Weight of the input item.

Sleng – Length needed of the input item if stocked in FT (does not drive custom BOM Qty).

Slenin – Length in inches needed of the input item if stocked in FT. This is the driving factor when determining how much qty to call out on the custom BOM. If 50 feet of coil is needed, then the value here should be 600.

Sthk – Thickness of the input item. This can be left blank.

Sarea - Not in use.

Clrname – Color Name. This can be left blank.

Sclrcode – Color code. This can be left blank.

Adjpartno – This is the Adjutant Item Code for the input item that will be used to make the finished product it is associated with. If this does not match a code in Adjutant, the import will fail.



Adjutant Wiki via Screwturn version 3.0.5.600. You are logged in as Guest. There are 921 pages in the Wiki. Learn More About Adjutant Enterprise Solutions