AnsweredAssumed Answered

Behavior of Auto entry in GO vs Pro/Server

Question asked by Hudi on Dec 8, 2013
Latest reply on Dec 10, 2013 by Hudi

Small problem has been occuring on a local file in FMGo 12-13.

 

I have a button that has one script step attached to it, "Set next serial value". What that does is set the product serial number with a prefix and the number plus 1.
For example,

if the product name is BG0001, user clicks button, and the serial number should become BG0002.

if the product name is FY00023, user clicks button, and the serial number should become FY00024.

 

Script step looks like this:

Set Next Serial Value[ Products::Product_Name; Filter ( Products::Product_Name ; "ABCDEFGHIJKLMNOPQRSTUVWXYZ0" ) & Products::Product_Name + 1]

 

It works fine on Pro and when using Go with server hosted file. however when the file is local on the ipad it just adds the number.

BG0001 turns into 00002. Without the prefix.

 

Help?

Outcomes