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."
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>
Just look at the key you have used.
Don't forget to the post(s) that solved your problem
What do you mean? 'bill-to customer no' is not the key
Would you just explain How you are doing this ? Just paste you code over here ..
© 1995-2013 Dynamics User Group, all rights reserved.