# NetSuite Item Fulfillment error invalid\_trans\_typ (fixed) | new open error VALID\_LINE\_ITEM\_REQD

**URL:** <https://connective.celigo.com/t/netsuite-item-fulfillment-error-invalid-trans-typ-fixed-new-open-error-valid-line-item-reqd/399>\
**Category:** Integrator.io\
**Tags:** script, error-handling, flow-builder, netsuite\
**Created:** [July 26, 2023, 9:23pm UTC](https://connective.celigo.com/t/netsuite-item-fulfillment-error-invalid-trans-typ-fixed-new-open-error-valid-line-item-reqd/399 "2023-07-26T21:23:27Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![bhargavmashru](https://avatars.discourse-cdn.com/v4/letter/b/ad7895/32.png) [@bhargavmashru](https://connective.celigo.com/u/bhargavmashru)\
**Post date:** [July 26, 2023, 9:23pm UTC](https://connective.celigo.com/t/netsuite-item-fulfillment-error-invalid-trans-typ-fixed-new-open-error-valid-line-item-reqd/399/1 "2023-07-26T21:23:27Z")

</div>

We are trying to create Item Fulfillment in NetSuite via celigo flow. We are receving below error from NetSuite. Using both SuiteScript 1 and 2.

**Message:**   
 **Failed to create, update/transform record because Transaction type specified is incorrect.**

**Code: invalid\_trans\_typ**

Below are the mappings:

 ![5301043caa20740200000001-c5233eea262c4442a5d90c676826082d.png](https://us1.discourse-cdn.com/flex001/uploads/celigo/original/2X/2/2a1777c00fb6ba55fac3cd3800417ae017de93e1.png)

 ![5301043caa20740200000001-4a53099831784232805702688d523a06.png](https://us1.discourse-cdn.com/flex001/uploads/celigo/original/2X/8/8b12627e2f7af4d3ac0e6ce63974101782046bd3.png)

---

<div class="post-metadata">

**Author:** ![tylerlamparter](https://sea1.discourse-cdn.com/flex001/user_avatar/connective.celigo.com/tylerlamparter/32/9204_2.png) [@tylerlamparter](https://connective.celigo.com/u/tylerlamparter)\
**Post date:** [July 26, 2023, 9:36pm UTC](https://connective.celigo.com/t/netsuite-item-fulfillment-error-invalid-trans-typ-fixed-new-open-error-valid-line-item-reqd/399/2 "2023-07-26T21:36:49Z")

</div>

@bhargavmashru, the celigo\_nlobjTransformType should be "salesorder". Is that what you have?

---

<div class="post-metadata">

**Author:** ![bhargavmashru](https://avatars.discourse-cdn.com/v4/letter/b/ad7895/32.png) [@bhargavmashru](https://connective.celigo.com/u/bhargavmashru)\
**Post date:** [July 26, 2023, 10:12pm UTC](https://connective.celigo.com/t/netsuite-item-fulfillment-error-invalid-trans-typ-fixed-new-open-error-valid-line-item-reqd/399/3 "2023-07-26T22:12:57Z")

</div>

@tylerlamparter Yes "salesorder" is the value for celigo\_nlobjTransformType. I just fixed this issue by removing Internal ID from mapping. Now receiving new error:   
  
{  
 "code": "VALID\_LINE\_ITEM\_REQD",  
 "message": "You must have at least one valid line item for this transaction."  
}

---

<div class="post-metadata">

**Author:** ![tylerlamparter](https://sea1.discourse-cdn.com/flex001/user_avatar/connective.celigo.com/tylerlamparter/32/9204_2.png) [@tylerlamparter](https://connective.celigo.com/u/tylerlamparter)\
**Post date:** [July 27, 2023, 12:59pm UTC](https://connective.celigo.com/t/netsuite-item-fulfillment-error-invalid-trans-typ-fixed-new-open-error-valid-line-item-reqd/399/4 "2023-07-27T12:59:05Z")

</div>

@bhargavmashru can you move "use dynamic mode" to the top of the mappings, followed by transform type and created from id?

---

<div class="post-metadata">

**Author:** ![bhargavmashru](https://avatars.discourse-cdn.com/v4/letter/b/ad7895/32.png) [@bhargavmashru](https://connective.celigo.com/u/bhargavmashru)\
**Post date:** [July 27, 2023, 8:38pm UTC](https://connective.celigo.com/t/netsuite-item-fulfillment-error-invalid-trans-typ-fixed-new-open-error-valid-line-item-reqd/399/5 "2023-07-27T20:38:18Z")

</div>

@tylerlamparter Did those changes but it didn't help.

---

<div class="post-metadata">

**Author:** ![kellyizer](https://sea1.discourse-cdn.com/flex001/user_avatar/connective.celigo.com/kellyizer/32/4369_2.png) [@kellyizer](https://connective.celigo.com/u/kellyizer)\
**Post date:** [July 27, 2023, 9:05pm UTC](https://connective.celigo.com/t/netsuite-item-fulfillment-error-invalid-trans-typ-fixed-new-open-error-valid-line-item-reqd/399/6 "2023-07-27T21:05:28Z")

</div>

@bhargavmashru

[Here is an article](https://docs.celigo.com/hc/en-us/articles/360016510891-Configure-and-map-NetSuite-subrecords) that discusses creating a NetSuite record with a subrecord mapping similar to what you are trying to do, have you read through this by chance? It may help you as there are detailed screenshots of an item fulfillment record with inventory details.

---

<div class="post-metadata">

**Author:** ![tylerlamparter](https://sea1.discourse-cdn.com/flex001/user_avatar/connective.celigo.com/tylerlamparter/32/9204_2.png) [@tylerlamparter](https://connective.celigo.com/u/tylerlamparter)\
**Post date:** [July 27, 2023, 9:13pm UTC](https://connective.celigo.com/t/netsuite-item-fulfillment-error-invalid-trans-typ-fixed-new-open-error-valid-line-item-reqd/399/7 "2023-07-27T21:13:07Z")

</div>

@bhargavmashru I was able to get this on SS2.X with these mappings. Your mappings will be a little different since you have lots, but shouldn't be too far off. I did take out the use dynamic mode mapping.

 ![5301043caa20740200000001-06d98d6425d948bcb77320c53dc4f6fd.png](https://us1.discourse-cdn.com/flex001/uploads/celigo/original/2X/6/6e2b588e1e64e2c2432dc20d2b708abe4e3c7bf5.png)

---

<div class="post-metadata">

**Author:** ![bhargavmashru](https://avatars.discourse-cdn.com/v4/letter/b/ad7895/32.png) [@bhargavmashru](https://connective.celigo.com/u/bhargavmashru)\
**Post date:** [July 27, 2023, 10:28pm UTC](https://connective.celigo.com/t/netsuite-item-fulfillment-error-invalid-trans-typ-fixed-new-open-error-valid-line-item-reqd/399/8 "2023-07-27T22:28:10Z")

</div>

@kellyizer Thank you for bring it up. I just cross verified and it looks like our mapping are almost matching.

@tylerlamparter Matched my mapping with yours apart from lots. Its still not working.  
  
I wad going through more threads and found this [https://docs.celigo.com/hc/en-us/articles/360044720232-Understanding-the-3PL-Central-NetSuite-quickstart-integration-template](https://docs.celigo.com/hc/en-us/articles/360044720232-Understanding-the-3PL-Central-NetSuite-quickstart-integration-template)

There is similar error mentioned on it with solution.

 ![5301043caa20740200000001-714f285d424f413f94f9401e95cd3608.png](https://us1.discourse-cdn.com/flex001/uploads/celigo/original/2X/4/4fd2cbbc55f9b87c324b83da427a395268791530.png)

In NetSuite. when I am trying to disable it in Setup it’s giving me following error.

 ![5301043caa20740200000001-96caa20055944f20b928a3b749bb9c33.png](https://us1.discourse-cdn.com/flex001/uploads/celigo/original/2X/e/ea2bb4276a74cacc3730d4e26d63a7fdd5be2812.png)
