Skip to main content
Solved

Add Custom Field


Forum|alt.badge.img+9
  • Sidekick (Customer)
  • 73 replies

I am new to IFS and want to add the arrival qty to the purchase order lines screen.

This is the column I want

SQL Column:    &AO.Receipt_Info_API.Get_Sum_Qty_Arrived_By_Source(ORDER_NO, LINE_NO, RELEASE_NO, NULL, 'PURCHASE_ORDER', NULL)

added to 

View:        &AO.PURCHASE_ORDER_LINE_ALL

 

based on purchase order, purchase order line, release number

 

 

 

 

Best answer by william.klotz

Hi @mmoss ,

 

Below you’ll find screenshots of the custom field we have on the purchase order lines called arrival_qty.   We use this API call in the expression of the read only field.  Receipt_Info_API.Get_Sum_Qty_Arrived_By_Source(v.order_no, v.line_no, v.release_no, NULL, 'PURCHASE_ORDER', NULL)

 

In your API example you were missing the v. in front of the variables you were passing to the API call.

Hope this helps you out.

 

 

 

 

Receipt_Info_API.Get_Sum_Qty_Arrived_By_Source(v.order_no, v.line_no, v.release_no, NULL, 'PURCHASE_ORDER', NULL)

 

 

 

 

Regards,

William Klotz

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

4 replies

Sangeetha Jayamaha
Hero (Employee)
Forum|alt.badge.img+7

@mmoss  Please refer the steps given in the following post.

 

 

https://community.ifs.com/products-manufacturing-products-engineering-wadaco-40/add-custom-field-in-lot-batch-master-11376?postid=41452#post41452

 

Hope that helps and if you need any further clarifications, please get back.

 

Best Regards,

Sangeetha Jayamaha.

/

 

 


Forum|alt.badge.img+9
  • Author
  • Sidekick (Customer)
  • 73 replies
  • August 18, 2021

I don’t completely understand. The column names are not the same in each table. what expression would I use to just get the qty arrived by po line?

 

select  source_ref1, source_ref2, source_ref3, sum(source_qty_arrived) from IFSAPP.receipt_info group by source_ref1, source_ref2, source_ref3


select order_no, line_no, release_no from IFSAPP.purchase_order_line


william.klotz
Superhero (Customer)
Forum|alt.badge.img+21
  • Superhero (Customer)
  • 479 replies
  • Answer
  • August 18, 2021

Hi @mmoss ,

 

Below you’ll find screenshots of the custom field we have on the purchase order lines called arrival_qty.   We use this API call in the expression of the read only field.  Receipt_Info_API.Get_Sum_Qty_Arrived_By_Source(v.order_no, v.line_no, v.release_no, NULL, 'PURCHASE_ORDER', NULL)

 

In your API example you were missing the v. in front of the variables you were passing to the API call.

Hope this helps you out.

 

 

 

 

Receipt_Info_API.Get_Sum_Qty_Arrived_By_Source(v.order_no, v.line_no, v.release_no, NULL, 'PURCHASE_ORDER', NULL)

 

 

 

 

Regards,

William Klotz


Forum|alt.badge.img+9
  • Author
  • Sidekick (Customer)
  • 73 replies
  • August 19, 2021

@william.klotz Worked perfectly. Thanks!


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