Forum Discussion

RodneyPollen's avatar
RodneyPollen
Contributing User
2 years ago
Solved

Payment receipt import error

Hello,

I am having trouble importing 'receive payment' data.

 

I'm getting this errors
Error 0: Unexpected import error - (InvalidArgument): SetProperty: Invalid Property Name: CurrencyId for type: MYOB.Huxley.API.Entities.IReceivePaymentEvent

 

I've attached the file

  • gavin12345's avatar
    gavin12345
    2 years ago

    Hi RodneyPollen 

     

    In your original post, you mentioned you were receiving an import error. The latest post indicates the import worked. Check the invoice on screen and check if it worked.

     

    Regards

    Gavin

5 Replies

Replies have been turned off for this discussion
  • Hi RodneyPollen 

     

    Did you use auto match or manually matched? Did you check to ensure the Currency Code column was matched to Currency Code?

     

    Does the Currency Code match that used for the Invoice?

     

    I note the Import Assistant uses Currency Code whereas error message uses CurrencyID - so this may be a bug in the code - try with Currency Code set to 166 and see if it works, and advise. Attach the importlog.txt file as well.

     

    FYI it is recommended you order the columns in the order expected by the import assistant. It shouldn't matter but with some import types it actually does.

     

    Regards

    Gavin

  • RodneyPollen's avatar
    RodneyPollen
    Contributing User
    2 years ago

    Hello Gavin,

     

    Thank you very much for this.

    I used auto match and the Currency Code matched and

    The cutomer card Currency Code matche the invoice.

     

    What do you mean "Currency Code set to 166"?

     

    I'll check the order of the Columns and use CurrencyID as  a column heading

    The import file log says all uploaded with no errors and no warnings

  • gavin12345's avatar
    gavin12345
    Ultimate User
    2 years ago

    Hi RodneyPollen 

     

    In your original post, you mentioned you were receiving an import error. The latest post indicates the import worked. Check the invoice on screen and check if it worked.

     

    Regards

    Gavin

  • RodneyPollen's avatar
    RodneyPollen
    Contributing User
    2 years ago

    Hi Gavin,

     

    I was so excited when I saw a possible solution to my problem that I replied to the wrong message.

     

    The receiving payment error was a column description error as you suggested it might be.

     

    I posted another query about  about foreign Currency sales invoices defaultint to Local currency AUD. 

    That is the query I thought I was replying to.

     

    Appologies and Thanks

  • Celia_B's avatar
    Celia_B
    MYOB Staff
    2 years ago

    Hi RodneyPollen 

     

    We're glad to know that gavin12345  helps you resolve the issue. If you need further assistance, please feel free to post again and we're happy to assist you. 
     

    Thanks, 

    Cel