I am unable to post a Vendor Invoice with an Item charge by tagging a Job no. and Task no. in the line. I am able to successfully post the receipt. But when I am trying to post the invoice it is giving an error as "You must not specify Job. no. in Purchase Line document4118.item-charge-with Job.bmp (227 KB)
First, its not a error (read bug) in Navision, so I moved your post from Errors etc forum - there we speak about issues which are likely to be bugs only…
Then, please specify Navision version, as Jobs functionality is totally redesigned in v5 - which ver is all this about - prior to v5 or v5 and up?
You can NOT assign Item Charges to Items, IF they have Job assigned, too.
How did you ever manage to make Item Charge assignment?
Lines with Job No filled aren’t shown in Form 5805 - Item Charge Assignment, and, when posting ItemCharge in CU90, there is checking code to verify JobNo is blank.
I found that after putting the Item charge assignment and after then putting the Job. no. and Job task no. I am able to post the receipt. But I am unable to post the invoice.
I just checked - really - Navision allows to do these things in THAT order, but then THIS is the place where “bug” sits, as later you wouldn’t anyway be allowed to post Invoice. Yes, you can post receipt, but checking for empty JobNo is done when you post invoice and sub in CU90 is called to deal with Item Charge assignment.
Haven’t played this out myself, but theoretically it might be done in a way, that you remove Item(Charge) from first Invoice, post it, then create another Invoice with ONLY Item(charge) line, and apply THIS to previously already posted Invoice with Items only. It can be done, examine ItemCharge assignment form - under Functions there are several Get Posted ??? Lines.
This means, ItemCharges can be applied not only to lines in the same Invoice, but also in other, already posted, Invoices. This happens regularily, e.g. when you are charged for, say, freight after goods are received, maybe even from different Vendor (logistics company).