Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
doc:
poetry run python -m tools.mdtable
uv run python -m tools.mdtable

schemas:
poetry run python -m csfunctions.tools.write_schema
uv run python -m csfunctions.tools.write_schema
2 changes: 2 additions & 0 deletions csfunctions/objects/document.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ class Document(BaseObject):
z_art: str | None = Field(None, description="Document Type")
mapped_materialnr_erp: str | None = Field(None, description="Materialnumber ERP")
cdb_object_id: str | None = Field(None, description="Object ID")
pruefer: str | None = Field(None, description="Reviewer")
pruef_datum: datetime | None = Field(None, description="Review Date")

# Custom Char Fields
cca_char_doc_1: str | None = Field(None, description="Custom Char Field")
Expand Down
27 changes: 27 additions & 0 deletions json_schemas/request.json
Original file line number Diff line number Diff line change
Expand Up @@ -691,6 +691,33 @@
"description": "Object ID",
"title": "Cdb Object Id"
},
"pruefer": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Reviewer",
"title": "Pruefer"
},
"pruef_datum": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Review Date",
"title": "Pruef Datum"
},
"cca_char_doc_1": {
"anyOf": [
{
Expand Down
Loading