bow_approval.findmatchingapprovalcriteria: Bouw7 Package for approval operations that could not be mapped to a table. |
Match the criteria by the given schema and return the matching approval workflow or NULL if none can be found.
Procedureparameters
De volgende parameters kunnen worden gebruikt om het gedrag te sturen van de procedure bow_approval.findmatchingapprovalcriteria. 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 |
---|---|---|---|---|
type |
int64 |
☑ |
|
The type of criteria the requirements have to match to. |
cost |
string |
☑ |
|
The cost used to match a workflow with. |
id |
int64 |
☐ |
|
ID of contact. |
name |
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_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. |
id_3 |
int64 |
☐ |
|
The ID of the category. |
name_3 |
string |
☐ |
|
The name of the category. |
code_2 |
string |
☐ |
|
The code for the category. |
generalCostsPercentage |
string |
☐ |
|
The general costs percentage for the category. |
grossProfitMargin |
string |
☐ |
|
The gross profit margin for the category. |
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. |
id_4 |
int64 |
☐ |
|
The ID of purchase invoice. |
deliveryTicket_id |
int64 |
☐ |
|
The ID of delivery ticket. |
deliveryTicket_ticketNumber |
string |
☐ |
|
Ticket number of delivery ticket. |
deliveryTicket_ticketDate |
datetime |
☐ |
|
The date for which the delivery ticket were logged. |
deliveryTicket_cost |
string |
☐ |
|
The costs for this delivery ticket. |
deliveryTicket_processed |
boolean |
☐ |
|
Whether the delivery ticket has been processed. |
deliveryTicket_initialCost |
string |
☐ |
|
The initial costs for this delivery ticket. |
id_5 |
int64 |
☐ |
|
The ID of the project. |
projectNumber |
string |
☐ |
|
The project number. |
fullProjectNumber |
string |
☐ |
|
The full project number including year. |
name_4 |
string |
☐ |
|
The name of the project. |
streetName |
string |
☐ |
|
The street name for the project. |
houseNumber |
string |
☐ |
|
The house number for the project. |
zipCode |
string |
☐ |
|
The zip code for the project. |
city |
string |
☐ |
|
The city of the project. |
information |
string |
☐ |
|
The information of the project. |
reference |
string |
☐ |
|
The reference of the project. |
startDate |
datetime |
☐ |
|
Start date for the project. |
endDate |
datetime |
☐ |
|
End date for the project. |
deliveryDate |
datetime |
☐ |
|
Delivery date for the project. |
contact_id |
int64 |
☐ |
|
ID of contact. |
contact_name |
string |
☐ |
|
Name of contact. |
contact_email |
string |
☐ |
|
The email address. |
contact_phoneNumber |
string |
☐ |
|
The phone number of the contact. |
contact_isVatShifted |
boolean |
☐ |
|
Whether VAT is shifted for the contact. |
contact_contactType_id |
int64 |
☐ |
|
The ID of contact type. |
contact_contactType_name |
string |
☐ |
|
The name of contact type. |
category_id |
int64 |
☐ |
|
The ID of the category. |
category_name |
string |
☐ |
|
The name of the category. |
category_code |
string |
☐ |
|
The code for the category. |
category_generalCostsPercentage |
string |
☐ |
|
The general costs percentage for the category. |
category_generalCostsOrProfit |
string |
☐ |
|
The general costs or profit for the category. |
category_grossProfitMargin |
string |
☐ |
|
The gross profit margin for the category. |
category_createdAt |
datetime |
☐ |
|
The creation time of the entity. |
category_createdBy |
string |
☐ |
|
The user that created the entity. |
category_updatedAt |
datetime |
☐ |
|
The last updated time of the entity. |
category_updatedBy |
string |
☐ |
|
The user that last updated the entity. |
status_id |
int64 |
☐ |
|
The ID of the status. |
status_name |
string |
☐ |
|
The name of the status. |
status_closesProject |
boolean |
☐ |
|
Whether or not this status closes a project. |
status_invoicesProject |
boolean |
☐ |
|
Whether or not this status invoices a project. |
status_plansProject |
boolean |
☐ |
|
Whether or not this status plans a project. |
status_createdAt |
datetime |
☐ |
|
The creation time of the entity. |
status_createdBy |
string |
☐ |
|
The user that created the entity. |
status_updatedAt |
datetime |
☐ |
|
The last updated time of the entity. |
status_updatedBy |
string |
☐ |
|
The user that last updated the entity. |
branch_id |
int64 |
☐ |
|
The ID of the branch. |
branch_name |
string |
☐ |
|
The name of this branch |
branch_code |
string |
☐ |
|
The code for this branch |
branch_division_id |
int64 |
☐ |
|
The ID of the division. |
branch_division_description |
string |
☐ |
|
The description of the division. |
branch_division_exactDivisionId |
string |
☐ |
|
The division ID of an Exact Online environment. |
branch_division_glAccountCode |
string |
☐ |
|
A default general ledger account code to use for sales related items. |
branch_division_glAccountCodePurchase |
string |
☐ |
|
A default general ledger account code to use for purchase related items. |
branch_division_journalCode |
string |
☐ |
|
A default journal code to use for sales related items. |
branch_division_journalCodePurchase |
string |
☐ |
|
A default journal code to use for purchase related items. |
branch_division_salesInvoiceNumberPrefix |
string |
☐ |
|
The prefix (3 digits) used to generate invoice number range per division. |
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. |
30-06-2025 16:22 Versie 24.1.116-BETA+5455