Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 175888

RE: Voucher Number duplication from DIXF and manual

$
0
0

@Rustem

Yes I get the voucher number from the voucher number series number sequence. I'm Using Set-based processing with default general journal entity to import the journals. Haven't made any changes to it.

@Andre

Can I insert code in entity class to modify nextval in systemsequences table? I'll select the max voucher number from the excel file, increment by 1 and set it in systemsequences. Is there a way we can do this? I'm not aware of how the EntityClass methods are called, if it's sequential for each row or entire staging table is passed at once to target table.

I was reading the below article and this is what I found:

1. For JournalNum: I can't use Auto-Generated since I have many lines in 1 voucher and there are many vouchers in 1 Excel file.

2. For Voucher: I can't use Auto-Generated since I have to use set-based processing because of point 1.

I read this article  docs.microsoft.com/.../tips-tricks-import-general-journal-entity

The temp voucher that you suggested in your blog is not feasible for me as I have to deal with lot of errors while importing and it will be hard to troubleshoot if the voucher numbers are different in excel and error log.

Thanks.


Viewing all articles
Browse latest Browse all 175888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>