Create Purchase Order Header
  • 26 Sep 2024
  • 3 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

PomstBuyCode
string Required

Buy code

PomstReprintDate
date Required

Reprint date

PomstCurrCode
string Required

Currency code

PomstTermDiscPc
number Required

Not used

PomstTermCode
string Required

Term code

PomstStatCode
string Required

Statistics code

PomstReleaseNum
number Required

Release number

PomstVUuid
string Required

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

PomstNum
string Required

Master number

PomstComplianceFlag
string Required
PomstExptdDate
date Required

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

PomstReqNum
string Required

Request number

PomstVenCode
string Required

Vendor code

PomstTermDiscDay
number Required

Not used

PomstChgCode
string Required

Change code

PomstCompCode
string Required

Company code

PomstTypeCode
string Required

Type code

PomstStateDesc
string Required

Statement description

PomstReqCode
string Required

Request code

PomstOrdDate
date Required

Order date

PomstPoAmount
number Required

Purchase order amount

PomstWkfPriorityCode
string Required
PomstTermName
string Required

Term namm

PomstSelectFlag
string Required
PomstDistTypeCode
string Required

Distribution Type for header. Used in ADF Program

PomstDefaultRecCode
string Required

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

PomstCompName
string

Company name

PomstTxt2Code
string
PomstIuUpdateDate
date
PomstCurrConvNum
number

Currency conversion number

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.

PomstReqName
string

Request name

PomstOrigBidpAmt
number
PomstVendOrderAddCode
string
PomstRoutJobCode
string

Job code used to override workflow routing lookups.

PomstImageFilename
string

Image file name

PomstShipinstTxt2Code
string

Tax 2

PomstVenName
string

Vendor name

PomstShpmetName
string

Shipment name

PomstRecDate
date

Receive date

PomstRowid
rowid
PomstIuUpdateUser
string
PomstBilltoAddName
string

Bill to address name

PomstHoldPaymentDays
number

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

PomstShplneName
string
PomstDesc1
string

Description 1

PomstDesc2
string

Description 2

PomstShipinstTxt4Code
string

Tax 4

PomstPorgrCode
string
PomstUserField3
string

Category for the header distribution info. Used in ADF Program

PomstUserField2
string

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

PomstUserField1
string

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

PomstHoldPaymentFlag
string

Payment Has To Be Hold Until The Owner Payment Is Made

DiscriminatorCode
string
PomstShpinstDesc
string
PomstRefDate
date

Reference date

PomstContactName
string
PomstSwoOraseq
number
PomstSuspDeptName
string

Suspense Department name

PomstAddCode
string

Address code

PomstShipinstTxt1Code
string

Tax 1

PomstFobName
string

Fob name

PomstPrintStatus
string

Print status

PomstRoutCompCode
string

Job company code used to override workflow routing lookups.

PomstRefNum
string

Reference number

PomstAddCompName
string

Address Company name

PomstInvDate
date

Invoice date

PomstInvDiscDate
date

Invoice discount date

PomstShipinstTxt5Code
string

Tax 5

PomstManPoRecFlag
string
PomstTxt1Code
string
PomstIuCreateDate
date
PomstInvDueDate
date

Invoice due date

PomstUnadjPrice
number

Unadjusting price

PomstInvTypeCode
string

Invoice type code

PomstShplneCode
string
PomstBchNum
number

Batch number

PomstDeptCode
string

Department code

PomstOrigBidpOraseq
number
PomstBuyName
string

Buyer name

PomstFobCode
string

Fob code

PomstActionCode
string

Action code

PomstShipinstTxt3Code
string

Tax 3

PomstIuCreateUser
string
PomstObjectOraseq
number
PomstAddCompCode
string

Address Company Code

PomstTenantId
string
PomstAddName
string

Address name

PomstWipAccCode
string
PomstShpmetCode
string

Shipment code

PomstContactCode
string

Vendor Contact Code

PomstWipDeptCode
string
PomstInvSerCode
string

Invoice serial number

PomstBilltoAddCode
string

Bill to addresss code

PomstInvCode
string

Invoice code

PomstInvDiscAmt
number

Invoice discount amount

PomstReqReason
string

Request reason

PomstAdjPrice
number

Adjusting price

PomstCostedCode
string
PomstAcctDescription
string

Accounting Description

PomstRecCode
string
PomstAdjCode
string

Adjusting code

PomstSuspDeptCode
string

Suspense Department

PomstDiscountPct
number

Default Discount Percentage

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