Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

feat(accounting): general ledger report and account mapping filter (#1979)

Brad Barbina04a35c8211c
diff --git a/apps/erp/app/modules/accounting/AGENTS.md b/apps/erp/app/modules/accounting/AGENTS.md
index a95b559721..c3e3c1dabc 100644
--- a/apps/erp/app/modules/accounting/AGENTS.md
+++ b/apps/erp/app/modules/accounting/AGENTS.md
@@ -2,7 +2,9 @@
Chart of accounts, journal entries, general ledger, fiscal periods, currencies, payment terms, cost centers, dimensions, financial reporting (trial balance, balance sheet, income statement), fixed assets with depreciation, intercompany transactions, and external accounting sync (Xero, QuickBooks Online, Rillet).
-The reports hub lives inside the accounting module at `/x/accounting/reports` (with the module sidebar; single "Reports" sidebar item), while the report pages themselves are full-screen in their own namespace `apps/erp/app/routes/x+/reports+/` (`/x/reports/{balance-sheet,income-statement,executive-pnl,trial-balance,inventory-valuation,revenue-waterfall,rental-utilization,lease-net-investment}` — bare-outlet layout, no module sidebar; `/x/reports` redirects to the hub). Balance sheet and income statement are multi-period: a Columns filter (Monthly default / Quarterly / Yearly) buckets the selected range fiscal-aware via `computeReportPeriodBuckets` (`@carbon/utils`) and the `accountTreeBalancePeriodSeries` RPC returns per-bucket `balanceAtDate`/`netChange` in one snapshot-bounded journal scan. Trial balance stays single-period (Beginning/Debit/Credit/Ending derived from netChange by account class).
+The reports hub lives inside the accounting module at `/x/accounting/reports` (with the module sidebar; single "Reports" sidebar item), while the report pages themselves are full-screen in their own namespace `apps/erp/app/routes/x+/reports+/` (`/x/reports/{balance-sheet,income-statement,executive-pnl,trial-balance,general-ledger,inventory-valuation,revenue-waterfall,rental-utilization,lease-net-investment}` — bare-outlet layout, no module sidebar; `/x/reports` redirects to the hub). Balance sheet and income statement are multi-period: a Columns filter (Monthly default / Quarterly / Yearly) buckets the selected range fiscal-aware via `computeReportPeriodBuckets` (`@carbon/utils`) and the `accountTreeBalancePeriodSeries` RPC returns per-bucket `balanceAtDate`/`netChange` in one snapshot-bounded journal scan. Trial balance stays single-period (Beginning/Debit/Credit/Ending derived from netChange by account class).
+
+The **General Ledger** (`general-ledger.tsx`, hub card in Close Reports) lists every line of the `journalLines` view (Posted and Reversed journals only) for one company and a date range: `getGeneralLedgerLines` (paged, the shared `Table` with account / source / document type filters, search and sorts) and `getAllGeneralLedgerLines` (`fetchAll`, every line) for the Download, served by the resource route `general-ledger[.]csv.tsx`. Both routes parse the request with `resolveGeneralLedgerRequest` (`general-ledger.server.ts`): one company (lines are in its base currency, so "All Companies" is off — `allowAllCompanies={false}` on `ReportFilters`) and the trial balance's default range.
**Inventory Valuation** (`inventory-valuation.tsx`, gated on `view: "accounting"`) is an inventory-subledger report that lives here (not in the inventory module): it renders the `InventoryValuationWorkbench` from `~/modules/inventory/ui` (on-hand value by location/item, as-of date, with a GL tie-out and a **Reconcile** action → `inventory-valuation.reconcile` posting via `createInventoryReconciliationJournal`, gated on `create: "accounting"`). Data/UI live in the inventory module; only the route + hub registration are here.
diff --git a/apps/erp/app/modules/accounting/accounting.service.ts b/apps/erp/app/modules/accounting/accounting.service.ts
index aa61ff1a26..ed2fdd57b4 100644
--- a/apps/erp/app/modules/accounting/accounting.service.ts
+++ b/apps/erp/app/modules/accounting/accounting.service.ts
@@ -221,7 +221,11 @@ import {
import { getOnRentLineForAsset } from "~/modules/sales/sales.service";
import { getNextSequence } from "~/modules/settings/settings.service";
import type { GenericQueryFilters } from "~/utils/query";
-import { LIST_COUNT, setGenericQueryFilters } from "~/utils/query";
+import {
+ LIST_COUNT,
+ setGenericQueryFilters,
+ setSearchFilter
+} from "~/utils/query";
import { sanitize } from "~/utils/supabase";
import {
allocateJournalLineIds,
@@ -308,6 +312,7 @@ import {
import type {
AccountLedgerLine,
ChartPeriodSeries,
+ GeneralLedgerLine,
PeriodCell,
Transaction,
TranslatedBalance
@@ -461,6 +466,76 @@ export async function getAccountLedger(
};
}
+// The general ledger report reads the lines of Posted and Reversed journals
+// only — the lines the trial balance sums. The `journalLines` view filters the
+// same statuses; the report states them so it holds if the view changes.
+const GENERAL_LEDGER_LINE_COLUMNS =
+ "id, journalId, journalEntryId, postingDate, status, sourceType, journalDescription, description, amount, accountId, documentType, account(number, name, class)";
+
+type GeneralLedgerArgs = Pick<GenericQueryFilters, "sorts" | "filters"> & {
+ search: string | null;
+ startDate: string;
+ endDate: string;
+};
+
+function generalLedgerLinesQuery(
+ client: SupabaseClient<Database>,
+ companyId: string,
+ args: GeneralLedgerArgs,
+ withCount: boolean
+) {
+ let query = client
+ .from("journalLines")
+ .select(
+ GENERAL_LEDGER_LINE_COLUMNS,
+ withCount ? { count: LIST_COUNT } : undefined
+ )
+ .eq("companyId", companyId)
+ .in("status", [...GL_JOURNAL_STATUSES])
+ .gte("postingDate", args.startDate)
+ .lte("postingDate", args.endDate);
+
+ query = setSearchFilter(query, args.search, [
+ "journalEntryId",
+ "description",
+ "journalDescription"
+ ]);
+
+ query = setGenericQueryFilters(
+ query,
+ { sorts: args.sorts, filters: args.filters },
+ [
+ { column: "postingDate", ascending: true },
+ { column: "journalEntryId", ascending: true }
+ ]
+ );
+
+ // A unique tie-break keeps pages (and the CSV's batches) stable
+ return query.order("id", { ascending: true });
+}
+
+export async function getGeneralLedgerLines(
+ client: SupabaseClient<Database>,
+ companyId: string,
+ args: GeneralLedgerArgs & Pick<GenericQueryFilters, "limit" | "offset">
+) {
+ return generalLedgerLinesQuery(client, companyId, args, true).range(
+ args.offset,
+ args.offset + args.limit - 1
+ );
+}
+
+/** Every line of the report, past PostgREST's row cap — for the CSV export. */
+export async function getAllGeneralLedgerLines(
+ client: SupabaseClient<Database>,
+ companyId: string,
+ args: GeneralLedgerArgs
+) {
+ return fetchAll<GeneralLedgerLine>(() =>
+ generalLedgerLinesQuery(client, companyId, args, false)
+ );
+}
+
export async function getAccountLedgerSummary(
client: SupabaseClient<Database>,
companyGroupId: string,
diff --git a/apps/erp/app/modules/accounting/types.ts b/apps/erp/app/modules/accounting/types.ts
index 373c0524f9..65d7987070 100644
--- a/apps/erp/app/modules/accounting/types.ts
+++ b/apps/erp/app/modules/accounting/types.ts
@@ -15,6 +15,7 @@ import type {
getDimensionPivot,
getDimensionPivotLines,
getDimensions,
+ getGeneralLedgerLines,
getJournalEntries,
getJournalEntry,
getPaymentTerms,
@@ -452,6 +453,10 @@ export type JournalEntry = NonNullable<
Awaited<ReturnType<typeof getJournalEntry>>["data"]
>;
+export type GeneralLedgerLine = NonNullable<
+ NonNullable<Awaited<ReturnType<typeof getGeneralLedgerLines>>>["data"]
+>[number];
+
export type JournalEntryListItem = NonNullable<
NonNullable<Awaited<ReturnType<typeof getJournalEntries>>>["data"]
>[number];
diff --git a/apps/erp/app/modules/accounting/ui/Reports/CompanySelector.tsx b/apps/erp/app/modules/accounting/ui/Reports/CompanySelector.tsx
index 30c900c306..d4e4613f8c 100644
--- a/apps/erp/app/modules/accounting/ui/Reports/CompanySelector.tsx
+++ b/apps/erp/app/modules/accounting/ui/Reports/CompanySelector.tsx
@@ -22,13 +22,16 @@ type Company = {
type CompanySelectorProps = {
companies: Company[];
selectedCompanyIds: string[];
+ /** Offers "All Companies"; off for reports that read one company only */
+ allowAll?: boolean;
};
const ALL = "__all__";
const CompanySelector = ({
companies,
- selectedCompanyIds
+ selectedCompanyIds,
+ allowAll = true
}: CompanySelectorProps) => {
const { t } = useLingui();
const [, setParams] = useUrlParams();
@@ -55,9 +58,11 @@ const CompanySelector = ({
</DropdownMenuTrigger>
<DropdownMenuContent>
<DropdownMenuRadioGroup value={value} onValueChange={onChange}>
- <DropdownMenuRadioItem value={ALL}>
- <Trans>All Companies</Trans>
- </DropdownMenuRadioItem>
+ {allowAll && (
+ <DropdownMenuRadioItem value={ALL}>
+ <Trans>All Companies</Trans>
+ </DropdownMenuRadioItem>
+ )}
{companies.map((company) => (
<DropdownMenuRadioItem key={company.id} value={company.id}>
{company.name}
diff --git a/apps/erp/app/modules/accounting/ui/Reports/GeneralLedgerTable.tsx b/apps/erp/app/modules/accounting/ui/Reports/GeneralLedgerTable.tsx
new file mode 100644
index 0000000000..77c3cfc926
--- /dev/null
+++ b/apps/erp/app/modules/accounting/ui/Reports/GeneralLedgerTable.tsx
@@ -0,0 +1,208 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+// including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
+import { HStack } from "@carbon/react";
+import { toDisplayCredit, toDisplayDebit } from "@carbon/utils";
+import { useLingui } from "@lingui/react/macro";
+import type { ColumnDef } from "@tanstack/react-table";
+import { memo, useMemo } from "react";
+import {
+ LuBookmark,
+ LuCalendar,
+ LuCircleDollarSign,
+ LuFileText,
+ LuLandmark,
+ LuTag
+} from "react-icons/lu";
+import { DateTime, Hyperlink, Table } from "~/components";
+import { Enumerable } from "~/components/Enumerable";
+import { useCurrencyFormatter } from "~/hooks/useCurrencyFormatter";
+import { path } from "~/utils/path";
+import {
+ journalEntrySourceTypes,
+ journalLineDocumentType
+} from "../../accounting.models";
+import type { AccountClass, GeneralLedgerLine } from "../../types";
+import JournalEntryStatus from "../JournalEntries/JournalEntryStatus";
+
+type GeneralLedgerTableProps = {
+ data: GeneralLedgerLine[];
+ count: number;
+ accounts: { id: string; number: string | null; name: string | null }[];
+ currencyCode: string;
+};
+
+const defaultColumnVisibility = {
+ documentType: false
+};
+
+function accountLabel(line: GeneralLedgerLine) {
+ return [line.account?.number, line.account?.name].filter(Boolean).join(" ");
+}
+
+// `amount` is signed by the account's natural balance, so debit and credit
+// depend on the account's class
+function debitOf(line: GeneralLedgerLine) {
+ return toDisplayDebit(
+ line.amount ?? 0,
+ (line.account?.class ?? "Asset") as AccountClass
+ );
+}
+
+function creditOf(line: GeneralLedgerLine) {
+ return toDisplayCredit(
+ line.amount ?? 0,
+ (line.account?.class ?? "Asset") as AccountClass
+ );
+}
+
+const GeneralLedgerTable = memo(
+ ({ data, count, accounts, currencyCode }: GeneralLedgerTableProps) => {
+ const { t } = useLingui();
+ const currencyFormatter = useCurrencyFormatter({ currency: currencyCode });
+
+ const columns = useMemo<ColumnDef<GeneralLedgerLine>[]>(
+ () => [
+ {
+ accessorKey: "postingDate",
+ header: t`Date`,
+ cell: ({ row }) => (
+ <DateTime value={row.original.postingDate} variant="date" />
+ ),
+ meta: {
+ mobile: "P2",
+ icon: <LuCalendar />
+ }
+ },
+ {
+ accessorKey: "journalEntryId",
+ header: t`Journal Entry`,
+ cell: ({ row }) => (
+ <HStack spacing={2}>
+ <Hyperlink
+ to={path.to.journalEntryDetails(row.original.journalId!)}
+ >
+ {row.original.journalEntryId}
+ </Hyperlink>
+ {row.original.status !== "Posted" && row.original.status && (
+ <JournalEntryStatus status={row.original.status} />
+ )}
+ </HStack>
+ ),
+ meta: {
+ mobile: "P1",
+ icon: <LuBookmark />
+ }
+ },
+ {
+ accessorKey: "accountId",
+ header: t`Account`,
+ cell: ({ row }) => accountLabel(row.original) || "—",
+ meta: {
+ mobile: "P3",
+ icon: <LuLandmark />,
+ sortBy: "account.number",
+ exportValue: accountLabel,
+ filter: {
+ type: "static",
+ isArray: true,
+ options: accounts.map((account) => ({
+ label: [account.number, account.name].filter(Boolean).join(" "),
+ value: account.id
+ }))
+ }
+ }
+ },
+ {
+ accessorKey: "description",
+ header: t`Description`,
+ cell: ({ row }) => (
+ <span className="line-clamp-1 max-w-[320px]">
+ {row.original.description ??
+ row.original.journalDescription ??
+ "—"}
+ </span>
+ ),
+ meta: {
+ icon: <LuFileText />,
+ exportValue: (row) =>
+ row.description ?? row.journalDescription ?? null
+ }
+ },
+ {
+ accessorKey: "sourceType",
+ header: t`Source`,
+ cell: ({ row }) => <Enumerable value={row.original.sourceType} />,
+ meta: {
+ icon: <LuTag />,
+ filter: {
+ type: "static",
+ isArray: true,
+ options: journalEntrySourceTypes.map((v) => ({
+ label: <Enumerable value={v} />,
+ value: v
+ }))
+ }
+ }
+ },
+ {
+ accessorKey: "documentType",
+ header: t`Document Type`,
+ cell: ({ row }) => <Enumerable value={row.original.documentType} />,
+ meta: {
+ icon: <LuTag />,
+ filter: {
+ type: "static",
+ isArray: true,
+ options: journalLineDocumentType.map((v) => ({
+ label: <Enumerable value={v} />,
+ value: v
+ }))
+ }
+ }
+ },
+ {
+ id: "debit",
+ header: t`Debit`,
+ cell: ({ row }) => {
+ const debit = debitOf(row.original);
+ return debit !== 0 ? currencyFormatter.format(debit) : "";
+ },
+ meta: {
+ icon: <LuCircleDollarSign />,
+ exportValue: debitOf
+ }
+ },
+ {
+ id: "credit",
+ header: t`Credit`,
+ cell: ({ row }) => {
+ const credit = creditOf(row.original);
+ return credit !== 0 ? currencyFormatter.format(credit) : "";
+ },
+ meta: {
+ icon: <LuCircleDollarSign />,
+ exportValue: creditOf
+ }
+ }
+ ],
+ [accounts, currencyFormatter, t]
+ );
+
+ return (
+ <Table<GeneralLedgerLine>
+ data={data}
+ columns={columns}
+ count={count}
+ defaultColumnVisibility={defaultColumnVisibility}
+ title={t`General Ledger`}
+ // The page's Download exports every line of the period, not one page
+ withCsvExport={false}
+ />
+ );
+ }
+);
+
+GeneralLedgerTable.displayName = "GeneralLedgerTable";
+export default GeneralLedgerTable;
diff --git a/apps/erp/app/modules/accounting/ui/Reports/ReportFilters.tsx b/apps/erp/app/modules/accounting/ui/Reports/ReportFilters.tsx
index 59a0c6f6c3..bd110142ee 100644
--- a/apps/erp/app/modules/accounting/ui/Reports/ReportFilters.tsx
+++ b/apps/erp/app/modules/accounting/ui/Reports/ReportFilters.tsx
@@ -38,6 +38,8 @@ type ReportFiltersProps = {
companies: Company[];
selectedCompanyIds: string[];
isMultiCompany: boolean;
+ /** Offers "All Companies" in the company selector */
+ allowAllCompanies?: boolean;
isForeignCurrency?: boolean;
parentCurrency?: string | null;
periodVariant?: "range" | "asOf";
@@ -59,6 +61,7 @@ const ReportFilters = ({
companies,
selectedCompanyIds,
isMultiCompany,
+ allowAllCompanies = true,
isForeignCurrency = false,
parentCurrency,
periodVariant = "range",
@@ -110,6 +113,7 @@ const ReportFilters = ({
<CompanySelector
companies={companies}
selectedCompanyIds={selectedCompanyIds}
+ allowAll={allowAllCompanies}
/>
<PeriodSelector
variant={periodVariant}
diff --git a/apps/erp/app/modules/accounting/ui/Reports/index.ts b/apps/erp/app/modules/accounting/ui/Reports/index.ts
index 2c10f4ad1c..8e7512f3b5 100644
--- a/apps/erp/app/modules/accounting/ui/Reports/index.ts
+++ b/apps/erp/app/modules/accounting/ui/Reports/index.ts
@@ -12,6 +12,7 @@ export {
exportPeriodReport,
exportTrialBalance
} from "./exportReport";
+export { default as GeneralLedgerTable } from "./GeneralLedgerTable";
export {
default as MultiPeriodStatementTree,
getPeriodColumnLabel
diff --git a/apps/erp/app/modules/settings/ui/Integrations/AccountMapping.tsx b/apps/erp/app/modules/settings/ui/Integrations/AccountMapping.tsx
index f72d488cb4..498752e623 100644
--- a/apps/erp/app/modules/settings/ui/Integrations/AccountMapping.tsx
+++ b/apps/erp/app/modules/settings/ui/Integrations/AccountMapping.tsx
@@ -31,6 +31,8 @@ import {
Td,
Th,
Thead,
+ ToggleGroup,
+ ToggleGroupItem,
Tr,
toast
} from "@carbon/react";
@@ -116,6 +118,8 @@ const ACCOUNT_CLASS_ORDER = [
];
const OTHER_CLASS = "Other";
+type MappingFilter = "all" | "unmapped" | "mapped";
+
/**
* Small status pill for an account row — a Vercel-style dot + label. Neutral
* (monochrome) marks a required posting-default account; warning (amber) marks
@@ -167,6 +171,7 @@ export function AccountMapping({
const [showMatchDrawer, setShowMatchDrawer] = useState(false);
const [showAiModal, setShowAiModal] = useState(false);
const [search, setSearch] = useState("");
+ const [filter, setFilter] = useState<MappingFilter>("all");
const [highlightedId, setHighlightedId] = useState<string | null>(null);
// The provider account the user picked for each Carbon account this
// session, saved together by the footer's Save.
@@ -201,8 +206,14 @@ export function AccountMapping({
() => new Set(blocking.map((account) => account.id)),
[blocking]
);
+ // A mapping row with no provider account maps nothing
const mappedById = useMemo(
- () => new Map(mappings.map((mapping) => [mapping.accountId, mapping])),
+ () =>
+ new Map(
+ mappings
+ .filter((mapping) => mapping.externalId)
+ .map((mapping) => [mapping.accountId, mapping])
+ ),
[mappings]
);
@@ -256,15 +267,25 @@ export function AccountMapping({
return [...byId.values()];
}, [allAccounts, blocking]);
+ // Mapped means a saved mapping, not a pick made this session — a row stays
+ // in the Unmapped view while its provider account is being chosen.
+ const mappedCount = useMemo(
+ () =>
+ displayAccounts.filter((account) => mappedById.has(account.id)).length,
+ [displayAccounts, mappedById]
+ );
+
const grouped = useMemo(() => {
const term = search.trim().toLowerCase();
- const filtered = term
- ? displayAccounts.filter(
- (account) =>
- (account.number ?? "").toLowerCase().includes(term) ||
- account.name.toLowerCase().includes(term)
- )
- : displayAccounts;
+ const filtered = displayAccounts.filter((account) => {
+ if (filter === "mapped" && !mappedById.has(account.id)) return false;
+ if (filter === "unmapped" && mappedById.has(account.id)) return false;
+ return (
+ !term ||
+ (account.number ?? "").toLowerCase().includes(term) ||
+ account.name.toLowerCase().includes(term)
+ );
+ });
const groups = new Map<string, AllAccountRow[]>();
for (const account of filtered) {
const key =
@@ -278,7 +299,7 @@ export function AccountMapping({
return [...ACCOUNT_CLASS_ORDER, OTHER_CLASS]
.filter((key) => groups.has(key))
.map((key) => ({ class: key, accounts: groups.get(key) ?? [] }));
- }, [displayAccounts, search]);
+ }, [displayAccounts, mappedById, filter, search]);
// Unmapped required accounts (posting defaults + expense) — the AI-suggest
// input and the gate for the Suggest button.
@@ -314,6 +335,8 @@ export function AccountMapping({
const focusKey = (focusAccountIds ?? []).join(",");
useEffect(() => {
if (!focusKey) return;
+ // The focused account may be hidden by the Mapped / Unmapped filter
+ setFilter("all");
setHighlightedId(focusKey.split(",")[0] ?? null);
const timer = setTimeout(() => setHighlightedId(null), 2500);
return () => clearTimeout(timer);
@@ -373,22 +396,61 @@ export function AccountMapping({
)}
</div>
- <div className="w-full max-w-[280px]">
- <InputGroup size="sm">
- <InputLeftElement>
- <LuSearch className="size-4 text-muted-foreground" />
- </InputLeftElement>
- <Input
- value={search}
- onChange={(event) => setSearch(event.target.value)}
- placeholder={t`Search accounts`}
- />
- </InputGroup>
+ <div className="flex w-full flex-wrap items-center gap-2">
+ <div className="w-full max-w-[280px]">
+ <InputGroup size="sm">
+ <InputLeftElement>
+ <LuSearch className="size-4 text-muted-foreground" />
+ </InputLeftElement>
+ <Input
+ value={search}
+ onChange={(event) => setSearch(event.target.value)}
+ placeholder={t`Search accounts`}
+ />
+ </InputGroup>
+ </div>
+ <ToggleGroup
+ type="single"
+ variant="outline"
+ size="sm"
+ value={filter}
+ // Radix fires "" when the active item is clicked again; keep it set
+ onValueChange={(next) => {
+ if (next) setFilter(next as MappingFilter);
+ }}
+ >
+ <ToggleGroupItem value="all">
+ <Trans>All</Trans>
+ <span className="ml-1.5 tabular-nums text-muted-foreground">
+ {displayAccounts.length}
+ </span>
+ </ToggleGroupItem>
+ <ToggleGroupItem value="unmapped">
+ <Trans>Unmapped</Trans>
+ <span className="ml-1.5 tabular-nums text-muted-foreground">
+ {displayAccounts.length - mappedCount}
+ </span>
+ </ToggleGroupItem>
+ <ToggleGroupItem value="mapped">
+ <Trans>Mapped</Trans>
+ <span className="ml-1.5 tabular-nums text-muted-foreground">
+ {mappedCount}
+ </span>
+ </ToggleGroupItem>
+ </ToggleGroup>
</div>
{grouped.length === 0 ? (
<div className="flex w-full items-center justify-center rounded-lg border border-border py-8 text-sm text-muted-foreground max-md:border-0 max-md:rounded-none">
- <Trans>No accounts match your search</Trans>
+ {search.trim() ? (
+ <Trans>No accounts match your search</Trans>
+ ) : filter === "unmapped" ? (
+ <Trans>Every account is mapped</Trans>
+ ) : filter === "mapped" ? (
+ <Trans>No accounts are mapped yet</Trans>
+ ) : (
+ <Trans>No accounts match your search</Trans>
+ )}
</div>
) : (
grouped.map((group) => (
diff --git a/apps/erp/app/routes/api+/mcp+/lib/tool-manifest.digest.json b/apps/erp/app/routes/api+/mcp+/lib/tool-manifest.digest.json
index 9851b4fb9e..9a002b5d39 100644
--- a/apps/erp/app/routes/api+/mcp+/lib/tool-manifest.digest.json
+++ b/apps/erp/app/routes/api+/mcp+/lib/tool-manifest.digest.json
@@ -37,7 +37,7 @@
{"name":"accounting_getAccountingPeriods","classification":"READ","schema":"31b84d65b2ac","response":"5de8ace458f4","permission":"accounting:view","paginates":false},
{"name":"accounting_getAccountingSyncTieOut","classification":"READ","schema":"640626a59ffa","response":"5483e69d7515","permission":"accounting:view","paginates":false},
{"name":"accounting_getAccountingSyncTieOutCell","classification":"READ","schema":"a520387e09b1","response":"a5febf12f4bd","permission":"accounting:view","paginates":false},
- {"name":"accounting_getAccountLedger","classification":"READ","schema":"87322609d2e6","response":"ba2b28ce7bfa","permission":"accounting:view","paginates":true},
+ {"name":"accounting_getAccountLedger","classification":"READ","schema":"499320a6edfa","response":"ba2b28ce7bfa","permission":"accounting:view","paginates":true},
{"name":"accounting_getAccountLedgerSummary","classification":"READ","schema":"758332a33a48","response":"0a28a92b28ff","permission":"accounting:view","paginates":false},
{"name":"accounting_getAccountsInScope","classification":"READ","schema":"cbb92564d684","response":"4c52cef1b6ab","permission":"accounting:view","paginates":false},
{"name":"accounting_getAccountsList","classification":"READ","schema":"8d4134f63d41","response":"814d9b75e8f1","permission":"accounting:view","paginates":false},
diff --git a/apps/erp/app/routes/x+/accounting+/reports.tsx b/apps/erp/app/routes/x+/accounting+/reports.tsx
index d6ca6ad481..a1e8e59812 100644
--- a/apps/erp/app/routes/x+/accounting+/reports.tsx
+++ b/apps/erp/app/routes/x+/accounting+/reports.tsx
@@ -26,6 +26,7 @@ import {
LuArrowUpDown,
LuBanknote,
LuBookmark,
+ LuBookOpen,
LuBoxes,
LuBriefcase,
LuFileSpreadsheet,
@@ -182,6 +183,15 @@ export default function ReportsIndexRoute() {
category: t`Close Reports`,
defaultPinned: true
},
+ {
+ key: "general-ledger",
+ name: t`General Ledger`,
+ description: t`Every posted journal line in a period`,
+ to: path.to.generalLedger,
+ icon: LuBookOpen,
+ category: t`Close Reports`,
+ defaultPinned: false
+ },
{
key: "inventory-valuation",
name: t`Inventory Valuation`,
diff --git a/apps/erp/app/routes/x+/reports+/general-ledger.server.ts b/apps/erp/app/routes/x+/reports+/general-ledger.server.ts
new file mode 100644
index 0000000000..d772dfb8e2
--- /dev/null
+++ b/apps/erp/app/routes/x+/reports+/general-ledger.server.ts
@@ -0,0 +1,106 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+// including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
+// The general ledger page and its CSV download read the same lines, so they
+// share the request's parsing: the company, the period and the table's search,
+// filters and sorts.
+
+import { error } from "@carbon/auth";
+import { requirePermissions } from "@carbon/auth/auth.server";
+import { flash } from "@carbon/auth/session.server";
+import { getLogger } from "@carbon/logger";
+import { datetime, defaultReportRange, redirect } from "@carbon/utils";
+import { financialReportParamsValidator } from "~/modules/accounting/accounting.models";
+import {
+ getCompaniesInGroup,
+ getFiscalYearSettings
+} from "~/modules/accounting/accounting.service";
+import { months } from "~/modules/shared/shared.models";
+import { getCompanyTimeZone } from "~/modules/shared/shared.service";
+import { path } from "~/utils/path";
+import { getGenericQueryFilters } from "~/utils/query";
+
+const logger = getLogger("erp", "reports-general-ledger");
+
+export async function resolveGeneralLedgerRequest(request: Request) {
+ const { client, companyId, companyGroupId } = await requirePermissions(
+ request,
+ {
+ view: "accounting",
+ role: "employee"
+ }
+ );
+
+ const url = new URL(request.url);
+ const searchParams = url.searchParams;
+ // Invalid params fall back to defaults — a bad bookmark must not 500
+ const parsed = financialReportParamsValidator.safeParse(
+ Object.fromEntries(searchParams.entries())
+ );
+ const companiesParam = parsed.success
+ ? (parsed.data.companies ?? null)
+ : null;
+ const startDateParam = parsed.success
+ ? (parsed.data.startDate ?? null)
+ : null;
+ const endDateParam = parsed.success ? (parsed.data.endDate ?? null) : null;
+
+ const [companies, fiscalYearSettings] = await Promise.all([
+ getCompaniesInGroup(client, companyGroupId),
+ getFiscalYearSettings(client, companyId)
+ ]);
+ if (companies.error) {
+ throw redirect(
+ path.to.reports,
+ await flash(
+ request,
+ error(companies.error, "Failed to load report companies")
+ )
+ );
+ }
+ const companiesList = companies.data ?? [];
+
+ // One company at a time: each company's lines are in its own base currency,
+ // so a list across companies would add unlike amounts.
+ const selectedCompanyId =
+ companiesParam && companiesParam !== "all" ? companiesParam : companyId;
+ const selectedCompany = companiesList.find(
+ (company) => company.id === selectedCompanyId
+ );
+ if (!selectedCompany) {
+ logger.error("General ledger company is not in the caller's group", {
+ companyGroupId,
+ selectedCompanyId
+ });
+ throw new Response("The company could not be found.", { status: 404 });
+ }
+
+ // The same default window as the trial balance, so a drill from one to the
+ // other reads the same lines
+ const range = defaultReportRange(
+ endDateParam ??
+ datetime.today(await getCompanyTimeZone(client, companyId)).toString()
+ );
+
+ const { limit, offset, sorts, filters } =
+ getGenericQueryFilters(searchParams);
+
+ return {
+ client,
+ companies: companiesList,
+ selectedCompany,
+ fiscalStartMonth:
+ months.indexOf(fiscalYearSettings.data?.startMonth ?? "January") + 1,
+ companyGroupId,
+ query: {
+ search: searchParams.get("search"),
+ startDate: startDateParam ?? range.startDate,
+ endDate: endDateParam ?? range.endDate,
+ sorts,
+ filters
+ },
+ limit,
+ offset
+ };
+}
diff --git a/apps/erp/app/routes/x+/reports+/general-ledger.tsx b/apps/erp/app/routes/x+/reports+/general-ledger.tsx
new file mode 100644
index 0000000000..39898de68e
--- /dev/null
+++ b/apps/erp/app/routes/x+/reports+/general-ledger.tsx
@@ -0,0 +1,109 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+// including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
+import { error } from "@carbon/auth";
+import { flash } from "@carbon/auth/session.server";
+import { VStack } from "@carbon/react";
+import { redirect } from "@carbon/utils";
+import { msg } from "@lingui/core/macro";
+import type { LoaderFunctionArgs } from "react-router";
+import { useLoaderData, useLocation } from "react-router";
+import {
+ getAccountsList,
+ getGeneralLedgerLines
+} from "~/modules/accounting/accounting.service";
+import {
+ GeneralLedgerTable,
+ ReportFilters
+} from "~/modules/accounting/ui/Reports";
+import type { Handle } from "~/utils/handle";
+import { path } from "~/utils/path";
+import { resolveGeneralLedgerRequest } from "./general-ledger.server";
+
+export const handle: Handle = {
+ breadcrumb: msg`General Ledger`,
+ to: path.to.generalLedger
+};
+
+export async function loader({ request }: LoaderFunctionArgs) {
+ const {
+ client,
+ companies,
+ selectedCompany,
+ fiscalStartMonth,
+ companyGroupId,
+ query,
+ limit,
+ offset
+ } = await resolveGeneralLedgerRequest(request);
+
+ const [lines, accounts] = await Promise.all([
+ getGeneralLedgerLines(client, selectedCompany.id, {
+ ...query,
+ limit,
+ offset
+ }),
+ getAccountsList(client, companyGroupId, { isGroup: false })
+ ]);
+
+ if (lines.error) {
+ throw redirect(
+ path.to.reports,
+ await flash(request, error(lines.error, "Failed to load general ledger"))
+ );
+ }
+
+ return {
+ lines: lines.data ?? [],
+ count: lines.count ?? 0,
+ accounts: accounts.data ?? [],
+ companies,
+ selectedCompanyId: selectedCompany.id,
+ currencyCode: selectedCompany.baseCurrencyCode,
+ fiscalStartMonth
+ };
+}
+
+export default function GeneralLedgerRoute() {
+ const {
+ lines,
+ count,
+ accounts,
+ companies,
+ selectedCompanyId,
+ currencyCode,
+ fiscalStartMonth
+ } = useLoaderData<typeof loader>();
+ const { search } = useLocation();
+
+ const onDownload = () => {
+ const params = new URLSearchParams(search);
+ params.delete("limit");
+ params.delete("offset");
+ const query = params.toString();
+ window.location.assign(
+ query ? `${path.to.generalLedgerCsv}?${query}` : path.to.generalLedgerCsv
+ );
+ };
+
+ return (
+ <VStack spacing={0} className="h-full">
+ <ReportFilters
+ companies={companies}
+ selectedCompanyIds={[selectedCompanyId]}
+ isMultiCompany={false}
+ allowAllCompanies={false}
+ fiscalStartMonth={fiscalStartMonth}
+ showSearch={false}
+ onDownload={onDownload}
+ />
+ <GeneralLedgerTable
+ data={lines}
+ count={count}
+ accounts={accounts}
+ currencyCode={currencyCode}
+ />
+ </VStack>
+ );
+}
diff --git a/apps/erp/app/routes/x+/reports+/general-ledger[.]csv.tsx b/apps/erp/app/routes/x+/reports+/general-ledger[.]csv.tsx
new file mode 100644
index 0000000000..51a2e0c1ed
--- /dev/null
+++ b/apps/erp/app/routes/x+/reports+/general-ledger[.]csv.tsx
@@ -0,0 +1,76 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+// including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
+import { CSV_CONTENT_TYPE, encodeCsv } from "@carbon/files/csv";
+import { getLogger } from "@carbon/logger";
+import { toDisplayCredit, toDisplayDebit } from "@carbon/utils";
+import type { LoaderFunctionArgs } from "react-router";
+import { getAllGeneralLedgerLines } from "~/modules/accounting/accounting.service";
+import type { AccountClass } from "~/modules/accounting/types";
+import { resolveGeneralLedgerRequest } from "./general-ledger.server";
+
+const logger = getLogger("erp", "reports-general-ledger-csv");
+
+// Every line of the period with the page's filters, not only the page on
+// screen — the general ledger is exported to be worked on elsewhere.
+export async function loader({ request }: LoaderFunctionArgs) {
+ const { client, selectedCompany, query } =
+ await resolveGeneralLedgerRequest(request);
+
+ const lines = await getAllGeneralLedgerLines(
+ client,
+ selectedCompany.id,
+ query
+ );
+ if (lines.error) {
+ logger.error("Failed to export general ledger", {
+ companyId: selectedCompany.id,
+ error: lines.error
+ });
+ throw new Response("The general ledger could not be exported.", {
+ status: 500
+ });
+ }
+
+ const csv = encodeCsv(
+ (lines.data ?? []).map((line) => {
+ const accountClass = (line.account?.class ?? "Asset") as AccountClass;
+ return {
+ Date: line.postingDate,
+ "Journal Entry": line.journalEntryId,
+ Status: line.status,
+ "Account Number": line.account?.number,
+ "Account Name": line.account?.name,
+ Description: line.description ?? line.journalDescription,
+ Source: line.sourceType,
+ "Document Type": line.documentType,
+ Debit: toDisplayDebit(line.amount ?? 0, accountClass),
+ Credit: toDisplayCredit(line.amount ?? 0, accountClass),
+ Currency: selectedCompany.baseCurrencyCode
+ };
+ }),
+ {
+ fields: [
+ "Date",
+ "Journal Entry",
+ "Status",
+ "Account Number",
+ "Account Name",
+ "Description",
+ "Source",
+ "Document Type",
+ "Debit",
+ "Credit",
+ "Currency"
+ ]
+ }
+ );
+
+ return new Response(csv, {
+ headers: {
+ "Content-Type": CSV_CONTENT_TYPE,
+ "Content-Disposition": `attachment; filename="general-ledger-${query.startDate}-to-${query.endDate}.csv"`
+ }
+ });
+}
diff --git a/apps/erp/app/utils/path.ts b/apps/erp/app/utils/path.ts
index 5a5e24b3d3..7fc0e5e168 100644
--- a/apps/erp/app/utils/path.ts
+++ b/apps/erp/app/utils/path.ts
@@ -1377,6 +1377,8 @@ export const path = {
gauges: `${x}/quality/gauges`,
gaugeType: (id: string) => generatePath(`${x}/quality/gauge-types/${id}`),
gaugeTypes: `${x}/quality/gauge-types`,
+ generalLedger: `${x}/reports/general-ledger`,
+ generalLedgerCsv: `${x}/reports/general-ledger.csv`,
generateAssemblyInstructionSteps: (id: string) =>
generatePath(`${x}/assembly/${id}/steps/generate`),
getStarted: `${x}/get-started`,
diff --git a/docs/content/docs/reference/financial-reports.mdx b/docs/content/docs/reference/financial-reports.mdx
index 75f5b250e5..70e431529f 100644
--- a/docs/content/docs/reference/financial-reports.mdx
+++ b/docs/content/docs/reference/financial-reports.mdx
@@ -66,6 +66,15 @@ Journal lines can carry <Term id="reporting-dimension">reporting dimensions</Ter
The account ledger drawer (the drill-down you get by clicking an account on any of these reports) lists that account's individual posted lines for the same window, so a report figure always traces back to the transactions that make it up.
+## General Ledger
+
+The **General Ledger** report lists every posted journal line in a date range, one row per line: posting date, journal entry, account, description, source and the debit or credit. Open it from **Accounting → Reports → General Ledger**. It reads the same Posted and Reversed journals as the statements, so its lines for an account and range add up to that account's Trial Balance movement.
+
+- It shows one company at a time, in that company's base currency. The company selector has no "All Companies" option here.
+- The period picker sets the range and defaults to the trailing six months, as the Trial Balance does.
+- Filter the table by account, source or document type, search by journal entry number or description, and sort by any column. Lines sort by posting date, then journal entry, by default.
+- **Download** exports every line in the range with the current filters, not only the page on screen.
+
## Related
<Cards>
diff --git a/packages/locale/locales/de/erp.po b/packages/locale/locales/de/erp.po
index de4704f5b9..5b1975ac72 100644
--- a/packages/locale/locales/de/erp.po
+++ b/packages/locale/locales/de/erp.po
@@ -9397,6 +9397,9 @@ msgstr "Alle 3 Stunden"
msgid "Every account default is set"
msgstr "Jeder Kontostandardwert ist gesetzt"
+msgid "Every account is mapped"
+msgstr "Alle Konten sind zugeordnet"
+
msgid "Every asset needs a payment row before activating."
msgstr "Jede Anlage benötigt eine Zahlungsposition vor der Aktivierung."
@@ -9433,6 +9436,9 @@ msgstr "Jede Position verbucht, was sie fakturiert."
msgid "Every match"
msgstr "Jede Übereinstimmung"
+msgid "Every posted journal line in a period"
+msgstr "Jede gebuchte Journalzeile in einem Zeitraum"
+
msgid "Every required action has already been added."
msgstr "Jede erforderliche Aktion wurde bereits hinzugefügt."
@@ -13320,6 +13326,9 @@ msgstr "Ordnen Sie Ihren Kontenplan dem des Anbieters zu. Buchungs-Standardkonte
msgid "Map your current process, systems, and data"
msgstr "Ordnen Sie Ihren aktuellen Prozess, Ihre Systeme und Daten"
+msgid "Mapped"
+msgstr "Zugeordnet"
+
#. placeholder {0}: data.mapped
#. placeholder {1}: data.totalComponents
msgid "Mapped {0} of {1} components to the bill of materials"
@@ -14586,6 +14595,9 @@ msgstr "Keine Qualifikationen hinzugefügt"
msgid "No Access"
msgstr "Kein Zugriff"
+msgid "No accounts are mapped yet"
+msgstr "Noch keine Konten zugeordnet"
+
msgid "No accounts match your search"
msgstr "Keine Konten stimmen mit Ihrer Suche überein"
@@ -25092,6 +25104,9 @@ msgstr "Entsperren"
msgid "Unlock with passkey"
msgstr "Mit Passkey entsperren"
+msgid "Unmapped"
+msgstr "Nicht zugeordnet"
+
msgid "Unmapped dimension values"
msgstr "Nicht zugeordnete Dimensionswerte"
diff --git a/packages/locale/locales/en/erp.po b/packages/locale/locales/en/erp.po
index 5eef1d1d13..0305c30261 100644
--- a/packages/locale/locales/en/erp.po
+++ b/packages/locale/locales/en/erp.po
@@ -9397,6 +9397,9 @@ msgstr "Every 3 hours"
msgid "Every account default is set"
msgstr "Every account default is set"
+msgid "Every account is mapped"
+msgstr "Every account is mapped"
+
msgid "Every asset needs a payment row before activating."
msgstr "Every asset needs a payment row before activating."
@@ -9433,6 +9436,9 @@ msgstr "Every line recognizes what it bills."
msgid "Every match"
msgstr "Every match"
+msgid "Every posted journal line in a period"
+msgstr "Every posted journal line in a period"
+
msgid "Every required action has already been added."
msgstr "Every required action has already been added."
@@ -13320,6 +13326,9 @@ msgstr "Map your chart of accounts to the provider's. Posting-default and expens
msgid "Map your current process, systems, and data"
msgstr "Map your current process, systems, and data"
+msgid "Mapped"
+msgstr "Mapped"
+
#. placeholder {0}: data.mapped
#. placeholder {1}: data.totalComponents
msgid "Mapped {0} of {1} components to the bill of materials"
@@ -14586,6 +14595,9 @@ msgstr "No abilities added"
msgid "No Access"
msgstr "No Access"
+msgid "No accounts are mapped yet"
+msgstr "No accounts are mapped yet"
+
msgid "No accounts match your search"
msgstr "No accounts match your search"
@@ -25092,6 +25104,9 @@ msgstr "Unlock"
msgid "Unlock with passkey"
msgstr "Unlock with passkey"
+msgid "Unmapped"
+msgstr "Unmapped"
+
msgid "Unmapped dimension values"
msgstr "Unmapped dimension values"
diff --git a/packages/locale/locales/es/erp.po b/packages/locale/locales/es/erp.po
index 3e67a3a822..8ed721c769 100644
--- a/packages/locale/locales/es/erp.po
+++ b/packages/locale/locales/es/erp.po
@@ -9397,6 +9397,9 @@ msgstr "Cada 3 horas"
msgid "Every account default is set"
msgstr "Cada valor predeterminado de cuenta está establecido"
+msgid "Every account is mapped"
+msgstr "Todas las cuentas están asignadas"
+
msgid "Every asset needs a payment row before activating."
msgstr "Cada activo necesita una fila de pago antes de activar."
@@ -9433,6 +9436,9 @@ msgstr "Cada línea reconoce lo que factura."
msgid "Every match"
msgstr "Cada coincidencia"
+msgid "Every posted journal line in a period"
+msgstr "Cada línea de asiento contabilizada en un período"
+
msgid "Every required action has already been added."
msgstr "Todas las acciones requeridas ya han sido agregadas."
@@ -13320,6 +13326,9 @@ msgstr "Asigne su Plan de cuentas al del proveedor. Las cuentas predeterminadas
msgid "Map your current process, systems, and data"
msgstr "Mapea tu proceso actual, sistemas y datos"
+msgid "Mapped"
+msgstr "Asignadas"
+
#. placeholder {0}: data.mapped
#. placeholder {1}: data.totalComponents
msgid "Mapped {0} of {1} components to the bill of materials"
@@ -14586,6 +14595,9 @@ msgstr "Sin habilidades añadidas"
msgid "No Access"
msgstr "Sin acceso"
+msgid "No accounts are mapped yet"
+msgstr "Aún no hay cuentas asignadas"
+
msgid "No accounts match your search"
msgstr "No hay cuentas que coincidan con tu búsqueda"
@@ -25092,6 +25104,9 @@ msgstr "Desbloquear"
msgid "Unlock with passkey"
msgstr "Desbloquear con llave de acceso"
+msgid "Unmapped"
+msgstr "Sin asignar"
+
msgid "Unmapped dimension values"
msgstr "Valores de dimensión sin mapear"
diff --git a/packages/locale/locales/fr/erp.po b/packages/locale/locales/fr/erp.po
index 8af07373f8..25e3099de6 100644
--- a/packages/locale/locales/fr/erp.po
+++ b/packages/locale/locales/fr/erp.po
@@ -9397,6 +9397,9 @@ msgstr "Toutes les 3 heures"
msgid "Every account default is set"
msgstr "Tous les comptes par défaut sont définis"
+msgid "Every account is mapped"
+msgstr "Tous les comptes sont mappés"
+
msgid "Every asset needs a payment row before activating."
msgstr "Chaque actif a besoin d'une ligne de paiement avant l'activation."
@@ -9433,6 +9436,9 @@ msgstr "Chaque ligne reconnaît ce qu'elle facture."
msgid "Every match"
msgstr "Chaque correspondance"
+msgid "Every posted journal line in a period"
+msgstr "Chaque ligne d'écriture comptabilisée sur une période"
+
msgid "Every required action has already been added."
msgstr "Chaque action requise a déjà été ajoutée."
@@ -13320,6 +13326,9 @@ msgstr "Mappez votre plan comptable au plan comptable du fournisseur. Les compte
msgid "Map your current process, systems, and data"
msgstr "Cartographiez votre processus actuel, vos systèmes et vos données"
+msgid "Mapped"
+msgstr "Mappés"
+
#. placeholder {0}: data.mapped
#. placeholder {1}: data.totalComponents
msgid "Mapped {0} of {1} components to the bill of materials"
@@ -14586,6 +14595,9 @@ msgstr "Aucune compétence ajoutée"
msgid "No Access"
msgstr "Aucun accès"
+msgid "No accounts are mapped yet"
+msgstr "Aucun compte n'est encore mappé"
+
msgid "No accounts match your search"
msgstr "Aucun compte ne correspond à votre recherche"
@@ -25092,6 +25104,9 @@ msgstr "Déverrouiller"
msgid "Unlock with passkey"
msgstr "Déverrouiller avec une clé d'accès"
+msgid "Unmapped"
+msgstr "Non mappés"
+
msgid "Unmapped dimension values"
msgstr "Valeurs d'axes analytiques non mappées"
diff --git a/packages/locale/locales/hi/erp.po b/packages/locale/locales/hi/erp.po
index a84cd16a2f..8f9f868443 100644
--- a/packages/locale/locales/hi/erp.po
+++ b/packages/locale/locales/hi/erp.po
@@ -9397,6 +9397,9 @@ msgstr "हर 3 घंटे में"
msgid "Every account default is set"
msgstr "हर खाता डिफ़ॉल्ट सेट है"
+msgid "Every account is mapped"
+msgstr "सभी खाते मैप किए गए हैं"
+
msgid "Every asset needs a payment row before activating."
msgstr "सक्रियण से पहले प्रत्येक संपत्ति को एक भुगतान पंक्ति की आवश्यकता है।"
@@ -9433,6 +9436,9 @@ msgstr "प्रत्येक पंक्ति जो बिल करत
msgid "Every match"
msgstr "हर मेल"
+msgid "Every posted journal line in a period"
+msgstr "किसी अवधि की प्रत्येक पोस्ट की गई जर्नल पंक्ति"
+
msgid "Every required action has already been added."
msgstr "हर आवश्यक कार्रवाई पहले से जोड़ी जा चुकी है।"
@@ -13320,6 +13326,9 @@ msgstr "अपने खातों का चार्ट को प्रद
msgid "Map your current process, systems, and data"
msgstr "अपनी वर्तमान प्रक्रिया, सिस्टम और डेटा को मैप करें"
+msgid "Mapped"
+msgstr "मैप किए गए"
+
#. placeholder {0}: data.mapped
#. placeholder {1}: data.totalComponents
msgid "Mapped {0} of {1} components to the bill of materials"
@@ -14586,6 +14595,9 @@ msgstr "कोई कौशल जोड़ा नहीं गया"
msgid "No Access"
msgstr "कोई एक्सेस नहीं"
+msgid "No accounts are mapped yet"
+msgstr "अभी तक कोई खाता मैप नहीं किया गया है"
+
msgid "No accounts match your search"
msgstr "कोई खाता आपकी खोज से मेल नहीं खाता"
@@ -25092,6 +25104,9 @@ msgstr "अनलॉक करें"
msgid "Unlock with passkey"
msgstr "पासकी के साथ अनलॉक करें"
+msgid "Unmapped"
+msgstr "मैप नहीं किए गए"
+
msgid "Unmapped dimension values"
msgstr "अनमैप्ड आयाम मान"
diff --git a/packages/locale/locales/it/erp.po b/packages/locale/locales/it/erp.po
index dc8fa7789b..bb3f118ef2 100644
--- a/packages/locale/locales/it/erp.po
+++ b/packages/locale/locales/it/erp.po
@@ -9397,6 +9397,9 @@ msgstr "Ogni 3 ore"
msgid "Every account default is set"
msgstr "Ogni impostazione predefinita di account è impostata"
+msgid "Every account is mapped"
+msgstr "Tutti i conti sono mappati"
+
msgid "Every asset needs a payment row before activating."
msgstr "Ogni bene ha bisogno di una riga di pagamento prima dell'attivazione."
@@ -9433,6 +9436,9 @@ msgstr "Ogni riga riconosce quello che fattura."
msgid "Every match"
msgstr "Ogni corrispondenza"
+msgid "Every posted journal line in a period"
+msgstr "Ogni riga di registrazione contabilizzata in un periodo"
+
msgid "Every required action has already been added."
msgstr "Ogni azione richiesta è stata già aggiunta."
@@ -13320,6 +13326,9 @@ msgstr "Associa il tuo piano dei conti a quello del provider. I conti di registr
msgid "Map your current process, systems, and data"
msgstr "Mappa il tuo processo attuale, i sistemi e i dati"
+msgid "Mapped"
+msgstr "Mappati"
+
#. placeholder {0}: data.mapped
#. placeholder {1}: data.totalComponents
msgid "Mapped {0} of {1} components to the bill of materials"
@@ -14586,6 +14595,9 @@ msgstr "Nessuna competenza aggiunta"
msgid "No Access"
msgstr "Nessun accesso"
+msgid "No accounts are mapped yet"
+msgstr "Nessun conto ancora mappato"
+
msgid "No accounts match your search"
msgstr "Nessun account corrisponde alla tua ricerca"
@@ -25092,6 +25104,9 @@ msgstr "Sblocca"
msgid "Unlock with passkey"
msgstr "Sblocca con passkey"
+msgid "Unmapped"
+msgstr "Non mappati"
+
msgid "Unmapped dimension values"
msgstr "Valori di dimensione non mappati"
diff --git a/packages/locale/locales/ja/erp.po b/packages/locale/locales/ja/erp.po
index 25572248d4..748342f433 100644
--- a/packages/locale/locales/ja/erp.po
+++ b/packages/locale/locales/ja/erp.po
@@ -9397,6 +9397,9 @@ msgstr "3時間ごと"
msgid "Every account default is set"
msgstr "すべてのアカウントのデフォルトが設定されています"
+msgid "Every account is mapped"
+msgstr "すべての勘定がマッピング済みです"
+
msgid "Every asset needs a payment row before activating."
msgstr "有効化する前に、すべての資産が支払明細を必要とします。"
@@ -9433,6 +9436,9 @@ msgstr "すべての明細は請求する金額を認識しています。"
msgid "Every match"
msgstr "すべてのマッチ"
+msgid "Every posted journal line in a period"
+msgstr "期間内のすべての転記済み仕訳明細"
+
msgid "Every required action has already been added."
msgstr "すべての必須アクションが既に追加されています。"
@@ -13320,6 +13326,9 @@ msgstr "勘定科目表をプロバイダーの表にマップしてください
msgid "Map your current process, systems, and data"
msgstr "現在のプロセス、システム、データをマップする"
+msgid "Mapped"
+msgstr "マッピング済み"
+
#. placeholder {0}: data.mapped
#. placeholder {1}: data.totalComponents
msgid "Mapped {0} of {1} components to the bill of materials"
@@ -14586,6 +14595,9 @@ msgstr "スキルが追加されていません"
msgid "No Access"
msgstr "アクセスなし"
+msgid "No accounts are mapped yet"
+msgstr "まだマッピングされた勘定はありません"
+
msgid "No accounts match your search"
msgstr "検索に一致するアカウントがありません"
@@ -25092,6 +25104,9 @@ msgstr "ロック解除"
msgid "Unlock with passkey"
msgstr "パスキーでロック解除"
+msgid "Unmapped"
+msgstr "未マッピング"
+
msgid "Unmapped dimension values"
msgstr "マップされていないディメンション値"
diff --git a/packages/locale/locales/ko/erp.po b/packages/locale/locales/ko/erp.po
index 21aa3ea4cd..cb09c73ff5 100644
--- a/packages/locale/locales/ko/erp.po
+++ b/packages/locale/locales/ko/erp.po
@@ -9397,6 +9397,9 @@ msgstr "3시간마다"
msgid "Every account default is set"
msgstr "모든 계정 기본값이 설정되었습니다"
+msgid "Every account is mapped"
+msgstr "모든 계정이 매핑되었습니다"
+
msgid "Every asset needs a payment row before activating."
msgstr "활성화하기 전에 모든 자산이 지불 라인을 필요로 합니다."
@@ -9433,6 +9436,9 @@ msgstr "모든 라인이 청구한 것을 인식합니다."
msgid "Every match"
msgstr "모든 일치"
+msgid "Every posted journal line in a period"
+msgstr "기간 내 전기된 모든 분개 라인"
+
msgid "Every required action has already been added."
msgstr "필요한 모든 작업이 이미 추가되었습니다."
@@ -13320,6 +13326,9 @@ msgstr "계정과목표를 공급자와 매핑하세요. 전기 기본 및 비
msgid "Map your current process, systems, and data"
msgstr "현재 프로세스, 시스템, 데이터를 매핑하세요"
+msgid "Mapped"
+msgstr "매핑됨"
+
#. placeholder {0}: data.mapped
#. placeholder {1}: data.totalComponents
msgid "Mapped {0} of {1} components to the bill of materials"
@@ -14586,6 +14595,9 @@ msgstr "추가된 역량이 없습니다"
msgid "No Access"
msgstr "접근 권한 없음"
+msgid "No accounts are mapped yet"
+msgstr "아직 매핑된 계정이 없습니다"
+
msgid "No accounts match your search"
msgstr "검색과 일치하는 계정이 없습니다"
@@ -25092,6 +25104,9 @@ msgstr "잠금 해제"
msgid "Unlock with passkey"
msgstr "패스키로 잠금 해제"
+msgid "Unmapped"
+msgstr "매핑 안 됨"
+
msgid "Unmapped dimension values"
msgstr "매핑되지 않은 차원 값"
diff --git a/packages/locale/locales/pl/erp.po b/packages/locale/locales/pl/erp.po
index 2bc77be862..10fe978937 100644
--- a/packages/locale/locales/pl/erp.po
+++ b/packages/locale/locales/pl/erp.po
@@ -9397,6 +9397,9 @@ msgstr "Co 3 godziny"
msgid "Every account default is set"
msgstr "Każda domyślna wartość konta jest ustawiona"
+msgid "Every account is mapped"
+msgstr "Wszystkie konta są zmapowane"
+
msgid "Every asset needs a payment row before activating."
msgstr "Każde aktywo potrzebuje wiersza płatności przed aktywacją."
@@ -9433,6 +9436,9 @@ msgstr "Każda Pozycja ujmuje to, co faktury."
msgid "Every match"
msgstr "Każde dopasowanie"
+msgid "Every posted journal line in a period"
+msgstr "Każdy zaksięgowany wiersz dziennika w okresie"
+
msgid "Every required action has already been added."
msgstr "Każde wymagane działanie zostało już dodane."
@@ -13320,6 +13326,9 @@ msgstr "Zmapuj swój plan kont na plan kont dostawcy. Konta domyślne dla księg
msgid "Map your current process, systems, and data"
msgstr "Zmapuj swój obecny proces, systemy i dane"
+msgid "Mapped"
+msgstr "Zmapowane"
+
#. placeholder {0}: data.mapped
#. placeholder {1}: data.totalComponents
msgid "Mapped {0} of {1} components to the bill of materials"
@@ -14586,6 +14595,9 @@ msgstr "Brak dodanych umiejętności"
msgid "No Access"
msgstr "Brak dostępu"
+msgid "No accounts are mapped yet"
+msgstr "Żadne konto nie jest jeszcze zmapowane"
+
msgid "No accounts match your search"
msgstr "Żadne konta nie pasują do Twojego wyszukiwania"
@@ -25092,6 +25104,9 @@ msgstr "Odblokuj"
msgid "Unlock with passkey"
msgstr "Odblokuj za pomocą klucza dostępu"
+msgid "Unmapped"
+msgstr "Niezmapowane"
+
msgid "Unmapped dimension values"
msgstr "Niezamapowane wartości wymiarów"
diff --git a/packages/locale/locales/pt/erp.po b/packages/locale/locales/pt/erp.po
index 5171af5032..92cf387c79 100644
--- a/packages/locale/locales/pt/erp.po
+++ b/packages/locale/locales/pt/erp.po
@@ -9397,6 +9397,9 @@ msgstr "A cada 3 horas"
msgid "Every account default is set"
msgstr "Todos os padrões de conta estão definidos"
+msgid "Every account is mapped"
+msgstr "Todas as contas estão mapeadas"
+
msgid "Every asset needs a payment row before activating."
msgstr "Todo ativo precisa de uma linha de pagamento antes de ativar."
@@ -9433,6 +9436,9 @@ msgstr "Todas as linhas reconhecem o que elas faturam."
msgid "Every match"
msgstr "Cada correspondência"
+msgid "Every posted journal line in a period"
+msgstr "Cada linha de lançamento contabilizada em um período"
+
msgid "Every required action has already been added."
msgstr "Todas as ações necessárias já foram adicionadas."
@@ -13320,6 +13326,9 @@ msgstr "Mapeie seu plano de contas para o do provedor. Contas padrão de lançam
msgid "Map your current process, systems, and data"
msgstr "Mapeie seu processo, sistemas e dados atuais"
+msgid "Mapped"
+msgstr "Mapeadas"
+
#. placeholder {0}: data.mapped
#. placeholder {1}: data.totalComponents
msgid "Mapped {0} of {1} components to the bill of materials"
@@ -14586,6 +14595,9 @@ msgstr "Nenhuma habilidade adicionada"
msgid "No Access"
msgstr "Sem Acesso"
+msgid "No accounts are mapped yet"
+msgstr "Nenhuma conta mapeada ainda"
+
msgid "No accounts match your search"
msgstr "Nenhuma conta corresponde à sua pesquisa"
@@ -25092,6 +25104,9 @@ msgstr "Desbloquear"
msgid "Unlock with passkey"
msgstr "Desbloquear com chave de acesso"
+msgid "Unmapped"
+msgstr "Não mapeadas"
+
msgid "Unmapped dimension values"
msgstr "Valores de dimensão não mapeados"
diff --git a/packages/locale/locales/ru/erp.po b/packages/locale/locales/ru/erp.po
index f86d12edcc..ad6c42c70c 100644
--- a/packages/locale/locales/ru/erp.po
+++ b/packages/locale/locales/ru/erp.po
@@ -9397,6 +9397,9 @@ msgstr "Каждые 3 часа"
msgid "Every account default is set"
msgstr "Установлены все значения по умолчанию счета"
+msgid "Every account is mapped"
+msgstr "Все счета сопоставлены"
+
msgid "Every asset needs a payment row before activating."
msgstr "Каждому активу требуется строка платежа перед активацией."
@@ -9433,6 +9436,9 @@ msgstr "Каждая строка признает выставленную су
msgid "Every match"
msgstr "Каждое совпадение"
+msgid "Every posted journal line in a period"
+msgstr "Все проведённые строки журнала за период"
+
msgid "Every required action has already been added."
msgstr "Все требуемые действия уже добавлены."
@@ -13320,6 +13326,9 @@ msgstr "Сопоставьте ваш план счетов с планом сч
msgid "Map your current process, systems, and data"
msgstr "Сопоставьте ваш текущий процесс, системы и данные"
+msgid "Mapped"
+msgstr "Сопоставленные"
+
#. placeholder {0}: data.mapped
#. placeholder {1}: data.totalComponents
msgid "Mapped {0} of {1} components to the bill of materials"
@@ -14586,6 +14595,9 @@ msgstr "Нет добавленных навыков"
msgid "No Access"
msgstr "Нет доступа"
+msgid "No accounts are mapped yet"
+msgstr "Сопоставленных счетов пока нет"
+
msgid "No accounts match your search"
msgstr "Ни один счет не соответствует вашему поиску"
@@ -25092,6 +25104,9 @@ msgstr "Разблокировать"
msgid "Unlock with passkey"
msgstr "Разблокировать с помощью ключа доступа"
+msgid "Unmapped"
+msgstr "Несопоставленные"
+
msgid "Unmapped dimension values"
msgstr "Неотображенные значения измерений"
diff --git a/packages/locale/locales/tr/erp.po b/packages/locale/locales/tr/erp.po
index d110ececf0..680c2f704a 100644
--- a/packages/locale/locales/tr/erp.po
+++ b/packages/locale/locales/tr/erp.po
@@ -9397,6 +9397,9 @@ msgstr "Her 3 saatte bir"
msgid "Every account default is set"
msgstr "Her hesap varsayılanı ayarlandı"
+msgid "Every account is mapped"
+msgstr "Tüm hesaplar eşlendi"
+
msgid "Every asset needs a payment row before activating."
msgstr "Etkinleştirmeden önce her varlığın bir ödeme satırı olmalıdır."
@@ -9433,6 +9436,9 @@ msgstr "Her satır faturaladığı şeyi muhasebeleştirir."
msgid "Every match"
msgstr "Her eşleşme"
+msgid "Every posted journal line in a period"
+msgstr "Bir dönemdeki tüm kayıtlı yevmiye satırları"
+
msgid "Every required action has already been added."
msgstr "Gerekli olan tüm eylemler zaten eklendi."
@@ -13320,6 +13326,9 @@ msgstr "Hesap planınızı sağlayıcının hesap planına eşleyin. Muhasebele
msgid "Map your current process, systems, and data"
msgstr "Mevcut sürecinizi, sistemlerinizi ve verilerinizi eşleyin"
+msgid "Mapped"
+msgstr "Eşlenmiş"
+
#. placeholder {0}: data.mapped
#. placeholder {1}: data.totalComponents
msgid "Mapped {0} of {1} components to the bill of materials"
@@ -14586,6 +14595,9 @@ msgstr "Hiçbir yetkinlik eklenmedi"
msgid "No Access"
msgstr "Erişim Yok"
+msgid "No accounts are mapped yet"
+msgstr "Henüz eşlenmiş hesap yok"
+
msgid "No accounts match your search"
msgstr "Aramanızla eşleşen hesap yok"
@@ -25092,6 +25104,9 @@ msgstr "Kilidi Aç"
msgid "Unlock with passkey"
msgstr "Geçiş Anahtarı ile Kilit Aç"
+msgid "Unmapped"
+msgstr "Eşlenmemiş"
+
msgid "Unmapped dimension values"
msgstr "Eşlenmemiş boyut değerleri"
diff --git a/packages/locale/locales/zh/erp.po b/packages/locale/locales/zh/erp.po
index 7f83b9f0e6..5c46ea9dbc 100644
--- a/packages/locale/locales/zh/erp.po
+++ b/packages/locale/locales/zh/erp.po
@@ -9397,6 +9397,9 @@ msgstr "每3小时"
msgid "Every account default is set"
msgstr "已设置每个账户默认值"
+msgid "Every account is mapped"
+msgstr "所有科目均已映射"
+
msgid "Every asset needs a payment row before activating."
msgstr "激活前每项资产需要一行付款。"
@@ -9433,6 +9436,9 @@ msgstr "每行都确认其计费内容"
msgid "Every match"
msgstr "每次匹配"
+msgid "Every posted journal line in a period"
+msgstr "某一期间内的所有已过账日记账明细"
+
msgid "Every required action has already been added."
msgstr "每个必需的操作已添加。"
@@ -13320,6 +13326,9 @@ msgstr "将您的会计科目表映射到提供商的。过账默认账户和费
msgid "Map your current process, systems, and data"
msgstr "映射您当前的流程、系统和数据"
+msgid "Mapped"
+msgstr "已映射"
+
#. placeholder {0}: data.mapped
#. placeholder {1}: data.totalComponents
msgid "Mapped {0} of {1} components to the bill of materials"
@@ -14586,6 +14595,9 @@ msgstr "没有添加技能"
msgid "No Access"
msgstr "无权限"
+msgid "No accounts are mapped yet"
+msgstr "尚无已映射的科目"
+
msgid "No accounts match your search"
msgstr "没有账户与您的搜索匹配"
@@ -25092,6 +25104,9 @@ msgstr "解锁"
msgid "Unlock with passkey"
msgstr "使用通行密钥解锁"
+msgid "Unmapped"
+msgstr "未映射"
+
msgid "Unmapped dimension values"
msgstr "未映射的维度值"