bow_department.postdepartment: Bouw7 Package for department operations that could not be mapped to a table. |
Create or update a department with the schema.
Procedureparameters
De volgende parameters kunnen worden gebruikt om het gedrag te sturen van de procedure bow_department.postdepartment. Voor verplichte parameters moet altijd een waarde worden opgegeven, maar optionele parameters hoeven in het algemeen geen waarde te hebben en de uitvoering zal standaard een vooraf bepaald gedrag vertonen. Waarden kunnen worden gespecificeerd op basis van positie en naam. In beide gevallen worden alle niet-gespecificeerde parameters geëvalueerd aan de hand van hun standaardwaarden.
Waardespecificatie op positie gebeurt door alle waarden van de eerste tot de laatste benodigde waarde op te sommen. Bijvoorbeeld: een `begin package.procedure(value1, value2, value3); end` voor een procedure met vier parameters gebruikt de standaardwaarde voor de vierde parameter en de opgegeven waarden voor de eerste drie.
Waardespecificatie op naam gebeurt door alle waarden die een waarde vereisen op te sommen. Bijvoorbeeld met `begin package.procedure (name1 => value1, name3 => value3); end` op dezelfde procedure gebruikt de standaardwaarden voor de tweede en vierde parameters en de gespecificeerde waarden voor de eerste en derde.
Naam |
Datatype |
Verplicht |
Standaardwaarde |
Documentatie |
---|---|---|---|---|
id |
int64 |
☐ |
|
ID of the department. |
name |
string |
☑ |
|
Name of the department. |
color |
string |
☑ |
|
Display color of the department |
isActive |
boolean |
☑ |
|
Whether or not the department is active. |
id_2 |
int64 |
☐ |
|
The ID of the branch. |
name_2 |
string |
☐ |
|
The name of this branch |
code |
string |
☐ |
|
The code for this branch |
division_id |
int64 |
☐ |
|
The ID of the division. |
division_description |
string |
☐ |
|
The description of the division. |
division_exactDivisionId |
string |
☐ |
|
The division ID of an Exact Online environment. |
division_glAccountCode |
string |
☐ |
|
A default general ledger account code to use for sales related items. |
division_glAccountCodePurchase |
string |
☐ |
|
A default general ledger account code to use for purchase related items. |
division_journalCode |
string |
☐ |
|
A default journal code to use for sales related items. |
division_journalCodePurchase |
string |
☐ |
|
A default journal code to use for purchase related items. |
division_salesInvoiceNumberPrefix |
string |
☐ |
|
The prefix (3 digits) used to generate invoice number range per division. |
hasBranchSpecificAccess |
boolean |
☑ |
|
Whether users within the department can only access items associated with one of the specified branches. |
isDataWithoutBranchAccessible |
boolean |
☑ |
|
Whether this branch can access data without a branch, this option is only used in combination with the hasBranchSpecificAccess=true. |
createdAt |
datetime |
☐ |
|
The creation time of the entity. |
createdBy |
string |
☐ |
|
The user that created the entity. |
updatedAt |
datetime |
☐ |
|
The last updated time of the entity. |
updatedBy |
string |
☐ |
|
The user that last updated the entity. |
30-06-2025 16:22 Versie 24.1.116-BETA+5455