Error in Document approval p.O

rranjanerp
rranjanerp Member Posts: 70
Order No :.... is automatically re;eased & approved "

msg comes after i click send for approval request in Purchase Order.

what may b the reason?I have removed Unlimated Purchase order check mark , also all setups are complete..

I guess this code is not complete , plz guide ..

IF ApprovalMgt.SendPurchaseApprovalRequest(Rec) THEN;

thanks..

Comments

  • sprashanth
    sprashanth Member Posts: 18
    Firstly you need to define the Approval template(Administration->Application Setup->Document Approval->Approval templates) then you need to define the approver ID for the user id from which you are sending the document for Approval. You can do this in User Setup form.

    Hope this helps.
    Cheers,
    Prashanth.
  • Chinmoy
    Chinmoy Member Posts: 359
    I think if the approver ID is the same as the user Id in the 'User Setup' the document gets approved automatically, though am not sure.

    Please check this also.

    Chn
  • rranjanerp
    rranjanerp Member Posts: 70
    "There is no approval Entry within the Filter" ..

    Filter table id :38

    why this msg comes after i click send for approval request in purchase order

    thanks
  • mohana_cse06
    mohana_cse06 Member Posts: 5,506
    Which version are you using?

    in NAV2009R2, I didnt find any error message as stated above..

    can you activate the debugger and check where exactly the error message is coming?