When I submit a PO for approval, I want to check each purchase line if they meet our rules
for Item, Dimension Costcenter Must Not Inputed.
for G/L , Dimension Costcenter Must Inputed.
for others, Dimension Costcenter Must Not Inputed.
What should I do?
Thanks a lot
0
Comments
You can write a function in the purchase header with a returnvalue boolean.
In the function you write some code for the checks, if it is correct you return TRUE, otherwise FALSE.
Thanks
Create some code like
You can also use
But this does not use the return value