Boost your productivity and maximize your use of NetSuite with Training delivered by Education Services expert resources. Get started today with a free LCS Explorer Pass.

Discussions

Check out Oracle NetSuite upcoming events and conferences here
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Attention: Customers with NetSuite Electronic Bank Payment (EBP) SuiteApp, version 2020.2 QA (ID 315896) must UPDATE (do NOT uninstall) their bundle to the Production version 2022.1 (ID 416781) by December 31, 2022. Note: If users fail to manually update the Electronic Bank Payments SuiteApp within the given time window, this version of the SuiteApp (ID: 315896) will be deprecated and the account will not be updated to Leading version (2022.1) of the Electronic Bank Payments SuiteApp. Please refer to the campaign email sent to impacted customers for more information.
Update your Profile with your Support type to get your Support Type badge.
Join the NetSuite Referral Program and get rewarded for introducing your peers to the NetSuite community. ⭐️ https://lnkd.in/eYXGYfC9
Drumroll please...registration for #SuiteWorld 2023 is now OPEN! See you in Las Vegas October 16-19 to celebrate 25 years of NetSuite with even more learning, more networking, and more fun! The show will sell-out (again), so grab that Early Bird $300 discount and reserve your spot today!

Why is nlapiGetLineItemValue sometimes has a different format for what should be the same value?

edited Feb 18, 2023 2:33AM in Ask A Guru 3 comments

A script we have is using nlapiGetLineItemValue to get the quantity for a line item. In some cases a quantity of 2 is returning "2", while in some other cases a quantity of 2 is returning "2.0". The documentation for nlapiGetLineItemValue just indicates that it returns a string, so both values are technically valid.

Can someone point me in the right direct as to why this method would return one value rather than the other?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!

Leaderboard

This Week's Leaders

This Month's Leaders

All Time Leaders