Create Purchase Order Header
    • 06 Jan 2025
    • 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

    Security
    HTTP
    Type basic

    Basic authentication

    Header parameters
    Content-Type
    string
    Exampleapplication/vnd.oracle.adf.resourceItem+json
    Query parameters
    finder
    string
    ExampleselectByCompanyStatus; AuditDate=2016-12-20, StatCode=A, CompanyCode=001
    limit
    integer
    Example500
    offset
    integer
    Example0
    totalResults
    boolean
    ExampleTrue
    orderBy
    string
    ExamplePomstNum:desc
    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" }
    PomstBuyCode
    string

    Buy code

    💻 UI Fieldname: PomstBuyCode

    Max length30
    PomstReprintDate
    string

    Reprint date

    💻 UI Fieldname: PomstReprintDate

    PomstTermDueDay
    number

    Term due date

    💻 UI Fieldname: PomstTermDueDay

    Max length223
    PomstVUuid
    string

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

    💻 UI Fieldname: PomstVUuid

    Max length64
    PomstCurrCode
    string

    Currency code

    💻 UI Fieldname: PomstCurrCode

    Max length3
    PomstTermDiscPc
    number

    Not used

    💻 UI Fieldname: PomstTermDiscPc

    Max length225
    PomstVenCode
    string

    Vendor code

    💻 UI Fieldname: PomstVenCode

    Max length8
    PomstNum
    string

    Master number

    💻 UI Fieldname: PomstNum

    Max length11
    PomstOrdDate
    string

    Order date

    💻 UI Fieldname: PomstOrdDate

    PomstPoAmount
    number

    Purchase order amount

    💻 UI Fieldname: PomstPoAmount

    Max length22
    PomstTermCode
    string

    Term code

    💻 UI Fieldname: PomstTermCode

    Max length6
    PomstWkfPriorityCode
    string

    Priority code

    💻 UI Fieldname: PomstWkfPriorityCode

    Max length1
    PomstComplianceFlag
    string

    Compliance flag

    💻 UI Fieldname: PomstComplianceFlag

    Max length1
    PomstTermDiscDay
    number

    Not used

    💻 UI Fieldname: PomstTermDiscDay

    Max length223
    PomstChgCode
    string

    Change code

    💻 UI Fieldname: PomstChgCode

    Max length1
    PomstExptdDate
    string

    Expected date

    💻 UI Fieldname: PomstExptdDate

    PomstJobCompCode
    string

    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: PomstJobCompCode

    Max length8
    PomstStatCode
    string

    Statistics code

    💻 UI Fieldname: PomstStatCode

    Max length1
    PomstReqNum
    string

    Request number

    💻 UI Fieldname: PomstReqNum

    Max length4000
    PomstCompCode
    string

    Company code

    💻 UI Fieldname: PomstCompCode

    Max length8
    PomstTypeCode
    string

    Type code

    💻 UI Fieldname: PomstTypeCode

    Max length1
    PomstStateDesc
    string

    Statement description

    💻 UI Fieldname: PomstStateDesc

    Max length12
    PomstReqCode
    string

    Request code

    💻 UI Fieldname: PomstReqCode

    Max length30
    PomstTermName
    string

    Term namm

    💻 UI Fieldname: PomstTermName

    Max length30
    PomstReleaseNum
    number

    Release number

    💻 UI Fieldname: PomstReleaseNum

    Max length2211
    PomstSelectFlag
    string

    💻 UI Fieldname: PomstSelectFlag

    Max length1
    PomstDistTypeCode
    string

    Distribution Type for header. Used in ADF Program

    💻 UI Fieldname: PomstDistTypeCode

    Max length1
    PomstDefaultRecCode
    string

    Default rec code

    💻 UI Fieldname: PomstDefaultRecCode

    Max length1
    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