Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

I want to pass only part of a field when importing from .csv through xmlport NAV 2017

(0) ShareShare
ReportReport
Posted on by 45

I have data that will be coming from an outside system to be imported. The file will look like this;

"9000","01-TEST"
"60260","01-TEST"
"60420","01-TEST"
"60012","01-TEST"
"60215","01-TEST"
"60290","01-TEST"
"60164","01-TEST"

Item No.,Bin Code (This is the fields)

I want to only pass into NAV "TEST" just ignore the "01-"
I have been able to figure out Concatenate to pass the data to the outside software but I am stumped on how to parse this apart.

Thank you,
Troy

*This post is locked for comments

  • troyh1968 Profile Picture
    troyh1968 45 on at
    RE: I want to pass only part of a field when importing from .csv through xmlport NAV 2017

    Thank you Suresh. As always teaching me how to fish.

    Troy

  • Verified answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,749 on at
    RE: I want to pass only part of a field when importing from .csv through xmlport NAV 2017

    You can use the COPYSTR function, to get the portion of the string you want.

    docs.microsoft.com/.../copystr-function--code--text-

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,759 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,468 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans