R12 AP : How to set default value for parameter P_ACCOUNT_FLEXFIELD_FROM which is attched to value s
How to set default value (concurrent prog defintion) for parameter P_ACCOUNT_FLEXFIELD_FROM (attched to value set XLA_SRS_ACCOUNTING_FLEXFIELD ) ??
Option 1 : Make the deafult type as SQL statement :SELECT 0000 || 000|| 000|| 000 from DUAL;
Option 1 above will work only when it is confirmed which accounting structure(number of segments) will the parameter reference .Eg : Structure1
Option2 : Option 1 will fail when the ledger passed as a parameter is not fixed one, and depending on this structure(number of segments) chnages , the default value should dynamicallychange ?
Can some one help me with Option2 - How to make the parameter P_ACCOUNT_FLEXFIELD_FROM 's default value as 0 for all the segments irrespective of the number of segments the structure has ?