We are using the Acumatica Shopify Commerce Connector to synchronize item information from Acumatica to Shopify.
A template item in Acumatica contains an attribute named TEMPCLOSEO. The attribute value can be either TRUE or FALSE.
We want to configure an export entity mapping with the following logic:
- When
TEMPCLOSEOisTRUE, export the valueCloseoutto Shopify. - When
TEMPCLOSEOisFALSE, export a blank value.
We attempted to use the following formula in the Shopify export entity mapping:
=IIf([[TemplateItems -> Attributes.TEMPCLOSEO]] = 'TRUE', 'Closeout', '')
Data is syncing fine when the SKU has true value but it is failing false information
(field: input.metafields.0.value) Value can't be blank. Acumatica returns this following error:
Expected Result
The export mapping should return:
Closeoutwhen the TEMPCLOSEO attribute is set to TRUE.
When the attribute is set to FALSE, the export mapping should return a blank value.