ArticlesArticles Most Helpful ArticlesMost Helpful Articles Language SettingsLanguage Settings LoginLogin
RSS Feeds
DrillDown Icon Table of Contents Back
 . . . . . . . . . . . . .
DrillDown Icon MX
DrillDown Icon MANUALS and Other Info for SQL MANEX Client Server
DrillDown Icon Hardware and Software Requirements for Installing SQL Server
DrillDown Icon List of Modules Converted to MANEX Client Server
DrillDown Icon Installing SQL Server
DrillDown Icon System Administrator
DrillDown Icon SQL Backup Options
DrillDown Icon Setup the OLE DB(ADO) for SQL Crystal Reports
DrillDown Icon APIs
DrillDown Icon Item Master
DrillDown Icon Work Order API
DrillDown Icon KIT API
DrillDown Icon Shop Floor Tracking API
DrillDown Icon Shop Floor Tracking Transfer
DrillDown Icon Shop Floor Tracking Get
DrillDown Icon Inventory Handling API
DrillDown Icon Purchase Order API
DrillDown Icon Sales Order API
DrillDown Icon Customer API
DrillDown Icon Q & A API's
DrillDown Icon Code that could be used to find Last Table Modified within SQL
DrillDown Icon Configure SQL Server 2008 R2 to allow Network Connections
DrillDown Icon How to detach and attached databases using the SQL Server Management Studio
DrillDown Icon Restore SQL DB from Backup
DrillDown Icon Setup a SQL Test/Sandbox Database
DrillDown Icon SQLManex Client Server Setup Instructions
DrillDown Icon Setup Folder Permissions to Write "ini" File
DrillDown Icon Setup the ODBC for SQL Crystal Reports
DrillDown Icon Setup a SQL Database Maintenance Plan
DrillDown Icon Setup Task Scheduler to Auto Run MRP
DrillDown Icon Selecting the Authentication Mode
DrillDown Icon Window 10 - Network Disconnect
DrillDown Icon Setup Work Stations
DrillDown Icon Security System
DrillDown Icon Accounting Setup
DrillDown Icon System Setup
DrillDown Icon Operations Manuals
DrillDown Icon System Utilities
DrillDown Icon SQL Server Memory Settings and Performance
DrillDown Icon Definitions
DrillDown Icon How to schedule and automate backups of SQL Server databases in SQL Server Express
DrillDown Icon SQL_FAQ's
DrillDown Icon Customer Relationship Management (CRM)
DrillDown Icon ManEx Minute
DrillDown Icon ManEx Component Exchange
DrillDown Icon ManEx Supplier Directory & Rankings
  Email This ArticlePrint PreviewPrint Current Article and All Sub-Articles
 
Shop Floor Tracking Transfer

Transfer

The transfer function of the API is used to move the items of a work order between the different stages of the shop floor.

URL:{Root URL}/api/shopfloortracking/transfer/{API KEY}

Parameter Description  Required  Comment 
WoNo  Work Order Number Y  
FromDeptNumber From Department Number Y Department number where the product is being transferred from. Must be a whole number with no decimals. 
FromDeptKey From Department Key Y Department Key where the product is being transferred from
FromDeptUniqueRec From Department Unique Record Y Department Unique Record where the product is being transferred from
ToDeptNumber To Department Number Y Department Number where the product is being transferred to. Must be a whole number with no decimals. 
ToDeptKey To Department Key Y Department Key where the product is being transferred to
ToDeptUniqueRec To Department Unique Record Y Department Unique Record where the product is being transferred to
 transferQty Transfer Quantity  Y Amount to be transferred
serialNo Serial Number N Required if the part is serialized
fromActvKey From Activity Key N Activity level where the part is being transferred from. Only needed if the work order has activity tracking turned on. 
toActvKey To Activity Key N Activity level where the part is being transferred to. Only needed if the work order has activity tracking turned on. 
 WKey Warehouse Unique Record Identifier N Used to identify FGI when transferring to and from FGI. Required for a FGI transfer. If you have multiple locations, you will be able to provide 'Warehouse' and 'Location' if location is needed and the system will find the Wkey for you.


Example requests

Transfer, no lot code, no serialization

URL- ?Wono=WONO&fromDeptNumber=1&toDeptNumber=2&transferQty=1

JSON

{

'WoNo':'WONO',

'fromDeptNumber':'1',

'toDeptNumber':'2',

'transferQty':'1'

}

Transfer serialized

URL-?wono=WONO&fromDeptNumber=1&toDeptNumber=2&TransferQty=1&SerialNo=000000000000000000000000000000

JSON

{

'WoNo':'WONO',

'fromDeptNumber':'1',

'toDeptNumber':'2',

'TransferQty':'1',

'SerialNo':'000000000000000000000000000000'

}

A successful transfer returns the following

{

"$id":"1",

"Code":200,

"Message":"Shop Floor Tracking transfer successfull.",

"SessionId":null,

"IsValidUser":true,

"ResponseObject":null

}

Common Errors

API Key Error

If there is an error with the API key the system will return an error describing it.

{

"$id": "1",

"Code": 403,

"Message": "Invalid API Key.",

"SessionId": null,

"IsValidUser": false,

"ResponseObject": null

}

JSON or URL Error

If there is an error with the URL used or some part of the JSON string the system will return a HTTP error.

{

"$id": "1",

"Message": "No HTTP resource was found that matches the request URI 'http://localhost/api/ShopFlooTracking/Transfer/123456789?won=4101'.",

"MessageDetail": "No type was found that matches the controller named 'ShopFlooTracking'."

}

Invalid Work Center

If one of the entered work centers is incorrect or does not exist for the work order then the system will return an error describing an invalid work center.

{

"$id": "1",

"Code": 403,

"Message": "Failed:The From and To Work Center/Activity (number/deptkey/uniquerec/actvkey) is not valid.",

"SessionId": null,

"IsValidUser": true,

"ResponseObject": null

}

Bad Work Order

If the entered work order is invalid or does not exist the system will return an error message describing the Work Order error.

{

"$id": "1",

"Code": 403,

"Message": "Failed:The Work Order Number does not exists.",

"SessionId": null,

"IsValidUser": true,

"ResponseObject": null

}

​Permissions 

​The user needs the following checked on ManexCloud for permissions in order to use this API.

"Ignore Forced Routing Steps" needs to be checked for the user. See image below



Article ID: 5751