Notifications
Announcements
No record found.
want to disable create line automatic in purchase order lines I tried to make insert if empty property to No but it was already No .
When clicking on new on purchase order form or purchase order for service and create new po it created lines in purchase order lines automatic with data in (create purchase order )form I want to disable it .
which method in (purchasecreateorder )form make this ? Or How can I do this ?
Hi,
I think record is created in the PurchLine table. Just open the PurchLine in table browser and see if there is any record exists agains the header.
Thanks,
Girish S.
Also, if the record is created in the PurchLine Table. You must delete the record. So try to delete the record while creating of purchase order. Override clicked method of the creation form ok button and add code to delete a line record based on the header record.
No record is not created , values set by initValue method , what should I do to make this grid empty ?
Hi Menna, PurchLine record will not be inserted but will be initialized so you will see an empty line with Line number. I believe the below code in linkActive method in PurchLine datasource of PurchTable form is triggering the code to create empty line. I debugged the code and bypass this line of code and empty line was not created.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 592 Most Valuable Professional
André Arnaud de Cal... 478 Super User 2025 Season 2
BillurSamdancioglu 305 Most Valuable Professional