RE: [development-axapta] How to make Costcenter field mandatory at runtime

2004-10-14 Thread Tony Depalo
Hi Ottawa, I seem to remember that I tried this once before and found that I could not make an array field (ie Dimensions) mandatory.  I overcame this by checking the value of the field and if empty then return a message and false in the validateWrite method. Good luck Tony -Original Me

RE: [development-axapta] How to make Costcenter field mandatory at runtime

2004-10-14 Thread Girish Bhatkal
It is better if you dont make them mandatory in the form(using the property). But write the code on the PurchLine table, validatewrite method or in the validatewrite method of the datasource/purchline/validatewrite method cheers, Girish   -Original Message-   From: ottawa_m2003 [mailt