Hey Everyone, I am facing an challenge and would l...
# suitescript
a
Hey Everyone, I am facing an challenge and would like to ask your help. I am creating deposits and getting Error 422 (using SuiteScript). [Using Celigo Integrator IO] Then I am able to create those deposits using UI. Again if I try to delete those transaction and use the script again without any changes. I am able to successfully create it. Please can some let me kn ow the reason behind it. Here is an example object
Copy code
{
  "nlobjRecordType": "deposit",
  "nlobjFieldIds": {
    "celigo_recordmode_dynamic": "true",
    "account": 534,
    "department": 1,
    "memo": "po_1L5L4dEluoru7xp3bA5B",
    "trandate": "5/31/2022 3:00:00 am",
    "custbody_nm_stripe_payout_id": "po_1L5L4dEluoru7xp3bA",
    "custbodycustbody_nm_ia_stripe_payout": 6277
  },
  "nlobjSublistIds": {
    "cashback": {
      "lines": [
        {
          "account": 383,
          "department": 1,
          "amount": 1.18,
          "memo": "txn_1L57MyEluorp3DZVizove"
        },
        {
          "account": 383,
          "department": 1,
          "amount": 290.27,
          "memo": "txn_3L4B8uEluoru7xp30Dzr6"
        },
        {
          "account": 383,
          "department": 1,
          "amount": 435.27,
          "memo": "txn_3KxepkEluoru7xpyU1rJg"
        }
      ]
    },
    "payment": {
      "lines": [
        {
          "deposit": "true",
          "docnumber": "PYMT16650"
        },
        {
          "deposit": "true",
          "docnumber": "PYMT20044"
        }
      ]
    }
  },
  "documentIndex": 0,
}
b
you will need the message behind that error to really do anything about it
t
I'm confused, are you using suitescript or using Celigo to try and create the deposit?
a
Actually I am using Dollar R Script to By Pass Celigo and create a record directly in netsuite.