We can change the background image of the webpage on scroll without changing the foreground contents. 1. Create HTML Create seven <div> tags with the following classes: <div class=”image one”></div> <div class=”image two”></div> <div class=”image three”></div> <div class=”image four”></div> <div class=”image five”></div> <div class=”image six”></div> <div class=”image seven”></div> <div class=”content”>W3DOCS</div> 2. Add CSS Set the height of… Continue reading Change the background image on scroll using CSS
Month: December 2022
Function accepts UTF_8 format and returns hexadecimal value of input
function encodingString ( params ) { try { let hexEncodedString = encode.convert( { string: params, inputEncoding: encode.Encoding.UTF_8, outputEncoding: encode.Encoding.HEX } ); return ( hexEncodedString ) } catch ( e ) { log.error( “error@encodingString”, e ) } }
Function to get the length of the parameters and convert the string to hex value
function getLength ( lengthparam ) { try { let length = lengthparam.length let orgLength = Number( length ) / 2 let hexString = orgLength.toString( 16 ) if ( hexString.length < 2 ) { hexString = “0” + hexString; } return hexString } catch ( e ) { log.error( “error@getLength”, e ) } }
Quantity invoiced does not match Quantity fulfilled
We can solve the problem of “manually creating an invoice for a sales order, it adds the entire SO quantity, not the shipped quantity” using the standard way of NetSuite Go through the Navigation Setup -> Accounting -> Accounting Preference Uncheck the “Show Unfulfilled Items on Invoices “ and “Invoice in Advance of Fulfillment “checkboxes… Continue reading Quantity invoiced does not match Quantity fulfilled
How to implement a script library file in NetSuite
We can store global variables and functions inside a script library file in NetSuite. This helps to easily use a function or variable in multiple script records without defining the same for each record. For example, we can store global variables such as email addresses and commonly used functions inside a library file and access… Continue reading How to implement a script library file in NetSuite
IN TRANSIT PAYMENT
Using In-transit Payments allows a more precise accounting by showing the payment across time by recording the date of our intent to pay funds and then confirming the date that a deposit happens at the vendor’s bank. To start using In-Transit Payments in NetSuite, follow these steps to enable and setup the feature: Enabling the… Continue reading IN TRANSIT PAYMENT
Display Main line criteria, Body-level location, and Line-level location in transaction saved search using Formula
Scenario: To display main line criteria, body-level location, and line-level location in the transaction search result, we may use the following formulas Mainline condition formula : Formula(text) – Case When {mainline}=’*’ then ‘True’ else ‘False’ end Body level location: Formula(text) – CASE WHEN (Case When {mainline}=’*’ then ‘True’ else ‘False’ end) = ‘True’ THEN {location}… Continue reading Display Main line criteria, Body-level location, and Line-level location in transaction saved search using Formula
Fundamental test process – Evaluating Exit criteria and Reporting
Evaluating Exit criteria and Reporting: Based on the risk assessment of the project, we will set the criteria for each test level against which we will measure “enough testing.” These criteria vary from project to project and are known as “exit criteria.”Exit criteria come into the picture, when:Maximum test cases with a certain pass percentage… Continue reading Fundamental test process – Evaluating Exit criteria and Reporting
The Accounting Book field is blank in the Transaction search
In the transaction search, the accounting book field does not show any values. To get the accounting books associated with a transaction, need to select the ‘Multi-Book Accounting Transaction’ join field. Select the Accounting book, exchange rates, and other fields from this join field.
Average Cost is Zero in Inventory Valuation Report
When Multi-Location Inventory (MLI) feature is enabled, the Average Cost is displayed only for the item’s preferred location. If there is no preferred location defined for an item, the average cost and last purchase price displayed on the report is blank or zero. It is currently the enhancement (Enhancement 156866) As an alternate solution, you may set a Preferred Location on the… Continue reading Average Cost is Zero in Inventory Valuation Report