Skip to main content
Solved

Migration many rows on one column


Forum|alt.badge.img+4
  • Do Gooder (Partner)
  • 6 replies

Dear All Member

 

I try to migration data on Sales Quotation page but .csv file as following I can’t do it.

Because when I upload .csv file on Execute job that can't keep store on one row.

 

on my csv, I have data 3 rows on one column.

on Execute Job when I upload, it will split line by itself.

 

If manual input on Sales Quotation page, It can show many rows on Quotation Notes.

I need to migration data many rows on  one column only like below image. 

How can migration job when it has many rows on one column ?

page: Sales Quotation > Misc Quatation Info 

 

Best answer by dhlelk

Hi @Onjira,

CSV files doesn't support line breaks, you could check this by opening the .csv file from notepad.
Hence you could use a workaround to replace the new line character with a placeholder text like "#NEW_LINE#" when uploading and then replace it back to the new line character when migrating data to the source columns.

Check this link for steps on how to find and replace the new line character in excel.

Thereafter you could replace the placeholder text "#NEW_LINE#" back to the new line character on your source migration job.
REPLACE(<YOUR_COLUMN_NAME_HERE>, '#NEW_LINE#', CHR(13) || CHR(10))

Cheers !
Dhananjaya.

View original
Did this topic help you find an answer to your question?

3 replies

dhlelk
Superhero
Forum|alt.badge.img+15
  • Superhero
  • 200 replies
  • Answer
  • March 16, 2021

Hi @Onjira,

CSV files doesn't support line breaks, you could check this by opening the .csv file from notepad.
Hence you could use a workaround to replace the new line character with a placeholder text like "#NEW_LINE#" when uploading and then replace it back to the new line character when migrating data to the source columns.

Check this link for steps on how to find and replace the new line character in excel.

Thereafter you could replace the placeholder text "#NEW_LINE#" back to the new line character on your source migration job.
REPLACE(<YOUR_COLUMN_NAME_HERE>, '#NEW_LINE#', CHR(13) || CHR(10))

Cheers !
Dhananjaya.


Forum|alt.badge.img+4
  • Author
  • Do Gooder (Partner)
  • 6 replies
  • March 16, 2021

Hello, Dhananjaya

 

Thank you for your helping!

I can do it with your advice. It’s worked!!!

 

Regards,

Onjira


dhlelk
Superhero
Forum|alt.badge.img+15
  • Superhero
  • 200 replies
  • March 16, 2021
Onjira wrote:

Hello, Dhananjaya

 

Thank you for your helping!

I can do it with your advice. It’s worked!!!

 

Regards,

Onjira

Hi @Onjira,

You are welcome and I'm happy to help 😊

Cheers !
Dhananjaya.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings