1. Inventory
V8STD
  • Index
  • Inventory
    • TrfRsAdj
      POST
    • GRConfirm
      POST
    • ItemStockOnHand
      POST
    • GRUpdate
      POST
    • QtyAdj
      POST
    • TrfRsOut
      POST
    • QtyAdjConfirm
      POST
    • StkCntUpdate
      POST
    • GoodsReturnUpdate
      POST
    • GoodsReturnConfirm
      POST
    • TrfRsIn
      POST
    • TrfReqConfirm
      POST
    • TrfReq
      POST
    • POUpdate
      POST
    • POStatusChange
      POST
    • TrfRsConfirm
      POST
  • Inventory Enquiry
    • enq_TrfRsOsNote
      POST
    • enq_TrfRs
      POST
  • Master
    • itemSearchTTPos
      POST
  • Master Export
    • barCodeExport
      POST
    • storeExport
      POST
    • staffExport
      POST
    • ReasonExport
      POST
    • itemPriceExport
      POST
    • itemMasterExport
      POST
    • tenderExport
      POST
  • Master Import
    • itemPriceImport
    • barcodeImport
    • itemMasterImport
    • staffImport
  • Sales
    • salesTransStd
    • salesValidate
    • salesVoid
    • salesMemoStdEnquiry
  • Vip
    • vipBonusAdjustVipStd
    • vipSearchVipStd
    • vipMasterBasicCreateVipStd
    • vipBonusEnquiryVipStd
  • Device Login
    • Get_APIKEY
  1. Inventory

TrfRsAdj

测试中
POST
/posservice/rest/trfrs/trfrsadj
doc_TrfRsAdj 转货调整单更改货品信息
该接口更新转货调整单更改货品信息,可以修改转入日期、转出转入的最终数量和库存类型、备注信息
This interface updates the transfer adjustment form to change the product information, which can modify the transfer date, final quantity and inventory type of the transfer, and remark information

请求参数

Authorization
在 header 添加参数
apiKey
示例:
apiKey: ********************
Body 参数application/json

示例
{
    "apiKey": "{{apiKey}}",
    "deleteDtl": [],
    "hdr": {
        "staffCode": "HQADMIN",
        "trfAdjRemark": null,
        "trfInDate": "2024-09-20",
        "trfInInvttype": 0,
        "trfInLedgerDateTime": null,
        "trfInReplFlag": "0",
        "trfInStore": "BJ002",
        "trfOutDate": "2024-09-20",
        "trfOutInvttype": 0,
        "trfOutLedgerDateTime": null,
        "trfOutReplFlag": "0",
        "trfOutStore": "BJ001",
        "txMethod": 32
    },
    "modifyDtl": [
        {
            "batchAlloc": null,
            "colorCode": null,
            "docRowID": 1,
            "docTraceFmSrc": null,
            "docTraceToDst": null,
            "inQty": 1.0,
            "itemCartonNum": "1",
            "itemLotNum": "*",
            "itemOrgID": "000000",
            "outQty": 2.0,
            "sizeCode": null,
            "styleCode": "10001111",
            "txMethod": 32
        },
        {
            "batchAlloc": null,
            "colorCode": "YELLO",
            "docRowID": 2,
            "docTraceFmSrc": null,
            "docTraceToDst": null,
            "inQty": 3.0,
            "itemCartonNum": "1",
            "itemLotNum": "*",
            "itemOrgID": "000001",
            "outQty": 4.0,
            "sizeCode": "L",
            "styleCode": "FF002",
            "txMethod": 32
        }
    ],
    "newDtl": [],
    "transHdr": {
        "docLockSequence": null,
        "docNo": "TUOHQO240900001",
        "docType": "SJ",
        "jobNum": null,
        "ledgerDatetime": null,
        "offlineMode": false,
        "orgPrefix": "HQ",
        "programName": null,
        "staffCode": "HQADMIN",
        "storeCode": "BJ001",
        "tillId": "00",
        "txAttrib": null,
        "txDate": "2024-09-20",
        "txSerial": null,
        "version": 3,
        "vipCode": null,
        "voidDocNo": null
    }
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/posservice/rest/trfrs/trfrsadj' \
--header 'apiKey: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "apiKey": "{{apiKey}}",
    "deleteDtl": [],
    "hdr": {
        "staffCode": "HQADMIN",
        "trfAdjRemark": null,
        "trfInDate": "2024-09-20",
        "trfInInvttype": 0,
        "trfInLedgerDateTime": null,
        "trfInReplFlag": "0",
        "trfInStore": "BJ002",
        "trfOutDate": "2024-09-20",
        "trfOutInvttype": 0,
        "trfOutLedgerDateTime": null,
        "trfOutReplFlag": "0",
        "trfOutStore": "BJ001",
        "txMethod": 32
    },
    "modifyDtl": [
        {
            "batchAlloc": null,
            "colorCode": null,
            "docRowID": 1,
            "docTraceFmSrc": null,
            "docTraceToDst": null,
            "inQty": 1.0,
            "itemCartonNum": "1",
            "itemLotNum": "*",
            "itemOrgID": "000000",
            "outQty": 2.0,
            "sizeCode": null,
            "styleCode": "10001111",
            "txMethod": 32
        },
        {
            "batchAlloc": null,
            "colorCode": "YELLO",
            "docRowID": 2,
            "docTraceFmSrc": null,
            "docTraceToDst": null,
            "inQty": 3.0,
            "itemCartonNum": "1",
            "itemLotNum": "*",
            "itemOrgID": "000001",
            "outQty": 4.0,
            "sizeCode": "L",
            "styleCode": "FF002",
            "txMethod": 32
        }
    ],
    "newDtl": [],
    "transHdr": {
        "docLockSequence": null,
        "docNo": "TUOHQO240900001",
        "docType": "SJ",
        "jobNum": null,
        "ledgerDatetime": null,
        "offlineMode": false,
        "orgPrefix": "HQ",
        "programName": null,
        "staffCode": "HQADMIN",
        "storeCode": "BJ001",
        "tillId": "00",
        "txAttrib": null,
        "txDate": "2024-09-20",
        "txSerial": null,
        "version": 3,
        "vipCode": null,
        "voidDocNo": null
    }
}'

返回响应

🟢200成功
application/json
Body

示例
{
    "errorCode": 0,
    "errorLog": "string",
    "errorMessage": "string"
}
🟢200处理数据失败
🟠404响应失败
修改于 2024-09-20 04:18:20
上一页
Index
下一页
GRConfirm
Built with