I’m struggling with a deployment issue- I use the ...
# sdf
j
I’m struggling with a deployment issue- I use the node cli to project:deploy several sdf packages, but I’m running into an issue with a custom record type. I get my custom record xml with:
Copy code
suitecloud object:import --destinationfolder "/Objects" --scriptid customrecord_nccer_teststagingrecord --type ALL
(or the Netsuite UI with Action -> Download Xml, it is the same xml document either way) it includes some complexity, but most relevantly a custom field filter on one of the fields:
Copy code
<customfieldfilter>
          <fldcomparefield></fldcomparefield>
          <fldfilter>STDBODYTRANTYPE</fldfilter>
          <fldfilterchecked></fldfilterchecked>
          <fldfiltercomparetype>EQ</fldfiltercomparetype>
          <fldfilternotnull>F</fldfilternotnull>
          <fldfilternull>F</fldfilternull>
          <fldfiltersel>INVOICE</fldfiltersel>
          <fldfilterval></fldfilterval>
        </customfieldfilter>
I box that code up into a Account Customization package and attempt to deploy it with
Copy code
suitecloud project:deploy
Validate works both locally and
--server
Unfortunately deployment fails with and end error of:
Copy code
An error occurred during custom object update.
Details: Invalid fldfiltersel reference key 7 for fldfilter STDBODYTRANTYPE.
File: ~/Objects/customrecord_nccer_teststagingrecord.xml
Object: customrecord_nccer_teststagingrecord.custrecord_nccer_teststaging_associnvoic (customrecordcustomfield)
2022-02-10 06:24:02 (PST) Installation FAILED (0 minutes 14 seconds)
🤷‍♂️ 1
I’ve created https://nlcorp.app.netsuite.com/app/crm/support/supportcase.nl?id=125985359 and will update the group should the support case be resolved.