Create Purchase Order Detail Line
  • 06 Jan 2025
  • 4 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

UI Location: ASSET MANAGEMENT - Purchase Order - Process - Enter Purchse Order

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" }
PodetCatCode
string

Job Category Code

Max length16
PodetSiNum
number
Max length5
PodetAdjPriceAmt
number
PodetPostToApState
string
Max length1
PodetCompCode
string
Max length8
PodetWipDeptCode
string
Max length6
PodetCloseReasonCode
string
Max length10
PodetWbsSetupFlag
string
Max length4000
PodetBchNum
number
Max length11
PodetIvCode
string

Y-Inventory Item, N-Non Stock Item, NULL-Free Form Item

Max length1
PodetAllocatedQty
number
Max length16
PodetSwoOraseq
number
Max length11
PodetVarDeptCode
string
Max length6
PodetDeptCode
string
Max length6
PodetLstOrdQty
number
Max length16
PodetCostAmt
number
PodetOrdWmCode
string
Max length2
PodetWipAccCode
string
Max length16
PodetWbsvCode11
string
Max length60
PodetWbsvCode10
string
Max length60
PodetTax2Code
string
Max length11
PodetEcEqpCode
string
Max length10
PodetRecIntoInvFlag
string

💻 UI Fieldname: Rec Inv

Max length1
PodetIuUpdateDate
string
PodetJobCtrlCode
string
Max length10
PodetPhsCtrlCode
string

Control Phase Code

Max length16
PodetTendpackCode
string
Max length10
PodetPaytodateQty
number
Max length16
PodetLineChgFlag
string
Max length1
PodetExptdDate
string
PodetTypeCode
string
Max length2
PodetCiitemtypCode
string
Max length2
PodetItmName
string
Max length4000
PodetItemAllowAltWmFlag
string
Max length1
PodetRecDate
string
PodetWitmLineNumber
number
Max length16
PodetWbsvCode12
string
Max length60
PodetUserFieldEdtFlag5
string
Max length4000
PodetUserField4
string

User defined column 4

Max length60
PodetUserField3
string

User defined column 3

💻 UI Fieldname: Cost Code/Acc/Compon/WI

Max length60
PodetStdCostAmt
number
PodetUserField6
string

User defined column 6

Max length60
PodetUserField5
string

User defined column 5

Max length60
DiscriminatorCode
string
PodetClaimQty
number
Max length16
PodetUserField8
string

User defined column 8

Max length60
PodetRowid
string
PodetRejtodateQty
number
Max length16
PodetUserField7
string

User defined column 7

Max length60
PodetShplCode
string
Max length10
PodetComponCode
string

Equipment Category Code

Max length8
PodetUserFieldEdtFlag8
string
Max length4000
PodetUserFieldEdtFlag7
string
Max length4000
PodetExptdPriceAmt
number

💻 UI Fieldname: Price

PodetUserFieldEdtFlag6
string
Max length4000
PodetTenantId
string
Max length30
PodetWmCode
string

💻 UI Fieldname: WM

Max length2
PodetVUuid
string

Column for unique identification during use of JSON webservices with external systems

Max length64
PodetUserField2
string

User defined column 2

💻 UI Fieldname: Job/Dept/Eqp/WO

Max length60
PodetUserField1
string

User defined column 1

💻 UI Fieldname: Company

Max length60
PodetIuCreateUser
string
Max length30
PodetItmCode
string

💻 UI Fieldname: * Item

Max length16
PodetRecQty
number
Max length16
PodetItmtypCode
string
Max length2
PodetWbsvPciLineOraseq
number

Is Being Used For To Make WBSV PCI Line Unique

PodetTxt2Code
string
Max length8
PodetRectodateQty
number
PodetInvtodateQty
number
Max length16
PodetUserFieldName6
string
Max length4000
PodetUserFieldName7
string
Max length4000
PodetUserFieldName8
string
Max length4000
PodetUserTypeCode
string

User defined distribution type

💻 UI Fieldname: Dist

Max length3
PodetIuUpdateUser
string
Max length30
PodetUserFieldName5
string
Max length4000
PodetClaimtodateQty
number
Max length16
PodetInvTypeCode
string
Max length1
PodetCloseCode
string
Max length1
PodetWoCode
string
Max length10
PodetItemWmCode
string
Max length2
PodetActPriceAmt
number
PodetSrcCompCode
string
Max length8
PodetLstCostAmt
number
PodetClassCode
string
Max length4
PodetPoItemType
string

💻 UI Fieldname: Item Type

Max length1
PodetEqpCode
string
Max length10
PodetPhsCode
string

Phase Code

Max length16
PodetCurrCode
string
Max length3
PodetTax3TaxableFlag
string

Flag to indicate that a tax code exists but the tax amount will be calculated as zero. Valid values are (Y)es - meaning taxable and (N)o - meaning non taxable.

Max length1
PodetRecTrnNum
number
Max length11
PodetDesc
string
Max length4000
PodetLineNum
number
Max length3
PodetAvgCostAmt
number
PodetQuoteNum
number
Max length11
PodetCatCtrlCode
string
Max length16
PodetPmItemOraseq
number
PodetLocCode
string
Max length5
PodetIvAccCode
string
Max length16
PodetTax1Code
string
Max length11
PodetSiMastJobCode
string
Max length10
PodetOrdQty
number

💻 UI Fieldname: Quantity

Max length16
PodetRejQty
number
Max length16
PodetInvQty
number
Max length16
PodetStatCode
string
Max length1
PodetIuCreateDate
string
PodetReleaseNum
number
Max length11
PodetIvDeptCode
string
Max length6
PodetTax3Code
string
Max length11
PodetPosOraseq
number

PO Summary Object Oraseq used for linking Summary and Detail

PoderExtendedAmt
number
PodetWbsvCode5
string
Max length60
PodetWbsvCode6
string
Max length60
PodetWbsvCode3
string
Max length60
PodetWbsvCode4
string
Max length60
PodetWbsvCode1
string
Max length60
PodetWbsvCode2
string
Max length60
PodetItemLocCode
string

💻 UI Fieldname: Location

Max length7
PodetTavCode1
string
Max length10
PodetWDetailCode
string
Max length30
PodetNum
string
Max length11
PodetTacSetupFlag
string
Max length4000
PodetWbsvCode9
string
Max length60
PodetWbsvCode7
string
Max length60
PodetWbsvCode8
string
Max length60
PodetObjectOraseq
number
PodetEcCstCode
string
Max length6
PodetTavCode3
string
Max length10
PodetTavCode2
string
Max length10
PodetPoTypeCode
string
Max length1
PodetTrancodeCode
string
Max length4
PodetTavCode4
string
Max length10
PodetSiLineNum
number
Max length3
PodetTxt1Code
string
Max length8
PodetVarAccCode
string
Max length16
PodetTax2TaxableFlag
string

Flag to indicate that a tax code exists but the tax amount will be calculated as zero. Valid values are (Y)es - meaning taxable and (N)o - meaning non taxable.

Max length1
PodetPayQty
number
Max length16
PodetPmCode
string
Max length30
PodetTendpackLineNum
number
Max length3
PodetSubLineNum
number
Max length3
PodetOrdTrnNum
number
Max length11
PodetTax1TaxableFlag
string

Flag to indicate that a tax code exists but the tax amount will be calculated as zero. Valid values are (Y)es - meaning taxable and (N)o - meaning non taxable.

Max length1
PodetExpCode
string
Max length4
PodetJobCode
string
Max length10
PodetTxt3Code
string
Max length8
PodetInvWmCode
string
Max length2
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