Crossdock

This function lets you receive goods and immediately place it on an outbound order. It is intended to be used in crossdocking situations. Please contact Ongoing if you want to use it, as it requires some additional setup.

Tags: CrossDock, CrossDockOperation, ByUser, InOrder_CrossDock, ArticleItemStatus_CrossDock, CrossDockResponse, CrossDockResult, CrossDockError, ReceivedArticleItem_CrossDock, InOrderLineSummary_CrossDock, OrderInfo_CrossDock, OrderLineInfo_CrossDock

Request XML

POST /xxx/Automation.asmx HTTP/1.1
Host: api.ongoingsystems.se
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://ongoingsystems.se/Automation/CrossDock"

<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <CrossDock xmlns="http://ongoingsystems.se/Automation">
      <UserName>string</UserName>
      <Password>string</Password>
      <Operation>
        <ArticleDefId>int</ArticleDefId>
        <ReceivedByUser>
          <UserName>string</UserName>
        </ReceivedByUser>
        <PalletItemId>int</PalletItemId>
        <NumberOfItems>decimal</NumberOfItems>
        <Serial>string</Serial>
        <Batch>string</Batch>
        <Comment>string</Comment>
        <Container>string</Container>
        <Length>decimal</Length>
        <Width>decimal</Width>
        <Height>decimal</Height>
        <Weight>decimal</Weight>
        <Volume>decimal</Volume>
        <IsLockedByItemLock>boolean</IsLockedByItemLock>
        <AllowReceiveMoreThanAdvised>boolean</AllowReceiveMoreThanAdvised>
        <ExpiryDate>dateTime</ExpiryDate>
        <InOrder>
          <InOrderLineId>int</InOrderLineId>
        </InOrder>
        <ArticleItemStatus>
          <ArticleItemStatusId>int</ArticleItemStatusId>
        </ArticleItemStatus>
        <Location>string</Location>
      </Operation>
    </CrossDock>
  </soap:Body>
</soap:Envelope>

Request specification

CrossDock
UserName string(50) Req. Your username
Password string(50) Req. Your password
Operation CrossDockOperation Req. The operation object
CrossDockOperation
ArticleDefId int
ReceivedByUser ByUser An element of type ByUser.
PalletItemId int
NumberOfItems decimal
Serial string
Batch string
Comment string
Container string
Length decimal
Width decimal
Height decimal
Weight decimal
Volume decimal
IsLockedByItemLock boolean
AllowReceiveMoreThanAdvised boolean
ExpiryDate dateTime
InOrder InOrder_CrossDock An element of type InOrder_CrossDock.
ArticleItemStatus ArticleItemStatus_CrossDock An element of type ArticleItemStatus_CrossDock.
Location string
ByUser
UserName string(50) Req. The name of the user. Must be an actual user in Ongoing WMS. Will be set as the user that performed the packing.
InOrder_CrossDock
InOrderLineId int
ArticleItemStatus_CrossDock
ArticleItemStatusId int

Response XML

<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <CrossDockResponse xmlns="http://ongoingsystems.se/Automation">
      <CrossDockResult>
        <Errors>
          <CrossDockError>
            <Message>string</Message>
            <ErrorType>UnknownError or LogonError or LocationNotFound or ArticleNotFound or ArticleIsDeleted or ArticleIsNotStockArticle or GoodsOwnerIsDeleted or InOrderIdNotFound or InOrderLineNotFound or InOrderLineIdMissMatch or NumberOfItemsToReceiveGreaterThanLeftToReceiveOnInOrder or PalletItemIdNotFound or ErrorWhileSaving or ReceivedByUserError or ArticleItemStatusNotFound or ArticleItemCategoryNotFound or InvalidNumberOfItems or InvalidFieldValues or ReceiveMoreThanAdvisedNotAllowed</ErrorType>
          </CrossDockError>
          <CrossDockError>
            <Message>string</Message>
            <ErrorType>UnknownError or LogonError or LocationNotFound or ArticleNotFound or ArticleIsDeleted or ArticleIsNotStockArticle or GoodsOwnerIsDeleted or InOrderIdNotFound or InOrderLineNotFound or InOrderLineIdMissMatch or NumberOfItemsToReceiveGreaterThanLeftToReceiveOnInOrder or PalletItemIdNotFound or ErrorWhileSaving or ReceivedByUserError or ArticleItemStatusNotFound or ArticleItemCategoryNotFound or InvalidNumberOfItems or InvalidFieldValues or ReceiveMoreThanAdvisedNotAllowed</ErrorType>
          </CrossDockError>
        </Errors>
        <Success>boolean</Success>
        <ReceivedArticleItems>
          <ReceivedArticleItem_CrossDock>
            <ArticleItemId>int</ArticleItemId>
            <NumberOfItems>decimal</NumberOfItems>
            <LocationId>int</LocationId>
            <Order>
              <OrderId>int</OrderId>
              <OrderLine>
                <OrderLineId>int</OrderLineId>
              </OrderLine>
            </Order>
          </ReceivedArticleItem_CrossDock>
          <ReceivedArticleItem_CrossDock>
            <ArticleItemId>int</ArticleItemId>
            <NumberOfItems>decimal</NumberOfItems>
            <LocationId>int</LocationId>
            <Order>
              <OrderId>int</OrderId>
              <OrderLine>
                <OrderLineId>int</OrderLineId>
              </OrderLine>
            </Order>
          </ReceivedArticleItem_CrossDock>
        </ReceivedArticleItems>
        <InOrderLineSummary>
          <InOrderId>int</InOrderId>
          <InOrderLineId>int</InOrderLineId>
          <AdvisedNumberOfItems>decimal</AdvisedNumberOfItems>
          <ReceivedNumberOfItems>decimal</ReceivedNumberOfItems>
        </InOrderLineSummary>
      </CrossDockResult>
    </CrossDockResponse>
  </soap:Body>
</soap:Envelope>

Response specification

CrossDockResponse
CrossDockResult CrossDockResult
CrossDockResult
Errors CrossDockError[]
Success boolean
ReceivedArticleItems ReceivedArticleItem_CrossDock[]
InOrderLineSummary InOrderLineSummary_CrossDock An element of type InOrderLineSummary_CrossDock.
CrossDockError
Message string
ErrorType enum An element of type CrossDockErrorType.
ReceivedArticleItem_CrossDock
ArticleItemId int
NumberOfItems decimal
LocationId int
Order OrderInfo_CrossDock An element of type OrderInfo_CrossDock.
InOrderLineSummary_CrossDock
InOrderId int Ongoing WMS internal id of the Inorder
InOrderLineId int Ongoing WMS internal id of the inorder line
AdvisedNumberOfItems decimal Number of advised items on this inorder line
ReceivedNumberOfItems decimal Number of received items on this inorder line
OrderInfo_CrossDock
OrderId int
OrderLine OrderLineInfo_CrossDock An element of type OrderLineInfo_CrossDock.
OrderLineInfo_CrossDock
OrderLineId int