pashminakazi opened a new issue #602: Auto-Generated Code is Duplicate
URL: https://github.com/apache/royale-asjs/issues/602
 
 
   Project Details are :
   https://paste.apache.org/cpo8y
   Test case is available on VDI.
   Go to Fixed Assets from Select in Menu
   Go to Authorized Person from Setups in Menu
   File : com/dbz/modules/FA/dbzAuthorizedPerson.mxml
   
   Code field is MaskedTextField and it is auto-generated field
   On New Record --> Auto-generated field should have dashes (----),So the user 
can understand that it is Auto-generated field.
   ![MaskedTextInput 
AutoGenerated](https://user-images.githubusercontent.com/42200979/69952063-3e7d0300-1518-11ea-9169-06871dba0aeb.gif)
   
   In this Setup there is already two field with Code 0001 and 0002.
   when I save new record with description,Code is auto-generated.New Record 
Saved with code 0000.
   Now when I want to Save fourth Record the Auto-generated code should be 0004.
   But it is not generating correct code and the message appears 
   "You have specified duplicate value. Please change Duplicate Value"
   
   
![image](https://user-images.githubusercontent.com/42200979/69952360-d5e25600-1518-11ea-9013-814b166fc87c.png)
   
   dbzAuthorizedPerson is using lib File dbzSetupList.mxml
   these all checks are in dbzSetupList.mxml like
    if 
(this.com_dbz_modules_components_dbzSetupList_strServerMessage.indexOf("ORA-00001:
 unique constraint") >= 0)
   mx.controls.Alert.show("You have specified duplicate value.\nPlease change 
Duplicate Value.");
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to