Bug in jobs

pradkpradk Member Posts: 89
Try the following scenario :

create a new PO along with the job assigned and then post it.
check the job ledger entry, it'll be fine
next raise a credit memo and try reversing this PO
check the job ledger entry - > this is where navision goes haywhire, it creates a double entry in the system, instead of reducing the amount it adds the amount in the job ledger entry.

anyone has an idea if this has been fixed or the changes which have to be made and where ?

thanks
Pradeep

Comments

  • dkonedkone Member Posts: 59
    Up!

    I have the same behavior. It's a bug or there's an explantion ?

    Thanks
  • BeliasBelias Member Posts: 2,998
    and what version are you using?
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
  • dkonedkone Member Posts: 59
    Hi

    Thanks to reply. I use NAVFR5.00.
  • dkonedkone Member Posts: 59
    I finally did this in CU 1004. I'll say if it was a bad idea :-k

    FromPurchaseLineToJnlLine(PurchHeader : Record "Purchase Header";PurchInvHeader : Record "Purch. Inv. Header";PurchCrMemoHeader : Recor
    [...]
      IF PurchHeader."Document Type" = PurchHeader."Document Type"::Invoice THEN BEGIN
        JobJnlLine."Document No." := PurchInvHeader."No.";
        JobJnlLine."External Document No." := PurchInvHeader."No.";
      END ELSE BEGIN
        JobJnlLine."Document No." := PurchCrMemoHeader."No.";
        JobJnlLine."External Document No." := PurchCrMemoHeader."No.";
        //++
         JobJnlLine.VALIDATE(Quantity,Quantity*-1);
        //++ END
        END;
    
  • BeliasBelias Member Posts: 2,998
    there's an hotfix for job module, (i saw your code hotfixed on a 5.01 ITALIAN db)
    maybe you should check it, unfortunately, i don't have a link, do a search in partnersource
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
  • dkonedkone Member Posts: 59
    Thanks !

    You're right and there's a solution here

    I'm feeling very happy that my solution was pretty close ! \:D/


    Next time i'll go to partnersource before posting stupid things
    Next time i'll go to partnersource before posting stupid things
    Next time i'll go to partnersource before posting stupid things
    [...]
  • BeliasBelias Member Posts: 2,998
    dkone wrote:
    Thanks !

    You're right and there's a solution here

    I'm feeling very happy that my solution was pretty close ! \:D/


    Next time i'll go to partnersource before posting stupid things
    Next time i'll go to partnersource before posting stupid things
    Next time i'll go to partnersource before posting stupid things
    [...]
    =D>
    glad to be helpful!
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
  • DrinuMLTDrinuMLT Member Posts: 4
    The bug I encountered is through Payable Credit Memos.

    If I create a payable credit memo and link a job with it, the Job Ledger Entry is not being updated.

    any idea why?
Sign In or Register to comment.