Create Purchase Order Header
  • 06 Jan 2025
  • 5 Minutes to read
  • Dark
    Light

Create Purchase Order Header

  • Dark
    Light

Article summary

Post
/po-rest-api/rest/1/pomaster

Create Purchase Order Headers

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{ "PomstBuyCode": "CMICUSER", "PomstChgCode": "O", "PomstCompCode": "001", "PomstJobCompCode": "001", "PomstComplianceFlag": "Y", "PomstCurrCode": "USD", "PomstDefaultRecCode": "M", "PomstDistTypeCode": "M", "PomstExptdDate": "2022-12-21", "PomstNum": "16.00099", "PomstOrdDate": "2022-12-21", "PomstPoAmount": 167.9, "PomstReleaseNum": 1.0, "PomstReprintDate": null, "PomstReqCode": "CMICUSER", "PomstReqNum": "RQ000093", "PomstSelectFlag": "N", "PomstStatCode": "O", "PomstStateDesc": "Processed", "PomstTermCode": "NET30", "PomstTermDiscDay": 0.0, "PomstTermDiscPc": 0.0, "PomstTermDueDay": 30.0, "PomstTermName": "Net 30", "PomstTypeCode": "S", "PomstVUuid": "", "PomstVenCode": "1159", "PomstWkfPriorityCode": "1" }
PomstTermDueDay
number Required

Term due date

Max length3
PomstBuyCode
string Required

Buy code

💻 UI Fieldname: Buyer

Max length30
PomstReprintDate
string Required

Reprint date

PomstCurrCode
string Required

Currency code

💻 UI Fieldname: Currency

Max length3
PomstTermDiscPc
number Required

Not used

Max length5
PomstTermCode
string Required

Term code

Max length6
PomstStatCode
string Required

Statistics code

Max length1
PomstReleaseNum
number Required

Release number

💻 UI Fieldname: Release #

Max length11
PomstVUuid
string Required

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

Max length64
PomstNum
string Required

Master number

Max length11
PomstComplianceFlag
string Required
Max length1
PomstExptdDate
string Required

Expected date

💻 UI Fieldname: Expected Date

PomstJobCompCode
string Required

Associated to the pomst_job_comp_code. It is null if the Job is not entered. Defaults to pomst_comp_code if the Job code is entered

💻 UI Fieldname: PO Comp

Max length8
PomstReqNum
string Required

Request number

Max length4000
PomstVenCode
string Required

Vendor code

💻 UI Fieldname: Vendor Code

Max length8
PomstTermDiscDay
number Required

Not used

Max length3
PomstChgCode
string Required

Change code

Max length1
PomstCompCode
string Required

Company code

Max length8
PomstTypeCode
string Required

Type code

💻 UI Fieldname: Type

Max length1
PomstStateDesc
string Required

Statement description

Max length12
PomstReqCode
string Required

Request code

💻 UI Fieldname: Requester

Max length30
PomstOrdDate
string Required

Order date

💻 UI Fieldname: Order Date

PomstPoAmount
number Required

Purchase order amount

💻 UI Fieldname: Po total Amount

PomstWkfPriorityCode
string Required
Max length1
PomstTermName
string Required

Term namm

Max length30
PomstSelectFlag
string Required
Max length1
PomstDistTypeCode
string Required

Distribution Type for header. Used in ADF Program

💻 UI Fieldname: Distribution Type

Max length1
PomstDefaultRecCode
string Required

Indicates How POs Are Received - Manually (M) Or Automatically (A). This Will Override The Control File Flag

💻 UI Fieldname: Normal Receiving

Max length1
PomstCompName
string

Company name

Max length30
PomstTxt2Code
string
Max length8
PomstIuUpdateDate
string
PomstCurrConvNum
number

Currency conversion number

Max length16
PomstJobCode
string

If filled, it restricts the PO to a single Job so that the J lines can only have this job or its children.

💻 UI Fieldname: Job Code

Max length10
PomstReqName
string

Request name

Max length30
PomstOrigBidpAmt
number
Max length18
PomstVendOrderAddCode
string

💻 UI Fieldname: Address

Max length5
PomstRoutJobCode
string

Job code used to override workflow routing lookups.

💻 UI Fieldname: Routing Job

Max length10
PomstImageFilename
string

Image file name

Max length255
PomstShipinstTxt2Code
string

Tax 2

Max length8
PomstVenName
string

Vendor name

Max length50
PomstShpmetName
string

Shipment name

Max length30
PomstRecDate
string

Receive date

PomstRowid
string
PomstIuUpdateUser
string
Max length30
PomstBilltoAddName
string

Bill to address name

Max length195
PomstHoldPaymentDays
number

Number Of Days To Hold Payment After The Owner Payment Is Made

Max length4
PomstShplneName
string
Max length30
PomstDesc1
string

Description 1

Max length2000
PomstDesc2
string

Description 2

Max length2000
PomstShipinstTxt4Code
string

Tax 4

Max length8
PomstPorgrCode
string
Max length8
PomstUserField3
string

Category for the header distribution info. Used in ADF Program

Max length60
PomstUserField2
string

Cost Code/Account for the header distribution info. Used in ADF Program

💻 UI Fieldname: Cost Code / Account

Max length60
PomstUserField1
string

Job/Dept for the header distribution info. Used in ADF Program

💻 UI Fieldname: Job / Dept

Max length60
PomstHoldPaymentFlag
string

Payment Has To Be Hold Until The Owner Payment Is Made

Max length1
DiscriminatorCode
string
PomstShpinstDesc
string
Max length2000
PomstRefDate
string

Reference date

PomstContactName
string
Max length40
PomstSwoOraseq
number
Max length11
PomstSuspDeptName
string

Suspense Department name

Max length30
PomstAddCode
string

Address code

Max length8
PomstShipinstTxt1Code
string

Tax 1

Max length8
PomstFobName
string

Fob name

Max length30
PomstPrintStatus
string

Print status

Max length1
PomstRoutCompCode
string

Job company code used to override workflow routing lookups.

💻 UI Fieldname: Routing Company

Max length8
PomstRefNum
string

Reference number

Max length11
PomstAddCompName
string

Address Company name

Max length30
PomstInvDate
string

Invoice date

PomstInvDiscDate
string

Invoice discount date

PomstShipinstTxt5Code
string

Tax 5

Max length8
PomstManPoRecFlag
string
PomstTxt1Code
string
Max length8
PomstIuCreateDate
string
PomstInvDueDate
string

Invoice due date

PomstUnadjPrice
number

Unadjusting price

Max length18
PomstInvTypeCode
string

Invoice type code

Max length1
PomstShplneCode
string
Max length3
PomstBchNum
number

Batch number

Max length11
PomstDeptCode
string

Department code

Max length6
PomstOrigBidpOraseq
number
PomstBuyName
string

Buyer name

Max length30
PomstFobCode
string

Fob code

Max length2
PomstActionCode
string

Action code

Max length1
PomstShipinstTxt3Code
string

Tax 3

Max length8
PomstIuCreateUser
string
Max length30
PomstObjectOraseq
number
PomstAddCompCode
string

Address Company Code

Max length8
PomstTenantId
string
Max length30
PomstAddName
string

Address name

Max length195
PomstWipAccCode
string
Max length16
PomstShpmetCode
string

Shipment code

Max length5
PomstContactCode
string

Vendor Contact Code

💻 UI Fieldname: Contact

Max length10
PomstWipDeptCode
string
Max length6
PomstInvSerCode
string

Invoice serial number

Max length4
PomstBilltoAddCode
string

Bill to addresss code

Max length8
PomstInvCode
string

Invoice code

Max length20
PomstInvDiscAmt
number

Invoice discount amount

Max length18
PomstReqReason
string

Request reason

Max length255
PomstAdjPrice
number

Adjusting price

Max length18
PomstCostedCode
string
Max length1
PomstAcctDescription
string

Accounting Description

Max length500
PomstRecCode
string
Max length30
PomstAdjCode
string

Adjusting code

Max length1
PomstSuspDeptCode
string

Suspense Department

Max length6
PomstDiscountPct
number

Default Discount Percentage

Max length18
Responses
201

Created

Headers
Content-Type
string
Exampleapplication/vnd.oracle.adf.resourceitem+json
{
  "PomstAcctDescription": null,
  "PomstActionCode": null,
  "PomstAddCode": null,
  "PomstAddCompCode": null,
  "PomstAddCompName": null,
  "PomstAddName": null,
  "PomstAdjCode": null,
  "PomstAdjPrice": null,
  "PomstBchNum": null,
  "PomstBilltoAddCode": null,
  "PomstBilltoAddName": null,
  "PomstBuyCode": "CMICUSER",
  "PomstBuyName": null,
  "PomstChgCode": "O",
  "PomstCompCode": "001",
  "PomstCompName": null,
  "PomstComplianceFlag": "Y",
  "PomstContactCode": null,
  "PomstContactName": null,
  "PomstCostedCode": null,
  "PomstCurrCode": "USD",
  "PomstCurrConvNum": null,
  "PomstDefaultRecCode": "M",
  "PomstDeptCode": null,
  "PomstDesc1": null,
  "PomstDesc2": null,
  "PomstDistTypeCode": "M",
  "PomstExptdDate": "2022-12-21",
  "PomstFobCode": null,
  "PomstFobName": null,
  "PomstHoldPaymentDays": null,
  "PomstHoldPaymentFlag": null,
  "PomstImageFilename": null,
  "PomstInvCode": null,
  "PomstInvDate": null,
  "PomstInvDiscAmt": null,
  "PomstInvDiscDate": null,
  "PomstInvDueDate": null,
  "PomstInvSerCode": null,
  "PomstInvTypeCode": null,
  "PomstJobCode": null,
  "PomstJobCompCode": "001",
  "PomstManPoRecFlag": null,
  "PomstNum": "16.00099",
  "PomstOrdDate": "2022-12-21",
  "PomstOrigBidpAmt": null,
  "PomstPoAmount": 167.9,
  "PomstPorgrCode": null,
  "PomstPrintStatus": null,
  "PomstRecCode": null,
  "PomstRecDate": null,
  "PomstRefDate": null,
  "PomstRefNum": null,
  "PomstReleaseNum": 1,
  "PomstReprintDate": null,
  "PomstReqCode": "CMICUSER",
  "PomstReqName": null,
  "PomstReqNum": "RQ000093",
  "PomstReqReason": null,
  "PomstRoutCompCode": null,
  "PomstRoutJobCode": null,
  "PomstSelectFlag": "N",
  "PomstShipinstTxt1Code": null,
  "PomstShipinstTxt2Code": null,
  "PomstShipinstTxt3Code": null,
  "PomstShipinstTxt4Code": null,
  "PomstShipinstTxt5Code": null,
  "PomstShpinstDesc": null,
  "PomstShplneCode": null,
  "PomstShplneName": null,
  "PomstShpmetCode": null,
  "PomstShpmetName": null,
  "PomstStatCode": "O",
  "PomstStateDesc": "Processed",
  "PomstSuspDeptCode": null,
  "PomstSuspDeptName": null,
  "PomstTermCode": "NET30",
  "PomstTermDiscDay": 0,
  "PomstTermDiscPc": 0,
  "PomstTermDueDay": 30,
  "PomstTermName": "Net 30",
  "PomstTxt1Code": null,
  "PomstTxt2Code": null,
  "PomstTypeCode": "S",
  "PomstUnadjPrice": null,
  "PomstUserField1": null,
  "PomstUserField2": null,
  "PomstUserField3": null,
  "PomstVUuid": "F3B7677353477375E05316821FAC220C",
  "PomstVenCode": "1159",
  "PomstVenName": null,
  "PomstVendOrderAddCode": null,
  "PomstWipAccCode": null,
  "PomstWipDeptCode": null,
  "PomstWkfPriorityCode": "1",
  "PomstIuCreateDate": null,
  "PomstIuUpdateDate": null,
  "PomstPostDate": null,
  "links": [
    {
      "rel": "self",
      "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/po-rest-api/rest/1/pomaster/F3B7677353477375E05316821FAC220C",
      "name": "pomaster",
      "kind": "item"
    },
    {
      "rel": "canonical",
      "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/po-rest-api/rest/1/pomaster/F3B7677353477375E05316821FAC220C",
      "name": "pomaster",
      "kind": "item"
    },
    {
      "rel": "child",
      "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/po-rest-api/rest/1/pomaster/F3B7677353477375E05316821FAC220C/child/PoDetailViewObj",
      "name": "PoDetailViewObj",
      "kind": "collection"
    }
  ]
}
object