Ausgangsbelege um Kostenstellenzuordnung erweitern
This commit is contained in:
@@ -205,6 +205,8 @@ const buildOutgoingDocumentPayload = (
|
||||
if (args[field] !== undefined) payload[field] = numberArg(args, field)
|
||||
}
|
||||
|
||||
if (args.costcentre !== undefined) payload.costcentre = stringArg(args, "costcentre")
|
||||
|
||||
for (const field of ["paymentDays"] as const) {
|
||||
if (args[field] !== undefined) payload[field] = numberArg(args, field)
|
||||
}
|
||||
@@ -458,6 +460,7 @@ export const accountingTools: McpTool[] = [
|
||||
contact: { type: "number" },
|
||||
contract: { type: "number" },
|
||||
project: { type: "number" },
|
||||
costcentre: { type: "string", description: "Kostenstellen-UUID als Belegvorgabe." },
|
||||
plant: { type: "number" },
|
||||
documentDate: { type: "string" },
|
||||
deliveryDate: { type: "string" },
|
||||
@@ -512,6 +515,7 @@ export const accountingTools: McpTool[] = [
|
||||
contact: { type: "number" },
|
||||
contract: { type: "number" },
|
||||
project: { type: "number" },
|
||||
costcentre: { type: "string", description: "Kostenstellen-UUID als Belegvorgabe." },
|
||||
plant: { type: "number" },
|
||||
documentDate: { type: "string" },
|
||||
deliveryDate: { type: "string" },
|
||||
|
||||
Reference in New Issue
Block a user