hi sir andy,
Thank you very much for your immediate response..
the script you sent is working thank you,
sir i want to put it on the UDF (Creditline - Balance). so when the user creates a Sales Order they can see the total credit exceeded for that Business Partner.
Thank you sir.
Regards
Jorge