web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Closing and Adjustment

(0) ShareShare
ReportReport
Posted on by 15

Hello,

In Inventory management/Closing and Adjustment transaction has been used, problem is that number of iterrations is set to 1000000.

Now transaction is blocked, i can not close any period after date of this transaction. Have tried to find on forums solution but w/o success. 

Thanks for any help.

I have the same question (0)
  • Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hi Branislav,

    Can you elaborate and highlight the problem again?

    What transaction is blocked?

    Is the closing still running?

    Some additional information and screenprints would help.

    Many thanks,

    Ludwig

  • Branislav Popov Profile Picture
    15 on at

    Hi Ludwig,

    Its Recalculation that is still running due number of iterations

    pastedimage1628163852505v1.png

  • Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hello Branislav,

    The recalculation stopped with an error.

    Can you click on the log button and share details?

    Many thanks,

    Ludwig

  • Branislav Popov Profile Picture
    15 on at

    Hi Ludwig,

    When i try log nothing happens, here is what i could take out

    pastedimage1628243517184v1.png

    pastedimage1628243523896v2.png

    pastedimage1628243531530v3.png

    It doesnt have status Ended. 

    Thanks

    Branislav

  • Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    I see.

    If you click the LOG button on top of the screen, doesn't a form open and show something?

  • Branislav Popov Profile Picture
    15 on at

    Hi

    As i have written nothing happens once i click LOG.

    No dialog window or message opens.

    Branislav

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Ok.

    Have you already tried resuming the calculation?

    Calculation-resume?

  • Branislav Popov Profile Picture
    15 on at

    Yes I have checked on diff forums and tried all recomended. I believe nr of throughouts is creating problem. Question is how to cancel job and is it possible.

  • Verified answer
    OsmanIstanbul Profile Picture
    2,818 on at

    Hi

    yes its possible to cancel it.

    try this job. It worked for me. (do not forget that this is not standard functionality, so if possible, try it on a test environment first)

    static void ClosingCancel(Args _args)

    {

       InventClosing                    cancelClosing = InventClosing::find("num", mkDate(date));

       InventCostClosingCancel_Init     inventCostClosingCancel_Init;

       ;

       inventCostClosingCancel_Init = InventCostClosingCancel_Init::newFromParameters(cancelClosing.Voucher, cancelClosing.TransDate, "", InventTransCurrency_RU::PrimaryCur);

       if ( ! inventCostClosingCancel_Init.prompt())

           return;

       inventCostClosingCancel_Init.run();

    }

    Best Regards.

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hi Branislav,

    In this case, I would recommend reaching out to the MS support and / or your development team.

    You can run a code similar to the one shared by Osman but try this carefully in a test / dev environment first.

    Don't simply test this in your production environment without having tried this before.

    Best regards,

    Ludwig

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 503 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 434 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 278 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans