.do
Enterprises

Functions

Horizontal business functions that span departments

Business Functions

Horizontal business functions are capabilities that span multiple departments and organizational units. They provide consistent processes and standards across the enterprise.

Core Functions

Finance & Accounting

Scope: All financial operations across the organization

Sub-Functions:

  • Financial Planning & Analysis (FP&A)
  • General Ledger & Accounting
  • Accounts Payable & Receivable
  • Treasury & Cash Management
  • Tax & Compliance
  • Financial Reporting

Key Processes:

  • Budgeting and forecasting
  • Month-end/quarter-end close
  • Invoice processing and payment
  • Cash flow management
  • Financial statement preparation
  • Audit and compliance

Automation:

// Automated month-end close
on($.Month.ended, async (month) => {
  const close = await $.MonthEndClose.execute({
    month,
    steps: [
      'reconcile-bank-accounts',
      'process-accruals',
      'close-subledgers',
      'generate-financial-statements',
      'run-variance-analysis',
      'prepare-management-reports',
    ],
  })

  if (close.status === 'complete') {
    await send($.FinancialReports.ready, close.reports)
  }
})

Scope: Legal matters, contracts, and regulatory compliance

Sub-Functions:

  • Contract Management
  • Regulatory Compliance
  • Intellectual Property
  • Risk Management
  • Corporate Governance

Key Processes:

  • Contract review and approval
  • Compliance monitoring
  • Legal research
  • Risk assessment
  • Policy management

Automation:

  • AI contract review and extraction
  • Automated compliance checks
  • Risk scoring and alerts
  • Policy distribution and attestation

Information Technology

Scope: Technology infrastructure and services

Sub-Functions:

  • Application Development
  • Infrastructure & Operations
  • Security & Compliance
  • Data & Analytics
  • User Support

Key Processes:

  • System provisioning and access
  • Incident management
  • Change management
  • Security monitoring
  • Data governance

Automation:

  • Self-service provisioning
  • Automated incident response
  • Intelligent ticket routing
  • Predictive maintenance
  • Security automation

Human Capital

Scope: All people-related activities

Sub-Functions:

  • Talent Acquisition
  • Learning & Development
  • Compensation & Benefits
  • Performance Management
  • Employee Relations

Key Processes:

  • Recruiting and hiring
  • Onboarding and offboarding
  • Performance reviews
  • Benefits administration
  • Employee engagement

Automation:

  • AI-powered recruiting
  • Digital onboarding
  • Continuous feedback
  • Benefits optimization
  • Predictive attrition

Supply Chain

Scope: End-to-end supply chain operations

Sub-Functions:

  • Demand Planning
  • Procurement
  • Manufacturing/Production
  • Logistics & Distribution
  • Supplier Management

Key Processes:

  • Demand forecasting
  • Purchase order management
  • Inventory optimization
  • Order fulfillment
  • Supplier performance

Automation:

  • Predictive demand planning
  • Automated replenishment
  • Real-time inventory tracking
  • Intelligent routing
  • Supplier scorecards

Customer Operations

Scope: All customer-facing operations

Sub-Functions:

  • Sales & Business Development
  • Marketing & Communications
  • Customer Support
  • Customer Success
  • Professional Services

Key Processes:

  • Lead-to-opportunity
  • Campaign management
  • Ticket management
  • Account management
  • Project delivery

Automation:

  • Lead scoring and routing
  • Campaign orchestration
  • Intelligent ticket assignment
  • Health score monitoring
  • Project tracking

Business Development

Scope: Strategic partnerships and growth initiatives

Sub-Functions:

  • Partnership Development
  • Strategic Initiatives
  • Market Expansion
  • Mergers & Acquisitions

Key Processes:

  • Partner identification
  • Deal structuring
  • Integration planning
  • Market research

Automation:

  • AI-powered partner matching
  • Automated due diligence
  • Integration playbooks
  • Market intelligence

Function Integration

Horizontal Integration

Functions coordinate across departments:

Example: Employee Expense Reimbursement

  • Employee (any dept) submits expense
  • Manager approves
  • Finance processes payment
  • Accounting reconciles
  • IT integrates with systems

Vertical Integration

Functions support department-specific needs:

Sales Function Support:

  • Finance: Commission calculation
  • Legal: Contract review
  • IT: CRM configuration
  • HR: Sales hiring

Shared Services Model

Centralize common functions:

Benefits:

  • Economies of scale
  • Consistent processes
  • Specialized expertise
  • Better compliance

Challenges:

  • Service level agreements
  • Charge-back models
  • Customization vs standardization
  • Governance structure

Business-as-Code Implementation

Function-as-Service

Package functions as reusable services:

const expenseReimbursement = $.Function.create({
  name: 'Expense Reimbursement',
  inputs: {
    employee: $.Employee,
    expense: $.Expense,
  },
  process: [$.validate.expensePolicy, $.route.toManager, $.await.approval, $.process.payment, $.record.transaction, $.notify.employee],
})

// Use across organization
on($.Expense.submitted, async (expense) => {
  await expenseReimbursement.execute(expense)
})

Function Orchestration

Coordinate multiple functions:

const quarterEndClose = $.Orchestration.create({
  functions: [$.Finance.closeBooks(), $.Legal.reviewCompliance(), $.HR.processPayroll(), $.Operations.reconcileInventory(), $.Sales.calculateCommissions()],
  dependencies: {
    'Legal.reviewCompliance': ['Finance.closeBooks'],
    'Sales.calculateCommissions': ['Finance.closeBooks'],
  },
})

Next Steps