File size: 3,392 Bytes
af1bee9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/**

 * PPM label mapping: the ONE place PPM UI labels, nav targets and mock seed values live for automation.

 * Source: step targets in tests/cases/ppm/*.yaml (tests/ui-glossary.yaml has no ppm: section yet; reported to the Test Designer).

 * All UNVERIFIED against a Fusion pod. MOCK app only (mock-app/modules/ppm).

 */
export const PPM_PERSONA_LABELS = {
  project_manager: 'Project Manager (MOCK)', project_manager_2: 'Project Manager 2 (MOCK)', project_accountant: 'Project Accountant (MOCK)',
  project_accountant_2: 'Project Accountant 2 (MOCK)', billing_specialist_ppm: 'Project Billing Specialist (MOCK)', contract_admin: 'Project Contract Administrator (MOCK)',
  contract_approver: 'Contract Approver (MOCK)',
} as const;
export type PPMPersona = keyof typeof PPM_PERSONA_LABELS;
/** {{nav.*}} keys used by PPM cases -> mock work-area path. */
export const NAV = { projects: '/ppm/projects', project_costs: '/ppm/costs', project_contracts: '/ppm/contracts', project_billing: '/ppm/billing', scheduled_processes: '/scheduled-processes' } as const;
export const FIELD = {
  project: 'Project', adjustment: 'Adjustment', task: 'Task', quantity: 'Quantity', invoice: 'Invoice',
  contractType: 'Contract Type', customer: 'Customer', amount: 'Amount', billPlan: 'Bill Plan', revenuePlan: 'Revenue Plan',
} as const;
export const PARAM = {
  businessUnit: 'Business Unit', transactionSource: 'Transaction Source', contract: 'Contract', throughDate: 'Through Date', request: 'Request',
  subledger: 'Subledger Application', ledger: 'Ledger', mode: 'Mode', transferToGL: 'Transfer to General Ledger', postInGL: 'Post in General Ledger',
} as const;
export const PROCESS = {
  importPayroll: 'Import Payroll Costs', importAndProcess: 'Import and Process Cost Transactions', importCosts: 'Import Costs', processCosts: 'Process Cost Transactions',
  generateInvoices: 'Generate Invoices', interfaceStreamline: 'Submit Interface Streamline Request', generateRevenue: 'Generate Revenue', createAccounting: 'Create Accounting',
} as const;
export const BUTTON = { search: 'Search', transfer: 'Transfer', submit: 'Submit', approve: 'Approve', release: 'Release', createContract: 'Create Contract' } as const;
export const TABLE = { projects: 'Projects', items: 'Expenditure Items', adjustments: 'Cost Adjustments', invoices: 'Project Invoices', contractLines: 'Contract Lines' } as const;
export const COL = { status: 'Status', action: 'Action', amount: 'Amount' } as const;
/** Read-only value cells (getByTestId only for values). */
export const TID = { contractNumber: 'ppm-ctr-number', contractStatus: 'ppm-ctr-status', contractAmount: 'ppm-ctr-amount', contractCustomer: 'ppm-ctr-customer' } as const;
/** Synthetic seed values in mock-app/modules/ppm/store.js (ASSUMED; never pod values). */
export const DATA = {
  bu: 'ZZ PPM BU (MOCK)', project: 'ZZ-PRJ-001', otherPmProject: 'ZZ-PRJ-OTHER', laborSource: 'ZZ Payroll (MOCK)', laborType: 'ZZ Labor (MOCK)', supplierType: 'ZZ Supplier Cost (MOCK)',
  employee: 'ZZ-EMP-1', contractType: 'ZZ T&M Contract (MOCK)', customer: 'ZZ_O2C_CUST (MOCK)', billRateSchedule: 'ZZ Bill Rates (MOCK)', revenuePlan: 'T&M',
  testLedger: 'US Primary Ledger (MOCK)', arRequest: 'Transfer Invoices to Oracle Fusion Receivables and Import',
  account: { expense: '01-000-6500', laborClearing: '01-000-2400' },
} as const;