AP VENDOR CODE MISMATCH

Contents

    4002: AP Vendor Code Mismatch

    AP Bill xxx, date, Vendor Code Mismatch, PBH_SEQ = XXX

    To fix:
    Maintenance > Programmers
    PROG > Windows > More Windows 2 > Payable Header
    FIND on PBH SEQ number shown on diagnostics.
    EDIT the fields VCODE and PBH_VCODE so they match.
    In most cases the VCODE is correct and the PBH_VCODE will need changing.

    If there are a lot of errors, and all of them require the field PBH_VCODE to be corrected based on VCODE, then you can run this batch update:
    Go to Menus > Maintenance > Diagnostics > Other Diagnostics > Connection Diagnostics > Customized Fixes > Calc PBH_VCODE as VCODE. Click YES and this will batch change the PBH_VCODE field to match the VCODE field.

    This mismatch should not happen. Any clues as to how it came about will be appreciated.

    Updated on October 23, 2026