How can i skip setting inventory detail in a script? - netsuite

I was able to create a fulfillment without setting up the inventory details in the UI, but it requires me when i try to do the script. Is there a way to totally skip it?

Related

Netsuite Customization Requirement

Can anyone suggest what is the best way to accomplish this ?
Scenario: Item fulfillment Record is being created by Shipstation Integration which has Package Content in Format A.
Requirement :
But We want to use that IF record to be exported to another application (Integration) and it mandates the IF record to be in a predefined format not same as Format A.
Please can anyone suggest what is the best possible way to achieve this ? If Suitescripting then which type would work the best.
A suitescript running on After Record Submit either under a user event script or workflow action script on the IF sounds like the way to go. It wants to only be triggered on the CREATE (not EDIT, unless you can post updates to your Shipstation integration).
This other question has an example of doing something after submission on an item fulfillment using the User Event Script.

SS2.0 Set/Update Script Deployment Schedule fields via SuiteScript

Hope someone can help me out here.
I've been working on updating/creating Script Deployment records via SuiteScript, and haven't been able to find a lot of information on it, so I've just been treating it like any other Record script.
(In Scheduled Script)
However, setting or updating the Schedule fields does not appear to work.
Regardless of any logic applied to those fields, no change is made and no system notes recorded.
Can someone help?
Many thanks!
Cheers, Giles
A quick look at the NetSuite Records Browser for the Script Deployment record shows that the schedule fields are not accessible via SuiteScript: https://www.netsuite.com/help/helpcenter/en_US/srbrowser/Browser2021_1/script/record/scriptdeployment.html.

Trigger script on change of a custom preference

Further to my last question around custom (general) preferences, is there a way to trigger a script whenever a general preference is changed in the UI?
That page is not scriptable so I don't think it is possible.

Need to troubleshoot a workflow

I am coming into an existing SCCD project and there is a custom field that is maintained between the Service Request and Incident forms. The problem is that the field is not being carried over properly. I suspect this is an issue within the workflow? Is there a proper way to debug or search for this problem area? So far, I've been poking around the 500+ workflow items for each the Service Request and Incident objects.
We ran into a similar situation where a custom field in the work order table was transfer over when we duplicated the work order. In that case, we had to look for the domain responsible for passing specific fields to be included in the duplication. It was a matter of adding the new custom field (dept) to the domain entry.
Other times, you may have to create an automation script, or modify the Java .class file (decode, rewrite, and recompile).

Orchard: creating a layer at content creation

In my Orchard website, I want to create blogs quickly, and for each of them I want to be able to add a blog archive widget to their page.
To achieve this, I have to create a new windget layer for each and every blog. Is it possible to make this process automatic without creating a custom module? I guess I can create a rule reacting to blog creation event, but can I have it execute a script for me?
You will have to create a module, but there are several ways to go about it. Your rule idea is an interesting one, as it could be applied to any content item once you've built it. It should be fairly easy to build: you would just need to create a custom "Create Layer" Rule Action. You can look at existing rule actions for a starting point.

Resources