Manually Creating Purchase Order

sathyanarayanan23sathyanarayanan23 Member Posts: 5
edited 2015-07-16 in NAV Three Tier
I have a customized page where it creates purchase order from an indent list from job.
purchase order creation is successful but a function in the on validate trigger on Quantity in purchase line table is not getting executed,
although when i manually re-enter the value of quantity from purchase order page, the trigger gets called and calculations are done accordingly.
in the codeunit where they are manually creating purchase order, they have used"purchase line".validate(quantity,"indent line".quantity); for inserting the values in purchase line table..
still, the function does not get called even after using validate function.

can someone please help me out with this?? :roll: :?:

Comments

  • evandeveerdonkevandeveerdonk Member Posts: 49
    Hi S,

    you might want to try (if you didn't do this already) to INSERT the PurchaseLine at an earlier stage, then execute the Validate, en close with a MODIFY

    Ernst
    http://www.vssolutions NAV-Outlook synchronisation re-invented.
  • sathyanarayanan23sathyanarayanan23 Member Posts: 5
    Thank you evan.. that's good. I got my solution. there was a break in the on validate trigger which caused the function to not get executed..

    Thanks for looking into this evan
Sign In or Register to comment.