Custom field synchronizing error in purchase order line window.
When adding a view to a custom field, an error pops up when synchronizing.
The customer follows the below steps.
Create read only custom field for Purchase Order Lines
Select statement using arguments order_no,line_no,release_no
SELECT MAX(ifsapp.receipt_info.arrival_date) FROM ifsapp.receipt_info WHERE ifsapp.receipt_info.source_ref1 = :ORDER_NO AND ifsapp.receipt_info.source_ref2 = :LINE_NO AND ifsapp.receipt_info.source_ref3 = :RELEASE_NO
Data type of custom field: Date and format: Date
Click on detailed views and add receipt_info_alt
Approve and publish/synchroinze
Synchronize and it errors.
Any solutions?
Page 1 / 1
Hi Anupa,
Register arrival is considered as a general object and it has columns source_ref1, source_ref2, source_ref3 instead of order_no, line_no, release_no. Since the customer is trying to use order_no, line_no, release_no in Receipt_Info_Alt view, the issue pop ups.
Could you try to create custom field for Purchase Order Lines as below.
select statement using arguments:
v.objkey
Select statement:
SELECT MAX(r.arrival_date) FROM receipt_info r WHERE 1=1 AND r.source_ref1||r.source_ref2||r.source_ref3 = (SELECT p.order_no||p.line_no||p.release_no FROM purchase_order_line p WHERE p.objkey = :objkey)