Omit any field in Mappings based on a condition

While building a Stedi mapping

, you often need to omit a specific field based on the data in the incoming source document. For example, you may need to omit a delivery address object completely if the purchase order has not been confirmed yet. Now, you can use the $omitField constant

 to omit both primitive fields and entire objects.Previously, Mappings UI only allowed using the $omitField for primitive fields (fields that map to strings, numbers, and booleans).You can now use $omitField to exclude an entire object or an array based on a condition. Mappings now recognizes $omitField within list context expressions

. In addition, every object field has a new optional object context input

 with built-in support for $omitField.

PreviousAuto-generate EDI Translate API calls from any Stedi guide

Get started with Stedi

Start free with a sandbox account. Upgrade to production when you’re ready. There are no monthly minimums or setup fees. You only pay for the transactions you use. See our pricing.

Sign up free