Function Reference for SAP Business One SQL (B1WebAPI) Connector
In general, Functions are used by Visual Data Mapper to transform or generate target data within a map.
SAP Business One SQL (B1WebAPI) Connector provides several functions to aid with mappings in Visual Data Mapper.
Category | Function Name | Description | Version |
---|---|---|---|
B1WebAPI | Date - Convert To B1 Date |
Attempts to convert the provided date string into B1-supported date string. Returns the date string or an invalid date message. | 6.0+ |
B1WebAPI | Date - Validate B1 Date |
Validates that the provided date is already in B1-supported date format. Outputs the date string as provided, or an invalid date message. | 6.0+ |
B1WebAPI | Item Price - Get Batch Price |
Get prices for the provided batch of items/cardcodes. | 6.0+ |
B1WebAPI | Item Price - Get Item Price |
Get pricing for the specified customer Card Code and Item Code. | 6.0+ |
B1WebAPI | Query - Get All Categories |
Get a list of all b1 query categories. | 6.0+ |
B1WebAPI | Query - Get Queries in Category |
Get a list of b1 queries in the provided Query Category Name. | 6.0+ |
B1WebAPI | Query - Get Query Results |
Run a B1 query for the supplied Query Category name and Query name. Optionally supply parameters as a string. Gets all results from the query. Note, parameter string must include the ? prefix. Example parameter string: ?CardCode=C20000&Param2=Value2&Param3=Value3. |
6.0+ |
B1WebAPI | Query - Get Query Results for Named Column |
Run a B1 query for the supplied Query Category name and Query name. Optionally supply a list of parameters. Gets data only for the specified column. | 6.0+ |
B1WebAPI | Query - Get Query Results for Named Column for XSLT |
Run a B1 query for the supplied Query Category name and Query name. Optionally supply parameters. Gets data only for the specified column.Note, parameter string must include the ? prefix. Example parameter string: ?CardCode=C20000&Param2=Value2&Param3=Value3 |
6.0+ |
B1WebAPI | Query - Get Query Results for XSLTs |
Run a B1 query for the supplied Query Category name and Query name. Optionally supply a list of parameters. Gets all results from the query. | 6.0+ |
B1WebAPI | Query - Get Scalar Result |
Execute a B1 query for the supplied Query name. Gets the scalar result (first column and row only) from the query and discards all other data. Query Parameters not supported. | 6.0+ |
B1WebAPI | Query - Has Results |
Returns true if the indicated query has results. Optionally provide query parameters. |
6.0+ |
B1WebAPI | Query - Run Query |
Run the B1 Query in the named Query and Query Category. Returns results in the selected output format. Query Parameters not supported. | 6.0+ |
B1WebAPI | UDT - Get All UDTs |
Get a list of all User Defined Tables (UDT). | 6.0+ |
B1WebAPI | UDT - Get Records for UDT |
Get all records from a User Defined Table (UDT). Requires the UDT name. | 6.0+ |
B1WebAPI | UDT - Get UDT Record by Key |
Get a record from a User Defined Table (UDT). Requires the UDT name and record Code. | 6.0+ |
Function Names
Date - Convert To B1 Date
Category | Function Name | Description | Version |
---|---|---|---|
B1WebAPI | Date - Convert To B1 Date |
Attempts to convert the provided date string into B1-supported date string. Returns the date string or an invalid date message. | 6.0+ |
Date - Validate B1 Date
Category | Function Name | Description | Version |
---|---|---|---|
B1WebAPI | Date - Validate B1 Date |
Validates that the provided date is already in B1-supported date format. Outputs the date string as provided, or an invalid date message. | 6.0+ |
Item Price - Get Batch Price
Category | Function Name | Description | Version |
---|---|---|---|
B1WebAPI | Item Price - Get Batch Price |
Get prices for the provided batch of items/cardcodes. | 6.0+ |
Item Price - Get Item Price
Category | Function Name | Description | Version |
---|---|---|---|
B1WebAPI | Item Price - Get Item Price |
Get pricing for the specified customer Card Code and Item Code. | 6.0+ |
Query - Get All Categories
Category | Function Name | Description | Version |
---|---|---|---|
B1WebAPI | Query - Get All Categories |
Get a list of all b1 query categories. | 6.0+ |
Query - Get Queries in Category
Category | Function Name | Description | Version |
---|---|---|---|
B1WebAPI | Query - Get Queries in Category |
Get a list of b1 queries in the provided Query Category Name. | 6.0+ |
Query - Get Query Results
Category | Function Name | Description | Version |
---|---|---|---|
B1WebAPI | Query - Get Query Results |
Run a B1 query for the supplied Query Category name and Query name. Optionally supply parameters as a string. Gets all results from the query. Note, parameter string must include the ? prefix. Example parameter string: ?CardCode=C20000&Param2=Value2&Param3=Value3. |
6.0+ |
Query - Get Query Results for Named Column
Category | Function Name | Description | Version |
---|---|---|---|
B1WebAPI | Query - Get Query Results for Named Column |
Run a B1 query for the supplied Query Category name and Query name. Optionally supply a list of parameters. Gets data only for the specified column. | 6.0+ |
Query - Get Query Results for Named Column for XSLT
Category | Function Name | Description | Version |
---|---|---|---|
B1WebAPI | Query - Get Query Results for Named Column for XSLT |
Run a B1 query for the supplied Query Category name and Query name. Optionally supply parameters. Gets data only for the specified column.Note, parameter string must include the ? prefix. Example parameter string: ?CardCode=C20000&Param2=Value2&Param3=Value3 |
6.0+ |
Query - Get Query Results for XSLTs
Category | Function Name | Description | Version |
---|---|---|---|
B1WebAPI | Query - Get Query Results for XSLTs |
Run a B1 query for the supplied Query Category name and Query name. Optionally supply a list of parameters. Gets all results from the query. | 6.0+ |
Query - Get Scalar Result
Category | Function Name | Description | Version |
---|---|---|---|
B1WebAPI | Query - Get Scalar Result |
Execute a B1 query for the supplied Query name. Gets the scalar result (first column and row only) from the query and discards all other data. Query Parameters not supported. | 6.0+ |
Query - Has Results
Category | Function Name | Description | Version |
---|---|---|---|
B1WebAPI | Query - Has Results |
Returns true if the indicated query has results. Optionally provide query parameters. |
6.0+ |
Query - Run Query
Category | Function Name | Description | Version |
---|---|---|---|
B1WebAPI | Query - Run Query |
Run the B1 Query in the named Query and Query Category. Returns results in the selected output format. Query Parameters not supported. | 6.0+ |
UDT - Get All UDTs
Category | Function Name | Description | Version |
---|---|---|---|
B1WebAPI | UDT - Get All UDTs |
Get a list of all User Defined Tables (UDT). | 6.0+ |
UDT - Get Records for UDT
Category | Function Name | Description | Version |
---|---|---|---|
B1WebAPI | UDT - Get Records for UDT |
Get all records from a User Defined Table (UDT). Requires the UDT name. | 6.0+ |
UDT - Get UDT Record by Key
Category | Function Name | Description | Version |
---|---|---|---|
B1WebAPI | UDT - Get UDT Record by Key |
Get a record from a User Defined Table (UDT). Requires the UDT name and record Code. | 6.0+ |