Create an Inventory Issue
    • 25 Sep 2024
    • 2 Minutes to read
    • Dark
      Light

    Create an Inventory Issue

    • Dark
      Light

    Article summary

    Post
    /ci-rest-api/rest/1/ciinventoryissue

    Create Inventory Issues

    Security
    HTTP
    Type basic

    Basic authentication

    Header parameters
    Content-Type
    string
    Exampleapplication/vnd.oracle.adf.resourceItem+json
    Body parameters
    object
    Example{ "CitrnCompCode": "001", "CitrnTranType": "J", "CitrnRefDate": "2022-11-16T18:34:45-04:00", "CitrnToFromCompCode": "001", "CitrnItemCode": "01003500", "CitrnItemTypeCode": "SA", "CitrnLocCode": "WHSE", "CitrnJobDeptWorderEqup": "14001", "CitrnPhsAccWitemComponcat": "01430", "CitrnCatExpTrancode": "O", "CitrnPostBchFlag": "N", "CitrnVUuid": "" }
    CitrnToFromCompCode
    string Required

    To/From Company Code

    CitrnJobDeptWorderEqup
    string Required

    If CitrnTranType = 'J', then this is the Job Code If CitrnTranType = 'G', then this is the Department Code If CitrnTranType = 'W', then this is the Work Order Code If CitrnTranType = 'E', then this is the Equipment Code

    CitrnPhsAccWitemComponcat
    string Required

    If CitrnTranType = 'J', then this is the Phase Code If CitrnTranType = 'G', then this is the Account Code If CitrnTranType = 'W', then this is the Work Item Line Number If CitrnTranType = 'E', then this is the Equipment Category Code

    CitrnRefDate

    Reference date

    CitrnVUuid
    string

    Unique Row ID, leave empty

    CitrnTranType
    string Required

    Transaction Type. Must be one of 'J','G','E', 'W'. J - Job G - General Ledger W - Work order E - Equipment code

    CitrnCompCode
    string Required

    Key Value 1. Company Code

    CitrnLocCode
    string

    Location code

    CitrnCatExpTrancode
    string Required

    If CitrnTranType = 'J', then this is the Category Code If CitrnTranType = 'G', then leave blank If CitrnTranType = 'W', then this is the Work Order Expense Code If CitrnTranType = 'E', then this is the Transaction Code

    CitrnItemTypeCode
    string

    Item type code

    CitrnItemCode
    string

    Item code

    CitrnPostBchFlag
    string

    Post batch flag

    Responses
    201

    Created

    Headers
    Content-Type
    string
    Exampleapplication/vnd.oracle.adf.resourceitem+json
    {
      "CitrnCompCode": "001",
      "CitrnCompName": null,
      "CitrnTranType": "J",
      "CitrnTranTypeName": null,
      "CitrnBchNum": 4461353,
      "CitrnBchName": null,
      "CitrnJobDeptWorderEqup": "14001",
      "CitrnPhsAccWitemComponcat": "01430",
      "CitrnCatExpTrancode": "O",
      "CitrnTranNum": null,
      "CitrnSubstItemFlag": null,
      "CitrnActionCode": null,
      "CitrnItemClassCode": null,
      "CitrnItemClassName": null,
      "CitrnItemCode": "01003500",
      "CitrnItemName": null,
      "CitrnItemTypeCode": "SA",
      "CitrnItemTypeName": null,
      "CitrnItemWmCode": null,
      "CitrnItemWmName": null,
      "CitrnLocCode": "WHSE",
      "CitrnLocName": null,
      "CitrnReqQty": null,
      "CitrnQty": null,
      "CitrnToFromLocCode": null,
      "CitrnToFromLocName": null,
      "CitrnToFromItemClassCode": null,
      "CitrnToFromItemClassName": null,
      "CitrnToFromItemCode": null,
      "CitrnToFromItemName": null,
      "CitrnToFromItemTypeCode": null,
      "CitrnToFromItemTypeName": null,
      "CitrnToFromWmCode": null,
      "CitrnToFromWmName": null,
      "CitrnToFromQty": null,
      "CitrnToFromCompCode": "001",
      "CitrnToFromCompName": null,
      "CitrnToFromDeptCode": null,
      "CitrnToFromDeptName": null,
      "CitrnToFromAccCode": null,
      "CitrnToFromAccName": null,
      "CitrnToFromJobCode": null,
      "CitrnToFromJobName": null,
      "CitrnToFromPhaseCode": null,
      "CitrnToFromPhaseName": null,
      "CitrnToFromCatCode": null,
      "CitrnToFromCatName": null,
      "CitrnToFromEqpCode": null,
      "CitrnToFromEqpName": null,
      "CitrnToFromComponCode": null,
      "CitrnToFromComponName": null,
      "CitrnToFromTrancodeCode": null,
      "CitrnToFromTrancodeName": null,
      "CitrnRefDate": "2022-11-16T10:34:45Z",
      "CitrnRefCode": null,
      "CitrnRefDesc": null,
      "CitrnSrcCode": null,
      "CitrnSrcDesc": null,
      "CitrnReqNum": null,
      "CitrnReqReleaseNum": null,
      "CitrnReqLineNum": null,
      "CitrnWbsvCode1": null,
      "CitrnWbsvCode2": null,
      "CitrnWbsvCode3": null,
      "CitrnWbsvCode4": null,
      "CitrnWbsvCode5": null,
      "CitrnWbsvCode6": null,
      "CitrnWbsvCode7": null,
      "CitrnWbsvCode8": null,
      "CitrnWbsvCode9": null,
      "CitrnWbsvCode10": null,
      "CitrnWbsvCode11": null,
      "CitrnWbsvCode12": null,
      "CitrnPmCode": null,
      "CitrnMovedToInvFlag": null,
      "CitrnFromAllocQty": null,
      "CitrnRecPriceAmt": null,
      "CitrnRecCurrCode": null,
      "CitrnSalesTax1Code": null,
      "CitrnSalesTax1Name": null,
      "CitrnSalesTax2Code": null,
      "CitrnSalesTax2Name": null,
      "CitrnSalesTax3Code": null,
      "CitrnSalesTax3Name": null,
      "CitrnTicketNumber": null,
      "CitrnTicketPrintFlag": null,
      "CitrnTranSnNum": null,
      "CitrnSalesTax1TaxableFlag": null,
      "CitrnSalesTax2TaxableFlag": null,
      "CitrnSalesTax3TaxableFlag": null,
      "CitrnOverrideAmt": null,
      "CitrnWoCode": null,
      "CitrnWoName": null,
      "CitrnWitmLineNumber": null,
      "CitrnWitmLineName": null,
      "CitrnWoExpCode": null,
      "CitrnWoExpName": null,
      "CitrnWoTranType": null,
      "CitrnWDetailCode": null,
      "CitrnSalesTax1Amt": null,
      "CitrnSalesTax2Amt": null,
      "CitrnSalesTax3Amt": null,
      "CitrnOverrideCostAmt": null,
      "CitrnStockQty": null,
      "CitrnStockWmCode": null,
      "CitrnWmConvNum": null,
      "CitrnRowid": null,
      "CitrnIuCreateDate": null,
      "CitrnIuUpdateDate": null,
      "CitrnJobDeptWoEqpName": null,
      "CitrnPhsaccWitemcompcatName": null,
      "CitrnCatExpTranName": null,
      "CitrnSuggestedPrice": null,
      "CitrnTotalPrice": null,
      "CitrnOnhandQty": null,
      "CitrnConvQty": null,
      "CitrnUserField5": null,
      "CitrnUserField6": null,
      "CitrnUserField7": null,
      "CitrnUserField8": null,
      "CitrnCalledFromAppCode": null,
      "CitrnUserFieldEdtFlag5": null,
      "CitrnUserFieldEdtFlag6": null,
      "CitrnUserFieldEdtFlag7": null,
      "CitrnUserFieldEdtFlag8": null,
      "CitrnUserFieldName5": null,
      "CitrnUserFieldName6": null,
      "CitrnUserFieldName7": null,
      "CitrnUserFieldName8": null,
      "CitrnWbsSetupFlag": null,
      "CitrnTacSetupFlag": null,
      "CitrnPostDate": null,
      "CitrnVUuid": "F30FFA29B6A1452FE05316821FACEDB1",
      "CitrnPostBchFlag": "N",
      "links": [
        {
          "rel": "self",
          "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/ci-rest-api/rest/1/ciinventoryissue/F30FFA29B6A1452FE05316821FACEDB1",
          "name": "ciinventoryissue",
          "kind": "item"
        },
        {
          "rel": "canonical",
          "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/ci-rest-api/rest/1/ciinventoryissue/F30FFA29B6A1452FE05316821FACEDB1",
          "name": "ciinventoryissue",
          "kind": "item"
        }
      ]
    }
    object