diff --git a/src/app/(main)/report/grnReportApi.ts b/src/app/(main)/report/grnReportApi.ts index 92d674c..4e4eec7 100644 --- a/src/app/(main)/report/grnReportApi.ts +++ b/src/app/(main)/report/grnReportApi.ts @@ -34,6 +34,8 @@ export interface GrnReportRow { grnCode?: string; /** M18 record id (m18_record_id) */ grnId?: number | string; + /** From purchase_order.m18CreatedUId; e.g. "2569 (legato)" */ + poM18CreatorDisplay?: string; [key: string]: unknown; } @@ -149,6 +151,7 @@ function toExcelRow( } base["GRN Code / M18 入倉單號"] = r.grnCode ?? ""; base["GRN Id / M18 記錄編號"] = r.grnId ?? ""; + base["PO建立者(M18) / PO creator (M18)"] = r.poM18CreatorDisplay ?? ""; return base; }