StrataFrame Forum

RequiredFields and decimal

http://forum.strataframe.net/Topic6554.aspx

By Chan - 2/2/2007

Hi,

I have currency field (Price) in my table. BO mapper use decimal data type to map to it.

I set this field as requiredfield. However, SF doesn't able to check it. I debug it and found that is no checking for decimal data type.



Why?



Thank you
By Trent L. Taylor - 2/3/2007

This was a known issue and has already been resolved in the next update.  I recommend manually creating a business rule on this in the interim.  Just check on the value manually in the CheckRulesOnCurrentRow event. 
By Chan - 2/11/2007

Hi,

Did new upgrade resolve the same problem for GUID field type?

Thank you

By Trent L. Taylor - 2/12/2007

Yes.
By Chan - 2/19/2007

Hi,

I just upgraded my SF.NET to version 1.6. I tested required field for GUID field type but it doesn't seem to work. I checked the source code and didn't see any code to handl GUID.

Shall you please confirm on this since you mentioned it has been implemented.

Thank you

By Trent L. Taylor - 2/20/2007

Drag the attached DLL into your GAC (C:\Windows\Assembly) and copy it to your c:\program files\common files\microfour\StrataFrame folder as well.  This assembly has the test for GUID.  It checks for an empty GUID (all zeros or Guid.Empty).
By Chan - 2/20/2007

Hi,

Sorry, it doesn't seem to work even though I have overwrite the dll to common folder and drag to GAC.

Nevermind, I can wait for your next release.

Thank you