saghira Posted July 16, 2023 Posted July 16, 2023 (edited) 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 July 16, 2023 by saghira
bcooney Posted July 16, 2023 Posted July 16, 2023 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.
Recommended Posts
This topic is 551 days old. Please don't post here. Open a new topic instead.
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 accountSign in
Already have an account? Sign in here.
Sign In Now