Sage 300 Standard -2023 (AP Vendor Code automation).

SOLVED

Is there an AP code automation where If a vendors first letter starts with an H the auto generation vender code is H-00001

if the vendor start with a Q it is auto created to a Q-00001.