GetDocParams
false
RenovationDocument
RenovationDocument
can be assigned to a custom doctype type, for instance, Renovation Review
. This is possible because RenovationDocument
contains Indexed Property.HTTP code:404
type:NotFoundError
cause: Docname does not existsuggestion: Make sure the queried document name is correct or create the required document
HTTP code:412
type:DataFormatError
cause: The input arguments are in the wrong type/formatsuggestion: Use the correct parameters types/formats referencing the functions signature
GetListParams
DBFilter
fields
Link
(Another document)[{ [x: string]: DBBasicValues | [{}] }]
string
or number
for the fields that are not an object. Also it could contain nested array of objects, for instance, linked documents.GetValueParams
{ [x: string]: DBBasicValues }
string
or number
.HTTP code:404
type:NotFoundError
cause: Docname does not existsuggestion: Make sure the queried document name is correct or create the required document
HTTP code:412
type:DataFormatError
cause: The input arguments are in the wrong type/formatsuggestion: Use the correct parameters types/formats referencing the functions signature
SetValueParams
DBBasicValues
RenovationDocument
HTTP code:404
type:NotFoundError
cause: DocType does not existsuggestion: Make sure the queried DocType is input correctly or create the required DocType
HTTP code:404
type:NotFoundError
cause: Docname does not existsuggestion: Make sure the queried document name is correct or create the required document
SetLocalValueParams
DBBasicValues
NewDocParams
Promise<RenovationDocument>
*
SaveDocParams
RenovationDocument
RenovationDocument
HTTP code:409
type:DuplicateEntryError
cause: Duplicate doc found while savingsuggestion: Change the 'name' field or delete the existing document
SubmitDocParams
RenovationDocument
RenovationDocument
HTTP code:404
type:NotFoundError
cause: DocType does not existsuggestion: Make sure the queried DocType is input correctly or create the required DocType
HTTP code:404
type:NotFoundError
cause: Docname does not existsuggestion: Make sure the queried document name is correct or create the required document
SaveSubmitDocParams
RenovationDocument
RenovationDocument
HTTP code:404
type:NotFoundError
cause: DocType does not existsuggestion: Make sure the queried DocType is input correctly or create the required DocType
HTTP code:404
type:NotFoundError
cause: Docname does not existsuggestion: Make sure the queried document name is correct or create the required document
local
cache.CopyDocParams
RenovationDocument
Promise<RenovationDocument>
*
RenovationDocument
RenovationDocument
Promise<RenovationDocument>
*
AddChildDocParams
RenovationDocument
Promise<RenovationDocument>
*
DeleteDocParams
RenovationDocument
HTTP code:404
type:NotFoundError
cause: Docname does not existsuggestion: Make sure the queried document name is correct or create the required document
CancelDocParams
RenovationDocument
RenovationDocument