bow_resource.postresourcebooking: Bouw7 Package for resource operations that could not be mapped to a table. |
Creates or updates a resource booking for the currently authenticated user.
Procedureparameters
De volgende parameters kunnen worden gebruikt om het gedrag te sturen van de procedure bow_resource.postresourcebooking. 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 |
☐ |
|
The unique identifier of the resource booking. |
type |
string |
☑ |
|
Resource type, possible values: equipment. |
id_2 |
int64 |
☐ |
|
The unique identifier of the project the resource belongs to. |
name |
string |
☐ |
|
The name of the project the resource belongs to. |
id_3 |
int64 |
☐ |
|
The unique identifier of the project security link. |
name_2 |
string |
☐ |
|
The name of the project security link. |
chapterName |
string |
☐ |
|
The name of the project security chapter. |
status |
int64 |
☐ |
|
The status of the project security link. |
id_4 |
int64 |
☐ |
|
The unique identifier of the resource. |
name_3 |
string |
☐ |
|
The name of the resource. |
id_5 |
int64 |
☐ |
|
The unique identifier of the resource group. |
name_4 |
string |
☐ |
|
The name of the resource group. |
id_6 |
int64 |
☐ |
|
The unique identifier of the resource unit. |
amount |
string |
☑ |
|
The amount of the resource booking. |
price |
string |
☐ |
|
The price of this booking, if this is not provided, the price of the unit will be used for the booking. |
priceTotal |
string |
☐ |
|
The total price of this booking. |
sellingPrice |
string |
☐ |
|
The selling price of this booking. |
sellingPriceTotal |
string |
☐ |
|
The total selling price of this booking. |
logDate |
datetime |
☑ |
|
The cost price of this booking. |
comment |
string |
☐ |
|
The comment of this booking. |
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