Due to recent addition of branch for payment terms, payment term was duplicated for different branches.
Validation failed when account payment term ID differs from user selected payment term ID due to different branches selected
Eg: KYPS -> Approved account payment term with branch : Singapore -> ID = 123456
User Selected -> Payment term (Branch: Malaysia)-> ID = 23456
Validation will fail as current logic matches using GUID
Background
Eg: KYPS -> Approved account payment term with branch : Singapore -> ID = 123456 User Selected -> Payment term (Branch: Malaysia)-> ID = 23456 Validation will fail as current logic matches using GUID