OpenSync

Home Forums OpenSync creditcardcharge – Object doesn't support this property or method

This topic contains 4 replies, has 2 voices, and was last updated by  dewi 4 months, 2 weeks ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #64611

    dewi
    Participant

    Trying to add an expense in the creditcardcharge and txnitemlinedetail table. It has been working but today I get the above error. This table is supposed to support the ‘ADD’ method.

    #64638

    Yudel Rosales
    Keymaster

    Can you send your log files please?

    #64672

    dewi
    Participant

    Did you solve this? How?

    #64674

    Yudel Rosales
    Keymaster

    To post a credit card charge or credit you will need to include at least one item line or expense line and so you will insert a random number into the TxnID field in the CreditCard Charge/Credit table and insert the same number into either the TxnItemLineDetail table and/or the TxnExpenseLineDetail tables in the IDKEY field.

    Supported Fields

    – CreditCardCharge / CreditCardCredit Table

    Account ListID or FullName
    Memo
    RefNumber
    PayeeEntity ListID or FullName (Required)
    TxnDate
    TxnID (Required) – Links to IDKEY in TxnItemLineDetail or TxnExpenseLineDetail

    – TxnItemLineDetail

    Amount
    Class ListID or FullName
    Cost
    Customer ListID or FullName
    Description
    Item ListID or FullName
    Quantity
    IDKEY (Required) – Links to TxnID from CreditCardCharge / Credit table

    – TxnExpenseLineDetail

    Account ListID or FullName
    Amount
    Class ListID or FullName
    Cost
    Customer ListID or FullName
    IDKEY (Required) – Links to TxnID from CreditCardCharge / Credit table

    #64687

    dewi
    Participant

    Hi,

    I’ve done your suggestion already. When I add a credit card charge with a line item detail, it works well. I have never been able to add a credit card charge with an expense line detail though. I follow the same guidelines from your posting and it either throws one of two errors:

    1. creditcardcharge – Object doesn’t support this property or method
    2. expense line detail item – list entry not found – and the list entry not being found is the AccountRef_FullName value
    This value is in the account table.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.