copying records with the same value

Get our Free Newletter

Don't you have the time to be online here at DUG every day? So how do you follow what is going on in the Dynamics industry and community?
If you subscribe to the DUG Newsletter then you can relax! We will make sure that you don't miss the big news!

Check out our
Newsletter Subscription Center
page a complete list of our different newsletters.

Not Answered This post has 0 verified solutions | 3 Replies | 1 Follower

4 Posts
40 Points
Joined: 2012-9-25
Last Online:
2012-9-30 22:14
rob112 posted on 2012-9-29 14:42

 

hello,

i want to copy records to Sales List, but records with the same 'Bill-to Customer' (not sorted column) value should get the same Sales List."Document No." 

example

1. <table i want to copy>

2. <Sales List table (after copying)>

as u can see, my codeunit function doesnt work well, because, every record got different "Documnet No." in  Sales List

3. here is what i want to do

<Sales Line table>

 

any solutions?;)

All Replies

Male
2,351 Posts
34,185 Points
Joined: 2006-4-10
Last Online:
2013-6-19 18:09
Location: Pune India
Moderator
Amol replied on 2012-9-29 18:36

Just look at the key you have used.

-Amol

http://dynamicsuser.net/blogs/amol

Don't forget to  the post(s) that solved your problem

4 Posts
40 Points
Joined: 2012-9-25
Last Online:
2012-9-30 22:14
rob112 replied on 2012-9-29 20:23

What do  you mean?  'bill-to customer no' is not the key

Male
2,351 Posts
34,185 Points
Joined: 2006-4-10
Last Online:
2013-6-19 18:09
Location: Pune India
Moderator
Amol replied on 2012-9-30 6:15

Would you just explain How you are doing this ? Just paste you code over here ..

-Amol

http://dynamicsuser.net/blogs/amol

Don't forget to  the post(s) that solved your problem

Page 1 of 1 (4 items) | Get this RSS feed | Bookmark and Share