In iVendNext, document titles serve as the primary identifier for transactions, making it easier to locate and manage records. However, default titles (e.g., "QUO-0001") may not always provide meaningful context. Customizing titles—such as including customer names, project codes, or dates—can significantly improve usability.
This guide explains how to tailor document titles dynamically, ensuring clarity and efficiency in daily operations.
Default titles like "SINV-2023-001" are functional but lack descriptive value. Custom titles help:
Improve searchability: Quickly identify documents by key attributes (e.g., "PO for ABC Corp – 15-May-2024").
Enhance reporting: Group documents by customer, project, or status.
Reduce errors: Minimize confusion in high-volume workflows (e.g., quotations for the same customer).
From iVendNext 6.0 onwards, all transactions include a 'Title' property. If absent, add a custom field:
Navigate to: Setup > Customize > Customize Form
Select the form (e.g., Quotation, Sales Invoice).
Add a Text or Read-Only field labeled "Title".
Save the changes.
Use Python-style string formatting to auto-generate titles from document fields.
Edit the Title Field in the form.
In the Default or Options field, enter:
{customer_name} – Quotation #{naming_series}
{customer_name} fetches the linked customer’s name.
{naming_series} pulls the auto-generated ID (e.g., "QUO-0005").
Save and refresh the form.
Editable Titles: Users can modify the default title by clicking the document header.
Fixed Titles: Automatically update when referenced fields change.
To enforce fixed titles, use the Options property with a script or formula.
For complex logic (e.g., titles based on multiple conditions), use Client Scripts:
// Example: Set Quotation title to include status
cur_frm.cscript.refresh = function(doc) {
if (doc.status === 'Approved') {
doc.title = `APPROVED – ${doc.customer_name}`;
}
};
To include data from linked documents (e.g., terms from a Contract):
Add a Link Field (e.g., contract_id).
Reference it in the title:
{contract_id} – {customer_name}
Keep Titles Concise: Prioritize key fields (e.g., customer, date, type).
Standardize Formats: Use consistent patterns across DocTypes (e.g., {project_code}_{date}).
Test Thoroughly: Verify titles update correctly when linked fields change.
Title Not Updating? Check field names for typos (e.g., customer_name vs. customer).
Permission Issues: Ensure users have edit rights to the Title Field.
Custom document titles transform vague IDs into actionable insights, streamlining workflows in iVendNext. By leveraging dynamic fields, scripts, and linked data, businesses can create intuitive, search-friendly titles tailored to their needs.
✅ Use {braces} to reference fields in titles.
✅ Combine fixed and editable titles for flexibility.
✅ Test titles with real data before deployment.