How to arrange the commerce categories in the orderwise according to position

the categories were arranged accordingly to the respective posistion same as sandbox to production it appears that categories 6 through 11 are not currently displayed in the desired vertical sequence that has not assigned. The order we specified for these categories is not being properly reflected in their respective positions.by using the smt we can… Continue reading How to arrange the commerce categories in the orderwise according to position

Change the value of a General or Accounting preference using SuiteScript

To change the value of a General or Accounting preference using SuiteScript 2.0, you must load each preference page using config.load(options) in N/runtime Module where options.name is COMPANY_PREFERENCES or ACCOUNTING_PREFERENCES. The config.load(options) method returns a record.Record. You can use the Record.setValue(options) method to set the preference. You can use the Record.getValue(options) method to get the… Continue reading Change the value of a General or Accounting preference using SuiteScript

How to add a new section for showing the profile name only in the top of the my account overview section

Scenario:Add the name of the customer logged in the below marked section in the myaccount overview page. Solution: We can either use extension or SMT.The simplest method will be using SMT.We can create a SMT area in the my account overview home page and this section will only appears in this page. We can get… Continue reading How to add a new section for showing the profile name only in the top of the my account overview section

Dart – Null Safety

Null safety prevents errors that result from unintentional access of variables set to null. Nullable Types (?) : To specify if the variable can be null, then you can use the nullable type  operator. You don’t need to initialize a nullable variable before using it. It is initialized to null by default. The Assertion Operator (!) :… Continue reading Dart – Null Safety

Restrict the items based on subsidiary for all the global searches including plp page without getting issue in pagination and total items.

using this Methode we can restrict the items for the Seach using Api based on subsider in the profile model we can get the API using that Api we can restrict the items on the search and PLP if we are using the Custome field then we also we need to add that fields in… Continue reading Restrict the items based on subsidiary for all the global searches including plp page without getting issue in pagination and total items.