Skip to Main Content

E-Business Suite

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Oracle EBS REST APIs with OE_ORDER_PUB Interface

4167378Jan 10 2020 — edited Feb 9 2021

I am not able to figure out how to use the EBS Rest APIs. I need to process Sales Orders on my EBS Rest API. I am using the OE_ORDER_PUB interface. The rest calls that I am using include the Process_Header, Process_Lines and Get_Order. I deployed the APIs and that is working, but I am not why my requests are returning null. I don't know which Base Table that these APIs are saving/retrieving from.

Here is my request body for creating Process Header.

{
"InputParameters":{
  
"P_HEADER_REC" : "G_MISS_HEADER_REC",
  
"P_ORG_ID":2131,
  
"P_OPERATING_UNIT":"test"
}

Here is part of the Response:

{
"OutputParameters": {
  
"@xmlns": "http://xmlns.oracle.com/apps/ont/rest/order/process_header/",
  
"@xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance",
  
"X_HEADER_OUT_REC": {
  
"ACCOUNTING_RULE_ID": null,
  
"PARTY_TYPE": null,
  
"AGREEMENT_ID": null,
  
"ATTRIBUTE1": null,
  
"ATTRIBUTE10": null,
  
"ATTRIBUTE11": null,
    ....[alot of key:value with null]

  
},
  
"X_RETURN_STATUS": "E",
  
"X_MSG_COUNT": "8",
  
"X_MSG_DATA": "ONT OE_BOTH_VAL_AND_ID_EXIST N ATTRIBUTE operating_unit "
}

I do not know how to create a proper payload. I know that is those are the correct parameter names, but I am not sure what else there is.

This post has been answered by Azar on Jan 13 2020
Jump to Answer

Comments

Answer

To clarify - are you saying the 1st time the breakpoint wasn't honored, but now it is?

Or the breakpoint STILL isn't being used?

The most likely causes for breakpoints not 'breaking' execution are:

  • unit not compiled with debug
  • breakpoint added to a line of code that's not 'executable' (like a comment)
  • breakpoint condition evals to false


Marked as Answer by marcusafs · Sep 27 2020
marcusafs

The tutorial never says to compile for debug and I assumed the debug run button would do that, like some other tools do.  I compiled for debug and then ran debug and it broke at the break point.

Thanks.  Maybe someone could add the compile for debug the tutorial.

That step should definitely be in the lab/tutorial - sorry about that. We're going to be updating all of these for Open World, so I'll make sure this gets included.

The default compile action in the tool is 'with debug' but we don't auto compile dependent objects with debug on a debug 'start' action - which is what I think you're alluding to.

1 - 3

Post Details

Added on Jan 10 2020
1 comment
144 views