OBLYTECH Logo
OBLYTECH Logo

Create an expense line

An expense line records an actual cost in ServiceNow. In Portfolio Planning Workspace, you can add one to a cost plan or enter an unplanned expense without selecting a plan first. Save the record, check its financial association, and verify its processing state before expecting the amount in work-item rollups.

Decide where the expense line belongs

Start with the cost you need to record and the planning item responsible for it. A cost plan can have several expense lines, so a new actual cost does not necessarily need a new plan. Use the existing plan when the expense belongs to that planned category and work item.

For an unplanned expense, the workspace provides a standalone entry route. When an expense line has no cost plan association, the system creates a cost plan or associates an existing plan with the same expense type. Standalone entry therefore describes how you start the record; it does not mean the actual must remain outside cost planning.

Before entering anything, gather the supporting transaction, the item that incurred the cost, and enough description to distinguish it from other charges. As a review practice, compare those details with existing lines. A second manual record for a charge already generated by a rate card can distort the actuals you are trying to explain.

Keep the source record, the cost plan, and the cost center distinct in your review. They answer different questions: what incurred the charge, where it belongs in planning, and who bears the cost. A clear association makes later reconciliation easier than relying on a description alone.

Create an expense line in Portfolio Planning Workspace

The role required for adding or editing expense lines through this workspace procedure is sn_align_ws.spw_financial_user. Check access for the person doing this action rather than assuming a general financial role grants the same workspace permissions. The navigation and controls described here follow the Brazil release; check them on your instance and release.

  1. Navigate to Workspaces > Portfolio Planning Workspace and select the portfolio plan.
  2. In the Planning module, select the planning item that should carry the expense.
  3. Open the Financials tab.
  4. For an expense tied to a cost plan, select the plan’s actuals value. In the Expense lines side panel, select New.
  5. Alternatively, use the options from a cell and select Add expense lines.
  6. For an unplanned expense, select New expense line through More actions.
  7. Complete the Create expense line form and select Save.

Choose the entry route before filling the form. Opening a particular plan’s actuals gives you a planning context to review. Starting through More actions suits an unplanned cost. In either case, inspect the resulting association instead of treating a successful save as the end of the financial check.

If your team wants to change this flow, first decide whether the requirement concerns available configuration or additional behavior. The distinction explained in ServiceNow customization versus configuration helps frame that decision before someone changes how financial records are created.

Review saved actuals and edit the right record

An expense line can exist without contributing to the work item’s rollups. In this workspace flow, rollups consider expense lines in the processed state. When an amount seems absent, inspect the line’s state as well as its cost plan association. Saving an expense and processing it are separate checks.

To edit an existing expense through Financials, select the cost plan’s actuals value to reopen the expense side panel. Select the expense you intend to change, update the values, and select Save. Match the record to its supporting transaction before you change it, then recheck the saved values and the lines that make up any total that still looks wrong.

After the edit, review the saved values and the planning context again. If a total remains unexpected, compare the individual lines contributing to it rather than repeatedly changing the amount. Separate a wrong entry from an association problem or a line that has not reached the state needed for rollup.

As an operating practice, reconcile a small set of representative transactions before entering a larger batch. Include an expense assigned to a plan and an unplanned expense. This lets the team inspect the resulting associations and actuals with a manageable set of records.

For help planning this work, see ServiceNow implementation.

Use contract entry when the charge belongs to a contract

Contract expense entry has its own navigation and role requirements. For the creation procedure, the roles listed are asset; contract_manager for the core UI and Hardware Asset Workspace; and sn_eam.enterprise_admin or sn_eam.enterprise_asset_manager for Enterprise Asset Workspace. Keep those action-specific requirements separate from the Portfolio Planning Workspace role.

In the core UI, open Contract Management > Contract > All and select the contract. In Hardware Asset Workspace, open Contract management and select All contracts. In Enterprise Asset Workspace, use Contract and lease management, then All contracts. Open the contract’s Expense Lines related list or tab and select New.

On this form, Source ID identifies the item associated with the expense. Filling it populates corresponding source information. Amount records its monetary value, and a negative amount represents a credit. Rate type is read-only. Process date records when the line is processed, while State can be Pending or Processed.

Use Short description to distinguish the charge and review the relevant asset, task, configuration item, or cost center references. The Contract field takes the contract’s identification number rather than its contract number, and it is filled when the line relates to an asset. Finish with Submit in the core UI or Save in either workspace.

Do not assume that other records called line items follow this financial procedure. For the separate sales context, see opportunity stages and line items in ServiceNow Sales CRM.

Check automatic generation before entering another charge

Manual entry is one route into expense recording. Three kinds of rule-driven charge write expense lines without anyone keying them. CI rate cards bill each configuration item on the card’s interval, which is usually monthly. Distribution costs split one shared charge, such as data center power, across the CIs their rule selects. Closed tasks on task rate cards are processed into lines once a task rate value is in place. Imports from other systems and server-side code can also write lines; scripts use the ExpenseLine script include.

Contract rate cards have a separate generation setup. Configuring it requires financial_mgmt_user, asset, or contract_manager. Open Contract > Contracts > All, select the contract, and open a rate card from Contract Rate Card. In Distribute cost, choose the allocation method and select Update.

The available methods distribute cost per asset, according to asset value, per user, or to the contract. With value-based distribution, the Value selection uses Cost or Residual Cost. Review the intended recipients before changing the method, because splitting a contract charge and assigning it to the contract represent different financial treatments.

The Process FM Costs scheduled job runs daily against contracts. Generation covers costs between the rate card’s Start date and End date, moves forward from Next Process, and applies to contracts in Active or Expired state. Review these dates and the state before treating a missing generated line as a reason for manual entry.

For an import investigation, separate reading incoming text from creating financial records. The GlideTextReader API guide addresses text reading; expense creation still needs its own financial mapping and checks.

Questions about expense sources and financial controls

Do CI relationship changes rewrite existing expenses?

A line that has already been generated keeps the CI it was written against. A change to a CI’s membership in a rate card only reaches the lines the scheduler creates after the change, so read an older charge against the relationship as it stood on its date. When reviewing a historical charge, distinguish the source context at generation from the relationship you see now.

Where can a parent project show subproject expenses?

Expense lines created for subprojects can be viewed on the parent project’s Cost screen. Check that view when the review concerns a parent project rather than assuming the reviewer must open each subproject separately.

Does the financial user role include deleting expense lines?

No. The financial user role can create, read and write expense lines; the financial admin role also deletes them. Keep deletion rights separate from the ability to correct an entry.

Does a domain field establish separated expense processing?

Expense Line processing does not support domain separation. A domain field may appear on a table without business logic that manages separated processing. Do not use the presence of that field as evidence that financial processing is isolated by domain.