a bug with Capacity Cost Posting to G/L on SQL Server

mrQQmrQQ Member Posts: 239
Hello,

i just thought i'd mention this bug I found. Hopefully this helps someone.

Basicly, when on SQL server, numeric code fields are sorted differently when on Native client. For example:

Native:
100
101
1000
1001
1100

SQL:
100
1000
1001
101
1100

This wouldn't be much of a problem. However, a temporary table is sorted the "native way", even under SQL client. And here in lies the problem:

R1002, Post Inventory Cost to G/L job, uses temporary table TempCapValueEntry to loop through capacity cost to post, while using actual Cap. Ledger Entry table as data item (presumably to keep grouping). However, these two tables get sorted differently, if Prod. Order Nos. are numeric. And thus, the iteration sometimes finishes without going through all the records needed, and only some of cost gets posted.
Sign In or Register to comment.