Oracle Form FRM-15004: Error while parsing join condition

Oracle Form FRM-15004: Error while parsing join condition


Cause:
While creating a link between Master and Detail Block when the join details are provided
this error pop's up.

eg:
Master Block:  QUERY_HEADER

Detail Block:  QUERY_LINE

common column: INVOICE_ID

all the below join conditions I got the frm-15004 error

    QUERY_HEADER.INVOICE_ID = QUERY_LINE.INVOICE_ID

    INVOICE_ID = INVOICE_ID

    :QUERY_HEADER.INVOICE_ID = :QUERY_LINE.INVOICE_ID

扫描二维码关注公众号,回复: 17026329 查看本文章

Solution:

1. Go to Master and Detail Block Property Palette and check if the below properties have
   correct values
  
   Query Data Source Type:
  
   Query Data Source Name:
  
   This may not be required if your Blocks are based on views
  
2. Change the name of the Item in Detail block from INVOICE_ID to LINE_INVOICE_ID and now provide
   the below join condition
  
   INVOICE_ID = LINE_INVOICE_ID 

-- 刘轶鹤

猜你喜欢

转载自blog.csdn.net/AlexLiu_2019/article/details/129811967