


By passing script parameters you can use a single script to create a Sales Order from various contexts without having to write and maintain a separate script. Maybe you need to know the corresponding customer for this order, or maybe you need to know shipping address. Often there are similar requirements when creating a Sales Order from each of these contexts. You can create a Sales Order from a few different contexts in your solution, such as from a Customer record, from a previous Sales Order, or from a cancelled Order. For example, you can create a Sales Order record in your FileMaker solution. Numerous benefits include writing fewer scripts, increased code reusability, and improved coding organization.īy designing your scripts to pass parameters, you can use a single script with logic branching (i.e., IF, ELSE IF, ELSE) to perform multiple actions within your FileMaker solution. Script parameters are one of many tools that all FileMaker developers should learn to utilize when developing custom FileMaker applications.
