Solved

Add Custom Field

  • 18 August 2021
  • 4 replies
  • 487 views

Userlevel 4
Badge +9
  • Sidekick (Customer)
  • 56 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

 

 

 

 

icon

Best answer by william.klotz 19 August 2021, 01:55

View original

This topic has been closed for comments

4 replies

Userlevel 5
Badge +7

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

 

 

 

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

 

Best Regards,

Sangeetha Jayamaha.

/

 

 

Userlevel 4
Badge +9

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

Userlevel 7
Badge +21

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

Userlevel 4
Badge +9

@william.klotz Worked perfectly. Thanks!