change status functionality

Jelena_PavlicaJelena_Pavlica Member Posts: 11
Hi guys....

I have one problem and need help.

The situation looks like this:

First I have sales order for an item that needs to be produced.

Then I make an firm planned production order by using plannig worksheet.

The problem occurs when I have to change status to Released. When I do that, I get a message that Item Journal Batch does not exist.

I have no idea how to fix this ](*,) so if someone knows something about it please help.

In addition, I have to mention that I have no such problems when I change status from Firm Planned to Released for production order that isn't made from sales order.

I am using Nav 4.0 SP1

Thank you in advance!

Comments

  • johnson_alonsojohnson_alonso Member Posts: 690
    Hi,
    I've tried what you are being face now and I did it successfully, I generate item with option MPS/MRP in the planning worksheet but when carry out action message, I just create prod. order (in the tab option). No appear error message like what you have. So, I suggest that you must check item journal batch name, maybe it doesn't exists and item journal line whether there are items consumed by product item that still unposted. The batch name should be default.
    The other, try to debugger it. It will lead you to table or codeunit and show the causes of the problem.


    Rgds,
  • Jelena_PavlicaJelena_Pavlica Member Posts: 11
    Hi,

    thank you for your answer. I also can create an production order from planning worksheet but the trouble is occuring when I want to change status from planned or firm planned to released. That message apears here. Btw, I tried to do the same thing in demo DB (that working on Navision server)it works OK. Also, I can change status from planned to released when I have no sales order linked to firm planned.
  • johnson_alonsojohnson_alonso Member Posts: 690
    Hi,
    I have check codeunit 5407 prod. order status management (in FlushProdOrder function).
    So I decide that there is a problem facing by system especially when change production order status.
    If it is about item journal batch doesn't exists, you can check your flushing method for example.
    From the code unit function, you can see in the C/AL Local the code unit Item Jnl.-Post Line.
    I think from there you can find the answer of your problem.
    G'Luck.


    Rgds,
  • Jelena_PavlicaJelena_Pavlica Member Posts: 11
    Hi,

    Unfortunately I don't know CA/L programing yet :(

    Anyway, thanks a lot ...now I know where the problem is, so I'm gonna ask some developer to check that out.

    Regards
  • johnson_alonsojohnson_alonso Member Posts: 690
    don't need to thank to me. I am just giving you a way not solution. i am not a developer (skilled) just beginner developer. So, it is better your developer check it or if you use local database, it maybe better to ask NSC. G'Luck.



    Rgds,
Sign In or Register to comment.