bow_resource.postmaterialperunit: Bouw7 Package for resource operations that could not be mapped to a table. |
Create or update the material per unit with the schema.
Procedureparameters
De volgende parameters kunnen worden gebruikt om het gedrag te sturen van de procedure bow_resource.postmaterialperunit. 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 this material per unit. |
price |
string |
☑ |
|
The price of this material per unit. |
sellingPrice |
string |
☐ |
|
The selling price of this material per unit. |
articleNumber |
string |
☐ |
|
The article number of this material per unit. |
eanCode |
string |
☐ |
|
The ean code of this material per unit. |
glAccountCode |
string |
☐ |
|
The general ledger account code of this material per unit. |
isActive |
boolean |
☐ |
|
Whether or not this material per unit is active. |
id_2 |
int64 |
☐ |
|
ID of the material. |
name |
string |
☐ |
|
Name of the material. |
information |
string |
☐ |
|
Extra information describing this material. |
id_3 |
int64 |
☐ |
|
ID of the material unit. |
name_2 |
string |
☐ |
|
The name of the material unit. |
id_4 |
int64 |
☐ |
|
ID of contact. |
name_3 |
string |
☐ |
|
Name of contact. |
string |
☐ |
|
The email address. |
|
phoneNumber |
string |
☐ |
|
The phone number of the contact. |
isVatShifted |
boolean |
☐ |
|
Whether VAT is shifted for the contact. |
contactType_id |
int64 |
☐ |
|
The ID of contact type. |
contactType_name |
string |
☐ |
|
The name of contact type. |
id_5 |
int64 |
☐ |
|
ID of the material group. |
name_4 |
string |
☐ |
|
Name of the material group. |
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. |
deliveryTimeInDays |
int64 |
☐ |
|
The delivery time in days of this material per unit. |
id_6 |
int64 |
☐ |
|
ID of the form factor. |
width |
string |
☐ |
|
The width of the form factor. |
height |
string |
☐ |
|
The height of the form factor. |
depth |
string |
☐ |
|
The depth of the form factor. |
radius |
string |
☐ |
|
The radius of the form factor. |
topRadius |
string |
☐ |
|
The top radius of the form factor. |
bottomRadius |
string |
☐ |
|
The bottom radius of the form factor. |
innerRadius |
string |
☐ |
|
The inner radius of the form factor. |
outerRadius |
string |
☐ |
|
The outer radius of the form factor. |
unit |
int64 |
☐ |
|
The unit of the form factor. |
weight |
string |
☐ |
|
The weight of the form factor. |
type |
int64 |
☐ |
|
The form factor type/shape of this form factor. |
createdAt_2 |
datetime |
☐ |
|
The creation time of the entity. |
createdBy_2 |
string |
☐ |
|
The user that created the entity. |
updatedAt_2 |
datetime |
☐ |
|
The last updated time of the entity. |
updatedBy_2 |
string |
☐ |
|
The user that last updated the entity. |
conversionFactor |
string |
☐ |
|
The conversion factor of this material per unit. |
id_7 |
int64 |
☐ |
|
ID of the vat tariff. |
label |
string |
☐ |
|
Display label of the VAT tariff. |
percentage |
string |
☐ |
|
The VAT percentage. |
shiftedPercentage |
string |
☐ |
|
The shifted VAT percentage. |
isShifted |
boolean |
☐ |
|
Whether the VAT is shifted. |
isDefault |
boolean |
☐ |
|
Whether this VAT is default for the country its associated with. |
effectiveFrom |
string |
☐ |
|
The date since this VAT tariff is effective. |
legalText |
string |
☐ |
|
The legal text for the VAT tariff. Only for customers from the belgian hosting. |
visibilityFlag |
int64 |
☑ |
|
The visibility flag of this material per unit. |
isLinkedToBookings |
boolean |
☐ |
|
Whether this material per unit is linked to bookings. |
createdAt1 |
datetime |
☐ |
|
The creation time of the entity. |
createdBy1 |
string |
☐ |
|
The user that created the entity. |
updatedAt1 |
datetime |
☐ |
|
The last updated time of the entity. |
updatedBy1 |
string |
☐ |
|
The user that last updated the entity. |
30-06-2025 16:22 Versie 24.1.116-BETA+5455