Options

"Insufficient memory (stack)" upon posting purchase invoice

KowaKowa Member Posts: 918
Version 5.0 Build 25653

When Receiving & Invoicing a purchase order the well-known error message for all developers :wink:
Insufficient memory (stack) to execute this function... comes up, but in this case it comes from standard code.

The error is caused by repeated calls of the function UpdateLinkedValuationDate in (uncustomized) Codeunit 22. Any suggestions as to what might cause this error welcome.
Kai Kowalewski

Answers

  • Options
    kinekine Member Posts: 12,562
    Code is standard, but it seems like some data are wrong. May be something like neverending loop in applied entries?
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • Options
    KowaKowa Member Posts: 918
    I managed to locate it. There were two drop shipment item ledger entries with quantities of 9 and -9, but one of the corresponding item application entries only had a quantity of 8 (assumingly due to an upgrade issue).
    Kai Kowalewski
Sign In or Register to comment.