api/PhysicalCountEntry/Create (POST)

Creates Physical Count Entry Transaction using the supplied creation data.
HTTP Method: POST
Required Fields:
PhysicalCountEntry: WORKSHEET_DATE, STORES_CODE
PhysicalCountEntryDetail: PART_ID, STOCK_LOCATION, PHYSICAL_QTY
Requires an Authentication Token in the AuthToken HTTP header. Authentication Tokens are obtained from api/Security/Login (POST).
Returns the Physical Count Entry Transaction.

Request Information

Parameters

NameDescriptionAdditional information
RequestData
This is a JSON object containing Physical Count Entry Transaction creation data.

Create Physical Count Entry Transaction Example:
{
  "PhysicalCountEntry": {
    "WORKSHEET_DATE": "1/11/2016",
    "STORES_CODE": "A1",
  },
  "PhysicalCountEntryDetail": [
    {
      "PART_ID": "649N",
      "STOCK_LOCATION": "A1/BIN 08",
      "ML_LOCATION": "LOC_17",
      "LOT_ID": "LOT_55",
      "PHYSICAL_QTY": "50"
    },
    {
      "PART_ID": "649N",
      "STOCK_LOCATION": "A1/BIN 08",
      "ML_LOCATION": "LOC_17",
      "LOT_ID": "LOT_56",
      "PHYSICAL_QTY": "20"
    },
    {
      "PART_ID": "646-7229",
      "STOCK_LOCATION": "A1/BIN 12",
      "ML_LOCATION": "LOC_17",
      "LOT_ID": "",
      "PHYSICAL_QTY": "5"
    },
    {
      "PART_ID": "646-7239",
      "STOCK_LOCATION": "A1/BIN 12",
      "ML_LOCATION": "",
      "LOT_ID": "LOT_2016",
      "PHYSICAL_QTY": "1"
    }
  ]
}
Returns Physical Count Entry Transaction if successful.


Accepted Physical Count Entry Fields:
WORKSHEET_DATE, STORES_CODE

Accepted Physical Count Entry Data List Fields:
PART_ID, STOCK_LOCATION, ML_LOCATION, LOT_ID, 
PHYSICAL_QTY

Define this parameter in the request body.

Response Information

Success:
200/OK
Body contains JSON object with created Physical Count Entry Transaction.

Error:
400/Request JSON is invalid.
400/Request has no Transaction Header.
400/Request has no Transaction Details.
401/AuthToken was not provided.
401/AuthToken is malformed.
401/AuthToken is expired.
401/AuthToken login failure.
500/(Message)
Body contains JSON object with Message and MessageCode.

Returned Physical Count Entry Fields:
WORKSHEET_DATE, STORES_CODE, PART_ID

Returned Physical Count Entry Stock Status Data Fields:
BOOK_QTY, CREATED_BY, DATE_CREATED, DATE_LAST_ACT, DATE_LAST_ISSUE, DATE_LAST_PHY, DATE_LAST_PRINT, DATE_LAST_RECPT, DATE_LAST_UPDT, DATE_MODIFIED, MODIFIED_BY, ON_HAND_QTY, OPERATOR_ID, PHYSICAL_QTY, STOCK_LOCATION, TIME_LAST_UPDT

Returned Physical Count Entry Multi Location Data Fields:
BOOK_QTY, CREATED_BY, DATE_CREATED, DATE_LAST_ACT, DATE_LAST_ISSUE, DATE_LAST_PHY, DATE_LAST_PRINT, DATE_LAST_RECPT, DATE_LAST_UPDT, DATE_MODIFIED, MODIFIED_BY, ON_HAND_QTY, OPERATOR_ID, PHYSICAL_QTY, STOCK_LOCATION, TIME_LAST_UPDT

Returned Physical Count Entry Lot Status Data Fields:
BOOK_QTY, CREATED_BY, DATE_CREATED, DATE_LAST_ACT, DATE_LAST_ISSUE, DATE_LAST_PHY, DATE_LAST_PRINT, DATE_LAST_RECPT, DATE_LAST_UPDT, DATE_MODIFIED, LOT_ID, MODIFIED_BY, ON_HAND_QTY, OPERATOR_ID, PHYSICAL_QTY, TIME_LAST_UPDT