Inventory dimensions check on form

Solution (Verified) This post has 1 verified solution | 2,087 Views | 1 Reply | 1 Follower

23 Posts
525 Points
Joined: 2008-10-16
Last Online:
2011-5-25 16:30
baxik posted on 2010-5-21 12:28 | Locked rated by 0 users

Hi Guys,

I am creating a form having Item, dimensions and dimension display button on it, but I have some troubles with dimension validations:

- I have two DS on it MyTable and InventDim connected by inner join
- write and validateWrite methods are updated so the saving of dimensions work properly
- Item field on MyTable is named ItemId which enables relation checking
- dimension display botton works OK
- I have updateDesign method run from form init (using InventDimCtrl_Frm class)

Everything works fine except for validations of dimensions when they are set as mandatory - i.e. I am able to save a line without setting siteId eventhough it is mandatory parameter.

Does anybody know what I am overlooking? Where this check must be set (I thought it is part of InventDimCtrl_Frm..?). Even some guide for would be OK.

 

Solution (Verified) Verified Solution

23 Posts
525 Points
Joined: 2008-10-16
Last Online:
2011-5-25 16:30
Solution (Verified) baxik replied on 2010-5-26 9:45 | Locked rated by 0 users
Verified by baxik

Eventually I chose simpliest solution which was to put the validations on validateWrite where I call dimension validation methods on InventDim, works good...

  • | Post Points: 105
Page 1 of 1 (2 items) | Get this RSS feed