Hello,
Please how do I make the Job no and Job task no field mandatory on a Purchase Order Form.
Hello,
Please how do I make the Job no and Job task no field mandatory on a Purchase Order Form.
Yes, you need to write some code, best place is when you release the order.
If those values are not there PO should not be release, or you can find your trigger.
You can subscribe this event
[EventSubscriber(ObjectType::Codeunit, codeunit::"Release Purchase Document", 'OnBeforeManualReleasePurchaseDoc', '', false, false)]
Hi, thank you for your response.
i want them to be "not blank", how do i go about the customization? is it only by writing a code?
Hi,
First you need to identify when you want them mandatory, and accordingly you have to do your customization.
Thanks.
André Arnaud de Cal... 291,391 Super User 2024 Season 2
Martin Dráb 230,445 Most Valuable Professional
nmaenpaa 101,156