External link flags are out of sync

SUGGESTED

Has anyone had this error? Sage 50 V27 error "external link flags are out of sync" It pops up on one or both of our companies each morning?

Checking the data then running the repair fixes it, but this has to be done on the main computer, and with people working remotely, they can't do it.

Any advice would be appreciated.

Parents
  • 0
    SUGGESTED

    Hi,

    I wanted to give an update on this error following our investigation within Product Delivery.

    This reply is aimed at third-party developers. If you're getting this error and using third party software that links to Sage 50, please refer them to this response. 

    I’ve looked at the Sage50 code, and the transaction post routines work fine.  If the link flag is enabled on a header, any splits will have their link flags set and in reverse, any splits which have the link flag set will update the header link flag. 

    The SDO test code supplied within the help guide doesn’t use the post routines, all it’s doing is reading a split record, setting the flag, and writing the record back out.  It never uses the transaction post routine, so the header flag will never get set which results in the error in check data.

     

    If you want to set a linked file on an existing split, then the test code / third party software needs to be updated to set the flag on both the split and the connected header.  

    If the developer is using TransactionPost to create splits and headers, and the link flag is set on the header or the split, that should be fine, as the Sage50 transaction post routine would set the link on both the written header and splits.

    Hope this information helps.

    If this has answered your question please click More > Verify Answer.

    Regards,

    Ian

Reply
  • 0
    SUGGESTED

    Hi,

    I wanted to give an update on this error following our investigation within Product Delivery.

    This reply is aimed at third-party developers. If you're getting this error and using third party software that links to Sage 50, please refer them to this response. 

    I’ve looked at the Sage50 code, and the transaction post routines work fine.  If the link flag is enabled on a header, any splits will have their link flags set and in reverse, any splits which have the link flag set will update the header link flag. 

    The SDO test code supplied within the help guide doesn’t use the post routines, all it’s doing is reading a split record, setting the flag, and writing the record back out.  It never uses the transaction post routine, so the header flag will never get set which results in the error in check data.

     

    If you want to set a linked file on an existing split, then the test code / third party software needs to be updated to set the flag on both the split and the connected header.  

    If the developer is using TransactionPost to create splits and headers, and the link flag is set on the header or the split, that should be fine, as the Sage50 transaction post routine would set the link on both the written header and splits.

    Hope this information helps.

    If this has answered your question please click More > Verify Answer.

    Regards,

    Ian

Children