Skip to main content
Solved

Custom field question/Help

  • September 6, 2022
  • 9 replies
  • 329 views

Forum|alt.badge.img+10

I have a request to take the Boolean Field “Payment Schedules Exist” from Purchase Order

And to place it as a custom field on Supplier Payment Proposal Details.  I am a little stumped, I have tried adding it as an Expression Boolean field, but no information comes through. 

Order_Reference = Order_No

Best answer by CallumW

Works fine for me:

 

 

 

Custom Field Setup:

Read Only / Expression 

Expression Statement: PUR_ORD_PAY_SCHED_LINE_API.Exist_Pay_Sched_Lines(ORDER_REFERENCE)

Enumeration/Boolean

Enumeration: FndBoolean

View original
Did this topic help you find an answer to your question?

9 replies

Forum|alt.badge.img+10
  • Author
  • Hero (Customer)
  • 52 replies
  • September 6, 2022

some screen shots...


Forum|alt.badge.img+14
  • Hero (Partner)
  • 241 replies
  • September 7, 2022

 I have tried adding it as an Expression Boolean field, but no information comes through

 

I presume you are calling pur_ord_pay_sched_line_api.Exist_Pay_Sched_Lines().

It returns varchar2. -’TRUE’ or ‘FALSE’. If your enumeration do not contain these values it might just fail. 


Navinth Bakmeedeniya
Hero (Employee)
Forum|alt.badge.img+12

@chajash 

Could you please mention the exact steps you followed here?


CallumW
Superhero (Partner)
Forum|alt.badge.img+15
  • Superhero (Partner)
  • 128 replies
  • Answer
  • September 7, 2022

Works fine for me:

 

 

 

Custom Field Setup:

Read Only / Expression 

Expression Statement: PUR_ORD_PAY_SCHED_LINE_API.Exist_Pay_Sched_Lines(ORDER_REFERENCE)

Enumeration/Boolean

Enumeration: FndBoolean


Forum|alt.badge.img+10
  • Author
  • Hero (Customer)
  • 52 replies
  • September 7, 2022

@CallumW 

What version / update of IFS are you using?

Curious because I have just tried in a different environment and still not working for me.

I am on Apps10 UPD 13

Thanks

Cindy


CallumW
Superhero (Partner)
Forum|alt.badge.img+15
  • Superhero (Partner)
  • 128 replies
  • September 7, 2022

We are on Apps 10 UPD 15, however I can’t imagine that would be the issue


Forum|alt.badge.img+10
  • Author
  • Hero (Customer)
  • 52 replies
  • September 8, 2022

Interestingly enough I can get the Order_No to show up  just not working as checkbox

 

We have the Boolean field working in other LUs so pretty sure that is not the issue.

I also still have the Expression on PSE_2 from above and its working for @CallumW 

 


Forum|alt.badge.img+14
  • Hero (Partner)
  • 241 replies
  • September 9, 2022

@chajash,

See my comment above. Your enumeration does not match the return value of the function. Switch to e.g. FndBoolean.


Forum|alt.badge.img+10
  • Author
  • Hero (Customer)
  • 52 replies
  • September 10, 2022

@Hans Andersen exactly right!

My custom field now works as it should!

Sorry it took a couple of trys for me to understand!

Appreciate your patience!

Thanks

Cindy


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings