1

I have a "Sales Order" table. It has a column "Total (LC)". I need to check the data entry with C#. Namely, I need to enter only numbers in the field. As far as I understand, this should work when I start entering something in this field. Do I need to use any event for the system form in Visual Studio?

I'm just starting to work in SAP B1, I'll be happy for any advice

Sandra Rossi
  • 11,934
  • 5
  • 22
  • 48
Mary
  • 11
  • 1

1 Answers1

2

On The Sales Order form the Column Total (LC) already has validation to ensure only numbers can be entered.

After Entering 'xxx' for example, When the user tries to exit the field SAP B1 will produce the error shown in the image below ("Invalid Monetary Value") and the user will not be able to exit the field until corrected.

Entered Letters in Column

Sap Error Message

Praxiom
  • 578
  • 1
  • 8
  • 21