Skip to content
Advertisement

SBO tables Relationship (AR INVOICE-INCOMING Payment)

am making a query that bring Incoming Payments details , that include payment means , details of payment means , and then some UDFS from the related A/R invoice(s) , in addition to some UDF from an object that relate to a UDF in the AR INVOICE ,

now every time am running my query it show no result.

Am sure there is something I missing here or incorrect but so far couldn’t find it .

if any one can help me with this i will be thankful

here is the query :

Advertisement

Answer

I think there’s a few issues with your query, starting with the join from ORCT to RCT2.

I’ve created similar queries in the past, here’s one which I know works, maybe you can use it to adjust yours. For one thing, you’ll definitely need to adjust a lot of those inner joins to outer joins, as a lot of the relations between Payments and it’s parent business objects (like Invoices) are very loose and may not always apply.

Note that the query below is looking specifically for Invoices in the RCT2 table (this is the “lines” section of the Incoming Payment object), hence the J002.InvType = 13 condition.

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement