Click here to Skip to main content
15,936,337 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
source table ---> payment
source_column ---> invoicenumber
datatype --> varchar
Source Column Desciption --> Invoice Id

Migration Rule ----> If the referenceid is NULL: Reference Id from the Invoice table, Link the payment to the invoice record from the Invoice table.
If the referenceid is not null: The payment will be linked to Invoice migrated from the permit_detail table.

destination table ---> Payment
column name ------> InvoiceHeaderId

What I have tried:

i have tried but i have wrong output
Andre Oosthuizen 26-Apr-24 10:44am    
Show us what output you are expecting and what output you are getting, we have absolutely no idea what your query looks like, what it does where and why.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900