Dear All,
have anyone faced the problem of very slow posting by the consumption Journal?
We are using Nav 6.0 SP1 Classic Client and SQL Server 2008.
Posting is so slow that for the consumption of 220 lines, it takes around 2-3 hours.
>Finished Quantity on the Released Production Order is 500 for a serialized item.
>All the Item on the consumption journal are non serialized.
We are using Manual Flushing method on all the item.
We already checked the configuration of the SQL Server, that is OK.
Please suggest any relevant reply.
Thanks...
0
Comments
There can be several contributing factors to an issue lke this. Of which hardware is only one. I typically find that these issues are the combination of multiple issues.
For our reference, can you provide your hardware details? Also how large is the database?
and also some production order consumption is fast too.
We analyze that, problem is for those production orders for which output quantity have been sold and
consumption is pending.
>Automatic Cost Adjustment is set to never.
>Automatic Cost Posting is unchecked.
We run the adjust cost batch at night.
I'm having the same problem.. Have you found a solution? if yyes will you please share it with me..
Thanks
Again, Thank you so much for your help..
Thanks a lot for your help.
and uses batch report for applying "Cost Adjustment"
I asked that question earlier. They're already doing that.
Thie issue has been resolved and here is the solution if anyone needs it in the future:
OBJECT Table 339 Item Application Entry ...
CODE
...
PROCEDURE CheckCyclicProdCyclicalLoop@1100(CheckEntryNo@1006 : Integer;ItemLedgEntry@1304 : Record 32) : Boolean;
...
BEGIN
+ IF NOT IsItemEverOutput(ItemLedgEntry."Item No.") THEN
+ EXIT(FALSE);
+
...
ItemLedgEntry.SETRANGE("Prod. Order No.",ItemLedgEntry."Prod. Order No.");
ItemLedgEntry.SETRANGE("Prod. Order Line No.",ItemLedgEntry."Prod. Order Line No.");
ItemLedgEntry.SETRANGE("Entry Type",ItemLedgEntry."Entry Type"::Output);
IF ItemLedgEntry.FIND('-') THEN
REPEAT
+ IF EntryIsVisited(ItemLedgEntry."Entry No.") THEN
+ EXIT(FALSE);
+
...
LOCAL PROCEDURE CheckCyclicFwdToAppliedEntries@8(CheckEntryNo@1000 : Integer;VAR ItemApplnEntry@1005 : Record 339;FromEntryNo@1002 : Integer;IsPositiveToNegativeFlow@1009 : Boolean) : Boolean;
...
VAR
ToEntryNo@1008 : Integer;
BEGIN
- IF EntryIsVisited(FromEntryNo,ItemApplnEntry) THEN
+ IF EntryIsVisited(FromEntryNo) THEN
...
- LOCAL PROCEDURE EntryIsVisited@10(EntryNo@1000 : Integer;VAR ItemApplnEntry@1001 : Record 339) : Boolean;
+ LOCAL PROCEDURE EntryIsVisited@10(EntryNo@1000 : Integer) : Boolean;
...
+ PROCEDURE IsItemEverOutput@16(ItemNo@1000 : Code[20]) : Boolean;
+ VAR
+ ItemLedgEntry@1001 : Record 32;
+ BEGIN
+ ItemLedgEntry.SETCURRENTKEY("Item No.","Entry Type");
+ ItemLedgEntry.SETRANGE("Item No.",ItemNo);
+ ItemLedgEntry.SETRANGE("Entry Type",ItemLedgEntry."Entry Type"::Output);
+ EXIT(NOT ItemLedgEntry.ISEMPTY);
+ END;