Hi @Scruha You can query the current settings with the API like this:
query CompanyInformationParams ($cid: Int) {
useCompany(no: $cid){
companyInformation {
items{
onlyAutomaticAssignment
onlyAutomaticAssignmentFlags
}
}
}
}
You should also be able to edit the value, as shown below. The value in the example should fit your needs in terms of being able to create specific order, associate and customer numbers. NB! Keep in mind that the current parameter value may be there for a reason, changing parameter values should always be cleared with the customer before changes are made. If you don't know the consequences, always consult the customer's partner before making changes.
mutation CompanyInformationParams ($cid: Int) {
useCompany(no: $cid){
companyInformation_update(
value: {onlyAutomaticAssignment: 7}) {
affectedRows
items{
onlyAutomaticAssignment
onlyAutomaticAssignmentFlags
}
}
}
}
The described field is also available in the UI, in the Company information table. It is not visible by default in the standard layouts, so you have to add it. Ctrl+U, search for "+" in the available columns, and add it to the selected columns in the layout.
... View more