N/auth Module

Use the N/auth module to change your NetSuite login credentials. N/auth Module Members: Member Type Name Return Type / Value Type Supported Script Types Description Method auth.changeEmail(options) void Server scripts Changes the current user’s NetSuite email address (username). Method auth.changePassword(options) void Server scripts Changes the current user’s NetSuite password. auth.changeEmail(options): Method Description Changes the current… Continue reading N/auth Module

Adjustments required to move from previous GAAP to IFRSs at the time of first-time adoption of IFRS.

Derecognition of some previous GAAP assets and liabilities The entity should eliminate previous-GAAP assets and liabilities from the opening statement of financial position if they do not qualify for recognition under IFRSs. [IFRS 1.10(b)] For example: IAS 38 does not permit recognition of expenditure on any of the following as an intangible asset: research start-up,… Continue reading Adjustments required to move from previous GAAP to IFRSs at the time of first-time adoption of IFRS.

How to check the current user role in WordPress?

To retrieve the current user’s role, use below codeif ( current_user_can( ‘manage_options’ ) ) { $user = wp_get_current_user(); if ( $user->ID ) { $roles = (array) $user->roles; $role = array_shift( $roles ); echo ‘Current User Role: ‘. translate_user_role( $wp_roles->roles[ $role ][‘name’] ) . ”; }}

Published
Categorized as Wordpress

User Event Script in Suite Script 2.1

It is the NetSuite server that runs user event scripts. Records can be created, loaded, updated, copied, deleted, or submitted by users, among other activities that trigger their execution. User event scripts can be used with the majority of standard NetSuite records as well as custom record types. The following are examples of exceptions: certain… Continue reading User Event Script in Suite Script 2.1

record.transform(options)

Transforms a record from one type into another, using data from an existing record. You can use this method to automate order processing, creating item fulfillment transactions and invoices off of orders. Returns record.Record Supported Script Types Client and server scripts Governance Transaction records: 10 unitsCustom records: 2 unitsAll other record types: 5 units Module… Continue reading record.transform(options)

Supported Transformation Types in record.transform(options)

Original Record Name Original Record Type Transformed Record Name Transformed Record Type Assembly Build assemblybuild Assembly Unbuild assemblyunbuild Build/Assembly assemblyitem Assembly BuildNote: You cannot use SuiteScript to create an Assembly Build for an Outsourcing Work Order. assemblybuild Build/Assembly assemblyitem Work Order workorder Cash Sale cashsale Cash Refund cashrefund Cash Sale cashsale Custom Sales Transaction customsalestransaction Cash… Continue reading Supported Transformation Types in record.transform(options)

NetSuite Transaction Status Codes

When working with NetSuite, transaction Statuses are one of the trickiest parts. The following are the transaction status and the respective status codes that can be used for attaching it. Bill:Open  VendBill:A Bill:Paid In Full  VendBill:B Bill Payment:Voided  VendPymt:V Bill Payment:Online Bill Pay Pending Accounting Approval  VendPymt:Z Cash Sale:Unapproved Payment  CashSale:A Cash Sale:Not Deposited  CashSale:B… Continue reading NetSuite Transaction Status Codes

Change Tax Applied on Shipping Method

To change the tax applied on the shipping method used: Go to Lists > Accounting > Shipping Items > Select the Shipping Method used > Click Edit > Shipping Rules tab > Charge Tax On This Shipping Portion Of Item Field > Select tax code to be used Moving forward, when this shipping method is selected, the Shipping Charges will follow the tax code on the Charge Tax On This Shipping… Continue reading Change Tax Applied on Shipping Method