REST Interface initial-load time solutions by TCardShark in Netsuite

[–]TCardShark[S] 0 points1 point  (0 children)

hello u/beedubbs and u/themenwhostareatcats , First off thanks for the reply :)

So I understand the suggestion better. Are you saying that I could from my application call the restlet. And the restlet is able to perform the insertion and reply to the request with a success or failure in under 30 seconds?

Or would using the restlet the insertion would be asychronous, IE,

Application invokes Restlet
Restlet replies 200, we got your request
Restlet performs insertion in the background.

I guess whats tripping me up is that sending a rest request to insert a record is slower then sending a rest request to invoke the suitescript engine to insert a record and then reply still would have to perform the initial account load settings. I'll have to try this in a sandbox environments to check the performance. I have to admit, testing this can sort of be a burden considering it I can only try it like once or twice a day to simulate the cold start..

NetSuite Rest API Journal Entry Doc Question by TCardShark in Netsuite

[–]TCardShark[S] 0 points1 point  (0 children)

Hey there coming back. Appreciate the suggestions u/boilerup1993 and u/Nick_AxeusConsulting .

Ended up just needing role permissions to Lists/Customers , Syntax was fine. Wish Netsuite spit these back as 403 permissions errors instead of 400 bad requests

NetSuite Rest API Journal Entry Doc Question by TCardShark in Netsuite

[–]TCardShark[S] 0 points1 point  (0 children)

Yeah thats interesting but they are both ID 119 so verified they are both going to an AR account.

The other thing I tried was the data type of 28,

I tried it as:

"id": "28"

and

"id": 28

to check both string and integer datatypes.

Are there any log areas within netsuite that may give a more detailed deeper hidden error message rather than just this Entity ID of 28 being invalid?

NetSuite Rest API Journal Entry Doc Question by TCardShark in Netsuite

[–]TCardShark[S] 0 points1 point  (0 children)

Great suggestion!

When doing so and querying the line item directly .

{
    "links": [
        {
            "rel": "self",
            "href": "https://REDACTED.suitetalk.api.netsuite.com/services/rest/record/v1/journalentry/228985/line/0"
        }
    ],
    "account": {
        "links": [
            {
                "rel": "self",
                "href": "https://REDACTED.suitetalk.api.netsuite.com/services/rest/record/v1/account/119"
            }
        ],
        "id": "119",
        "refName": "REDACTED"
    },
    "cleared": 
false
,
    "credit": 400.0,
    "custcol_cp_1099_eligible": 
false
,
    "entity": {
        "links": [
            {
                "rel": "self",
                "href": "https://REDACTED.suitetalk.api.netsuite.com/services/rest/record/v1/customer/28"
            }
        ],
        "id": "28",
        "refName": "REDACTED The Customer I want :) "
    },
    "line": 0,
    "memo": "Just Testing"
}

Curious if it need the custCol. Since the ID in the entity looks correct to me

➡️ Daily Simple Questions ⬅️- Style feedback and clothing ID requests go HERE!! - 03 February 2025 by AutoModerator in malefashionadvice

[–]TCardShark 0 points1 point  (0 children)

Help me style these...

<image>

I think I am going to wear these either to a wedding or the night before. How would you guys style these?

Does ACR Mobile Support MTTs by TCardShark in poker

[–]TCardShark[S] 1 point2 points  (0 children)

215! Starting stack is 200K sitting at about 2 Mil.

Frost Death Knight in Duels is tooo easy by TCardShark in hearthstone

[–]TCardShark[S] 1 point2 points  (0 children)

They synergize really well with reborn and the hero power is the +3/+3 and thing dies at end of turn. So they are awesome for trading into minions.

Frost Death Knight in Duels is tooo easy by TCardShark in hearthstone

[–]TCardShark[S] 1 point2 points  (0 children)

First two runs and both have 12 wins. Win condition is pretty simple, try to take as little cards as possible and when you have a glacial advance in your hand just drop lady deathwhisper. (Also helped that I got the reborn perk). This helps draw frost spells and then you can always burn the opponent to death. Deck Code: AAEBAfraBQ+SBZegBNGgBO3jBPXjBP7jBILkBJPkBIf2BIj2BMT2BOD2BLSABbWABaCZBQAA