Firestore model (recommended) Collection: articles Document id: index (string or numeric converted to string) Document fields: { “index”: 1, // numeric index (also used as doc id: “1”) “title”: “How to Build with Next.js”, “slug”: “how-to-build-with-nextjs”, “author”: “Rohit Kumar”, “body”: “<p>Article markdown or HTML content…</p>”, “excerpt”: “Short summary for listing”, “tags”: [“nextjs”, “react”, “firebase”], “coverImage”:… Continue reading Creating an Indexed Article System with Next.js and Firebase
Category:
Optimizing Warehouse Operations with NetSuite WMS
Efficient warehouse management is crucial for businesses looking to reduce errors, save time, and improve customer satisfaction. NetSuite’s Warehouse Management System (WMS) provides mobile-driven functionality that streamlines core processes such as receiving, picking, and fulfillment. In our recent demonstrations, we showcased three key warehouse flows: Purchase Order Receiving, Picking with Wave Released, and Picking without… Continue reading Optimizing Warehouse Operations with NetSuite WMS
Fetch Product Details from SKU in Shopify
query getInventoryItems($afterCursor: String) { inventoryItems(first: 200, after: $afterCursor, query: “sku:${itemSku}”) { nodes { id sku tracked } pageInfo { hasNextPage endCursor } } }
Open invoice migration A/R account selection
During open invoice migration, if you encounter an error ‘Please select an A/R account for the invoice’, check whether the customer has a default Receivables account selected. For this go to the customer record and check on the Account information section under the Financial tab. Check whether a receivables account is selected. If the field… Continue reading Open invoice migration A/R account selection
Custom Report Missing Fields Available in Saved Search
Problem Clients often ask why a field (e.g., Custom Customer Field) appears in a Saved Search but not in a Standard Report. Cause Standard Reports use predefined datasets, while Saved Searches directly query record fields. Custom fields don’t always roll up into Reports. Solution Export the Saved Search to Excel. Use SuiteAnalytics Workbook to build… Continue reading Custom Report Missing Fields Available in Saved Search
The core library for generate PDFs in the browser
1. jspdf This is the core library that lets you generate PDFs in the browser (client-side). Key Features: Create PDF documents directly in the browser (no backend needed). Supports text, images, lines, rectangles, circles etc. Add fonts, font sizes, colors. Insert images (PNG, JPEG, WebP). Multiple pages: auto-create new pages when text overflows. Orientation &… Continue reading The core library for generate PDFs in the browser
What can I do with the Firebase Hosting emulator?
The Firebase Hosting emulator provides high-fidelity local emulation of Hosting services, providing much of the functionality found in production Hosting. The Hosting emulator lets you: Prototype your static sites and web apps without incurring storage or access charges Prototype, test and debug HTTPS functions before deploying to your Hosting site Test sites and web apps in containerized, continuous integration workflows. Choose a Firebase… Continue reading What can I do with the Firebase Hosting emulator?
Group Import
The group record is a way of grouping entities. The supported types of entity groups are: Contact Group Customer Group Employee Group Project Group Partner Group Vendor Group Members can be added to a group record depending on the type of group record. For example, a customer group record can have one or more customers… Continue reading Group Import
Implementing Skeleton Loading in Next.js for a Table
Step 1: Project Structure (in an Existing App) Assume your app is already set up with the app/ directory. Add these files for a table page at /users: app/ users/ page.tsx // Your main table page (fetches and renders data) loading.tsx // Separate skeleton file (called automatically… Continue reading Implementing Skeleton Loading in Next.js for a Table
Estimating Completion Date While Ignoring Holidays and Weekends
Overview This article outlines how to calculate an estimated completion date for a task or order in NetSuite, excluding weekends and holidays. Holidays are loaded from a CSV file stored in the File Cabinet, and the logic accounts for both hourly and daily turnaround times. Components 1. Holiday CSV File Format: The CSV should have… Continue reading Estimating Completion Date While Ignoring Holidays and Weekends