Create Purchase Order Detail Line
    • 06 Jan 2025
    • 2 Minutes to read
    • Dark
      Light

    Create Purchase Order Detail Line

    • Dark
      Light

    Article summary

    Post
    /po-rest-api/rest/1/podetail

    Create Purchase Order Detail Lines

    Security
    HTTP
    Type basic

    Basic authentication

    Header parameters
    Content-Type
    string
    Exampleapplication/vnd.oracle.adf.resourceItem+json
    Body parameters
    object
    Example{ "PosCalledFromAppCode": "PO", "PosPoItemType": "F", "PosCompCode": "001", "PosReleaseNum": "1", "PosPoNum": "23.000001", "PosUserTypeCode": "J", "PosUserField1": "001", "PosUserField2": "01JOB", "PosUserField3": "00010", "PosUserField4": "L", "PosItmCode": "MATERIALS", "PosItmName": "Structural Concrete", "PosItemLocCode": "null", "PosCiitemtypCode": "N", "PosWmCode": "NA", "PosDesc": "test", "PosExptdPriceAmt": "1", "PosExtdAmt": "10", "PosOrdQty": "10", "PosRecIntoInvFlag": "N", "PosTacSetupFlag": "N", "PosWbsSetupFlag": "N" }
    PosUserTypeCode
    string

    Distribution Type for Summary table

    💻 UI Fieldname: PosUserTypeCode

    Max length3
    PosUserField3
    string

    Cost Code or account or the first field from user defined distribution

    💻 UI Fieldname: PosUserField3

    Max length60
    PosItmCode
    string

    Item Code

    💻 UI Fieldname: PosItmCode

    Max length16
    PosUserField4
    string

    Category or the first field from user defined distribution

    💻 UI Fieldname: PosUserField4

    Max length60
    PosCalledFromAppCode
    string

    Called from app code

    💻 UI Fieldname: PosCalledFromAppCode

    Max length4
    PosItemLocCode
    string

    Location Code for Inventory Items

    💻 UI Fieldname: PosItemLocCode

    Max length7
    PosCiitemtypCode
    string

    Inventory Item Type

    💻 UI Fieldname: PosCiitemtypCode

    Max length2
    PosCompCode
    string

    PO Company Code

    💻 UI Fieldname: PosCompCode

    Max length8
    PosReleaseNum
    number

    PO Release Number

    💻 UI Fieldname: PosReleaseNum

    Max length2211
    PosUserField1
    string

    Company Code or the first field from user defined distribution

    💻 UI Fieldname: PosUserField1

    Max length60
    PosUserField2
    string

    Job or Department or the first field from user defined distribution

    💻 UI Fieldname: PosUserField2

    Max length60
    PosExptdPriceAmt
    number

    Expected Price Amount

    💻 UI Fieldname: PosExptdPriceAmt

    Max length22
    PosWmCode
    string

    Weight Measure Code

    💻 UI Fieldname: PosWmCode

    Max length2
    PosDesc
    string

    Line Comments

    💻 UI Fieldname: PosDesc

    Max length4000
    PosWbsSetupFlag
    string

    Wbs setup flag

    💻 UI Fieldname: PosWbsSetupFlag

    Max length4000
    PosPoNum
    string

    PO Number

    💻 UI Fieldname: PosPoNum

    Max length11
    PosExtdAmt
    number

    Extended amount

    💻 UI Fieldname: PosExtdAmt

    Max length22
    PosRecIntoInvFlag
    string

    POS REC INTO INV FLAG

    💻 UI Fieldname: PosRecIntoInvFlag

    Max length1
    PosTacSetupFlag
    string

    Tac setup flag

    💻 UI Fieldname: PosTacSetupFlag

    Max length4000
    PosOrdQty
    number

    Ordered Qty

    💻 UI Fieldname: PosOrdQty

    Max length2216
    PosItmName
    string

    Item Name

    💻 UI Fieldname: PosItmName

    Max length4000
    PosPoItemType
    string

    PO Item Type

    💻 UI Fieldname: PosPoItemType

    Max length1
    Responses
    201

    Created

    Headers
    Content-Type
    string
    Exampleapplication/vnd.oracle.adf.resourceitem+json
    {
      "PosCalledFromAppCode": "PO",
      "PosCatName": null,
      "PosCiitemtypCode": "N",
      "PosClassCode": null,
      "PosCompCode": "001",
      "PosDesc": "test",
      "PosExptdDate": null,
      "PosExptdPriceAmt": 1,
      "PosExtdAmt": 10,
      "PosItemLocCode": "null",
      "PosItmCode": "MATERIALS",
      "PosItmName": "Structural Concrete",
      "PosJobName": null,
      "PosLineNum": 2,
      "PosMaxOnhandQty": null,
      "PosMaxOrderQty": null,
      "PosMinOnhandQty": null,
      "PosMinOrderQty": null,
      "PosOnHandQty": null,
      "PosOnOrderQty": null,
      "PosOrdQty": 10,
      "PosPhsName": null,
      "PosPoItemType": "F",
      "PosPoNum": "23.000001",
      "PosRecIntoInvFlag": "N",
      "PosReleaseNum": 1,
      "PosStdOrderQty": null,
      "PosTacSetupFlag": "N",
      "PosTax1Code": null,
      "PosTax1OnTaxFlag": null,
      "PosTax1Perc": null,
      "PosTax1TaxableFlag": null,
      "PosTax2Code": null,
      "PosTax2OnTaxFlag": null,
      "PosTax2Perc": null,
      "PosTax2TaxableFlag": null,
      "PosTax3Code": null,
      "PosTax3OnTaxFlag": null,
      "PosTax3Perc": null,
      "PosTax3TaxableFlag": null,
      "PosTaxAmt": null,
      "PosTotAmt": null,
      "PosUserField1": "001",
      "PosUserField2": "01JOB",
      "PosUserField3": "00010",
      "PosUserField4": "L",
      "PosUserField5": null,
      "PosUserField6": null,
      "PosUserField7": null,
      "PosUserField8": null,
      "PosUserFieldEdtFlag5": null,
      "PosUserFieldEdtFlag6": null,
      "PosUserFieldEdtFlag7": null,
      "PosUserFieldEdtFlag8": null,
      "PosUserFieldName5": null,
      "PosUserFieldName6": null,
      "PosUserFieldName7": null,
      "PosUserFieldName8": null,
      "PosUserTypeCode": "J",
      "PosPomstVUuid": null,
      "PosVUuid": "F7FB90F5C3F214DDE05316821FAC502E",
      "PosWbsSetupFlag": "N",
      "PosWbsvCode1": null,
      "PosWbsvCode10": null,
      "PosWbsvCode11": null,
      "PosWbsvCode12": null,
      "PosWbsvCode2": null,
      "PosWbsvCode3": null,
      "PosWbsvCode4": null,
      "PosWbsvCode5": null,
      "PosWbsvCode6": null,
      "PosWbsvCode7": null,
      "PosWbsvCode8": null,
      "PosWbsvCode9": null,
      "PosWmCode": "NA",
      "PosIuCreateDate": null,
      "PosIuUpdateDate": null,
      "PosLumpSumPoFlag": null,
      "links": [
        {
          "rel": "self",
          "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/po-rest-api/rest/1/podetail/F7FB90F5C3F214DDE05316821FAC502E",
          "name": "podetail",
          "kind": "item"
        },
        {
          "rel": "canonical",
          "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/po-rest-api/rest/1/podetail/F7FB90F5C3F214DDE05316821FAC502E",
          "name": "podetail",
          "kind": "item"
        }
      ]
    }
    object