Hi,
I am trying to make Costcenter dimension field mandatory in PO lines.
I have two types of Items say A and B. A requires Costcenter
mandatory, but B does not require mandatory.
I wrote this code. But its not working.
1. I made the field as mandatory in the form. I override validate
--- ottawa_m2003 [EMAIL PROTECTED] wrote:
Hi,
u can write this code in the Datasource -PurchLine-
Itemid - modified() method
if(PurchLine.itemid = A)
{
PurchLine_ds.object(fieldid2ext(fieldNum(PurchLine,
Dimension), 2)).mandatory(true);
}
else
{
Cool ... Thank you Akash.akash malohatra [EMAIL PROTECTED] wrote:
--- ottawa_m2003 [EMAIL PROTECTED] wrote: Hi,u can write this code in the Datasource -PurchLine-Itemid - modified() methodif(PurchLine.itemid = "A"){PurchLine_ds.object(fieldid2ext(fieldNum(PurchLine,Dimension),
3 matches
Mail list logo