Hello! Could anybody help me? I've a such problem: We have Navision 3.6 with database on SQL Server 2K. When i want to Write-off an item which i have on my warehouse, i get a message, that there is not enough quantity, but it's not true. In Item Ledger i have such operations: (Positive Adjmt., Quantity - 115, Remaining Quantity - 15, Open-TRUE),("Purchase", Quantity - 500, Remaining Quantity -500, Open TRUE), (Negative Adjmt., Quantity- -100, Open FALSE). Total Remain is 515. But then i Write-off more then 15 and try to Post, i have an Error than there is not enough quantity. And the most interesting thing, that then i do a local copy of database (on Navision server) this works correctly. Why? Maybe anybody has such problem and can help me. Thank u for advance. P.S. Sorry for my bad English.
0
Comments
//Nicklas
http://www.BiloBeauty.com
http://www.autismspeaks.org
Rajan
Is it possible that all the stock is not in the same wharehouse and are you using lot / serial tracking on this item?
Best Regards
Rabe
ApplyItemLedgEntry(...)
...
IF NOT ItemLedgEntry2.FIND(EntryFindMethod) THEN
EXIT;
END ELSE BEGIN
LastEntryNo := ItemLedgEntry2."Entry No.";
ItemLedgEntry2.GET(LastEntryNo);
CASE EntryFindMethod OF
'-':
IF ItemLedgEntry2.NEXT = 0 THEN
EXIT;
'+':
IF ItemLedgEntry2.NEXT(-1) = 0 THEN
EXIT;
END;
END;
OldItemLedgEntry.COPY(ItemLedgEntry2)
END;
...