coolkl
Well Known Member
Hello Group,
Thanks for reading. I am working on P42101. We have requirement to update F4211 and custom table just after Order is committed. So in P42101 on "OK" button from Event Post Button Async , I commented the "Sales Order Application Controller - External (B4210900)"and moved it to OK Button click event. Now after this BSFN I execute my custom code and update the F4211 and Custom table. Updation works. But the P42101 form does not close and it stays with the data. However the cache is committed to database and record is created in F4211. If we again Press "Submit & Close" it gives error. I even tried to use Set Behavior but still form does not close.
I used the link below to update F4211 after End Doc in Power forms. All works but the form does not close.
http://www.jdelist.com/vb4/showthre...elds-on-Powerforms-(P421002)?highlight=P42101
Attached is the error after clicking "Submit Close" second time.
Any idea why form P42101 does not close. Thanks for your help.
Thanks for reading. I am working on P42101. We have requirement to update F4211 and custom table just after Order is committed. So in P42101 on "OK" button from Event Post Button Async , I commented the "Sales Order Application Controller - External (B4210900)"and moved it to OK Button click event. Now after this BSFN I execute my custom code and update the F4211 and Custom table. Updation works. But the P42101 form does not close and it stays with the data. However the cache is committed to database and record is created in F4211. If we again Press "Submit & Close" it gives error. I even tried to use Set Behavior but still form does not close.
I used the link below to update F4211 after End Doc in Power forms. All works but the form does not close.
http://www.jdelist.com/vb4/showthre...elds-on-Powerforms-(P421002)?highlight=P42101
Attached is the error after clicking "Submit Close" second time.
Any idea why form P42101 does not close. Thanks for your help.