Jump to content
Server Maintenance This Week. ×

Need new record in order Layout


Recommended Posts

I attach file , all I want when i add customer on order

1: if it is repeat customer a new window open i select cusotmer and it add in to order

2: if it is a new customer i add from new customer window i add customer then i add to order 002dispatchsoluton.fmp12

002dispatchsoluton.fmp12

Edited by saghira
Link to comment
Share on other sites

This technique might be helpful.
https://www.proofgeist.com/blog/2022/06/24/building-a-modular-picker-with-an-ontimer-script/

You can add a “new customer” button to the picker that switches the card to a different layout that is in form view and provides fields to enter a new customer. I typically use global storage fields. Then, a save button would create the new customer, set the fields in the new record to the values the user entered in the globals and set the customer id in the picker results as if they picked from the list and close the card. The handler script would set the customerid in the order.

if the user clicks the close button, the card closes and nothing else happens. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.