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 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.
No record is not created , values set by initValue method , what should I do to make this grid empty ?
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.
Thanks,
Girish S.
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.
André Arnaud de Cal...
291,965
Super User 2025 Season 1
Martin Dráb
230,836
Most Valuable Professional
nmaenpaa
101,156