From c977921f02308af769af37f6b7d37b21869797f2 Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Tue, 5 Dec 2023 10:53:52 +0700 Subject: Add externalId on import and export --- src/app/api/product/import/route.tsx | 1 + 1 file changed, 1 insertion(+) (limited to 'src/app/api/product') diff --git a/src/app/api/product/import/route.tsx b/src/app/api/product/import/route.tsx index eb87f07..e4e38c6 100644 --- a/src/app/api/product/import/route.tsx +++ b/src/app/api/product/import/route.tsx @@ -25,6 +25,7 @@ export async function POST(request: NextRequest) { onhandQty: row[3], differenceQty: row[4], companyId: row[5], + externalId: row[6] ?? null })); const whereCompany = { companyId: intCompanyId } -- cgit v1.2.3