Module: Ruconomic::API::QuotationLine
- Extended by:
- WebService
- Defined in:
- lib/ruconomic/api/quotation_line.rb
Class Method Summary collapse
-
.create ⇒ Hash
Creates a new quotation line.
-
.create_from_data ⇒ Hash
Creates a new quotation line from a data object.
-
.create_from_data_array ⇒ Hash
Creates new quotation lines from data objects.
-
.delete ⇒ Hash
Deletes an quotation line.
-
.find_by_product ⇒ Hash
Returns handles for quotation lines that uses a given product.
-
.find_by_product_list ⇒ Hash
Returns handles for quotation lines that uses a given set of products.
-
.get_all ⇒ Hash
Returns handles for all quotation lines.
-
.get_data ⇒ Hash
Returns an quotation line data object for a given quotation line.
-
.get_data_array ⇒ Hash
Returns quotation line data objects for a given set of quotation line handles.
-
.get_delivery_date ⇒ Hash
Gets the delivery date of an quotation line.
-
.get_department ⇒ Hash
Gets a handle for the department of an quotation line.
-
.get_description ⇒ Hash
Gets the description of an quotation line.
-
.get_discount_as_percent ⇒ Hash
Gets discount of an quotation line as percent.
-
.get_distribution_key ⇒ Hash
Gets a handle for the distribution key of an quotation line.
-
.get_inventory_location ⇒ Hash
Gets a handle for the inventory location of a quotation line.
-
.get_margin_as_percent ⇒ Hash
Gets the margin as percent of an quotation line.
-
.get_number ⇒ Hash
Gets the number of an quotation line.
-
.get_product ⇒ Hash
Gets handle for product of an quotation line.
-
.get_quantity ⇒ Hash
Gets primary quantity of an quotation line.
-
.get_quotation ⇒ Hash
Gets a handle for the quotation of an quotation line.
-
.get_total_margin ⇒ Hash
Gets the margin of an quotation line (in the currency of the quotation).
-
.get_total_net_amount ⇒ Hash
Gets the total amount without VAT of an quotation line (in the currency of the quotation).
-
.get_unit ⇒ Hash
Gets handle for primary unit of an quotation line.
-
.get_unit_cost_price ⇒ Hash
Gets the cost price per unit witout VAT of an quotation line (in the default currency).
-
.get_unit_net_price ⇒ Hash
Gets price per unit without VAT of an quotation line (in the currency of the quotation).
-
.set_delivery_date ⇒ Hash
Sets the delivery date of an quotation line.
-
.set_department ⇒ Hash
Sets the department of an quotation line.
-
.set_description ⇒ Hash
Sets the description of an quotation line.
-
.set_discount_as_percent ⇒ Hash
Sets discount of an quotation line as percent.
-
.set_distribution_key ⇒ Hash
Sets the distribution key of an quotation line.
-
.set_inventory_location ⇒ Hash
Sets the inventory location of a quotation line.
-
.set_product ⇒ Hash
Sets product of an quotation line.
-
.set_quantity ⇒ Hash
Sets primary quantity of an quotation line.
-
.set_unit ⇒ Hash
Sets primary unit of an quotation line.
-
.set_unit_net_price ⇒ Hash
Sets price per unit without VAT of an quotation line (in the currency of the quotation).
-
.update_from_data ⇒ Hash
Updates an quotation line from a data object.
-
.update_from_data_array ⇒ Hash
Update quotation lines from data objects.
Class Method Details
.create ⇒ Hash
TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing“
Creates a new quotation line. Parameters: quotationHandle: Handle for a quotation.
372 373 374 375 376 |
# File 'lib/ruconomic/api/quotation_line.rb', line 372 def self.create response = invoke('QuotationLine_Create') do || raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing" end end |
.create_from_data ⇒ Hash
TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing“
Creates a new quotation line from a data object. Parameters: data: The data object that specifies the properties of the new quotation line.
12 13 14 15 16 |
# File 'lib/ruconomic/api/quotation_line.rb', line 12 def self.create_from_data response = invoke('QuotationLine_CreateFromData') do || raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing" end end |
.create_from_data_array ⇒ Hash
TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing“
Creates new quotation lines from data objects. Parameters: dataArray: The array of data objects that specifies the properties of the new quotation lines.
24 25 26 27 28 |
# File 'lib/ruconomic/api/quotation_line.rb', line 24 def self.create_from_data_array response = invoke('QuotationLine_CreateFromDataArray') do || raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing" end end |
.delete ⇒ Hash
TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing“
Deletes an quotation line. Parameters: quotationLineHandle: Handle for the quotation line.
419 420 421 422 423 |
# File 'lib/ruconomic/api/quotation_line.rb', line 419 def self.delete response = invoke('QuotationLine_Delete') do || raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing" end end |
.find_by_product ⇒ Hash
TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing“
Returns handles for quotation lines that uses a given product. Parameters: product: The product to search for.
395 396 397 398 399 |
# File 'lib/ruconomic/api/quotation_line.rb', line 395 def self.find_by_product response = invoke('QuotationLine_FindByProduct') do || raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing" end end |
.find_by_product_list ⇒ Hash
TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing“
Returns handles for quotation lines that uses a given set of products. Parameters: products: The products to search for.
407 408 409 410 411 |
# File 'lib/ruconomic/api/quotation_line.rb', line 407 def self.find_by_product_list response = invoke('QuotationLine_FindByProductList') do || raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing" end end |
.get_all ⇒ Hash
TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing“
Returns handles for all quotation lines.
383 384 385 386 387 |
# File 'lib/ruconomic/api/quotation_line.rb', line 383 def self.get_all response = invoke('QuotationLine_GetAll') do || raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing" end end |
.get_data ⇒ Hash
TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing“
Returns an quotation line data object for a given quotation line. Parameters: entityHandle: A handle for the quotation line.
60 61 62 63 64 |
# File 'lib/ruconomic/api/quotation_line.rb', line 60 def self.get_data response = invoke('QuotationLine_GetData') do || raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing" end end |
.get_data_array ⇒ Hash
TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing“
Returns quotation line data objects for a given set of quotation line handles. Parameters: entityHandles: An array of the quotation line handles.
72 73 74 75 76 |
# File 'lib/ruconomic/api/quotation_line.rb', line 72 def self.get_data_array response = invoke('QuotationLine_GetDataArray') do || raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing" end end |
.get_delivery_date ⇒ Hash
TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing“
Gets the delivery date of an quotation line. Parameters: quotationLineHandle: Handle for the quotation line.
132 133 134 135 136 |
# File 'lib/ruconomic/api/quotation_line.rb', line 132 def self.get_delivery_date response = invoke('QuotationLine_GetDeliveryDate') do || raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing" end end |
.get_department ⇒ Hash
TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing“
Gets a handle for the department of an quotation line. The department is only accessible when there is access to the Dimension add-on module. Parameters: quotationLineHandle: Handle for the quotation line.
324 325 326 327 328 |
# File 'lib/ruconomic/api/quotation_line.rb', line 324 def self.get_department response = invoke('QuotationLine_GetDepartment') do || raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing" end end |
.get_description ⇒ Hash
TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing“
Gets the description of an quotation line. Parameters: quotationLineHandle: Handle for the quotation line.
120 121 122 123 124 |
# File 'lib/ruconomic/api/quotation_line.rb', line 120 def self.get_description response = invoke('QuotationLine_GetDescription') do || raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing" end end |
.get_discount_as_percent ⇒ Hash
TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing“
Gets discount of an quotation line as percent. Parameters: quotationLineHandle: Handle for the quotation line.
252 253 254 255 256 |
# File 'lib/ruconomic/api/quotation_line.rb', line 252 def self.get_discount_as_percent response = invoke('QuotationLine_GetDiscountAsPercent') do || raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing" end end |
.get_distribution_key ⇒ Hash
TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing“
Gets a handle for the distribution key of an quotation line. The distribution key is only accessible when there is access to the Dimension add-on module. Parameters: quotationLineHandle: Handle for the quotation line.
348 349 350 351 352 |
# File 'lib/ruconomic/api/quotation_line.rb', line 348 def self.get_distribution_key response = invoke('QuotationLine_GetDistributionKey') do || raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing" end end |
.get_inventory_location ⇒ Hash
TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing“
Gets a handle for the inventory location of a quotation line. The inventory location is only accessible when there is access to the Stock add-on module. Parameters: quotationLineHandle: Handle for the quotation line.
431 432 433 434 435 |
# File 'lib/ruconomic/api/quotation_line.rb', line 431 def self.get_inventory_location response = invoke('QuotationLine_GetInventoryLocation') do || raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing" end end |
.get_margin_as_percent ⇒ Hash
TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing“
Gets the margin as percent of an quotation line. Parameters: quotationLineHandle: Handle for the quotation line.
312 313 314 315 316 |
# File 'lib/ruconomic/api/quotation_line.rb', line 312 def self.get_margin_as_percent response = invoke('QuotationLine_GetMarginAsPercent') do || raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing" end end |
.get_number ⇒ Hash
TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing“
Gets the number of an quotation line. Parameters: quotationLineHandle: Handle for the quotation line.
84 85 86 87 88 |
# File 'lib/ruconomic/api/quotation_line.rb', line 84 def self.get_number response = invoke('QuotationLine_GetNumber') do || raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing" end end |
.get_product ⇒ Hash
TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing“
Gets handle for product of an quotation line. Parameters: quotationLineHandle: Handle for the quotation line.
180 181 182 183 184 |
# File 'lib/ruconomic/api/quotation_line.rb', line 180 def self.get_product response = invoke('QuotationLine_GetProduct') do || raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing" end end |
.get_quantity ⇒ Hash
TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing“
Gets primary quantity of an quotation line. Parameters: quotationLineHandle: Handle for the quotation line.
216 217 218 219 220 |
# File 'lib/ruconomic/api/quotation_line.rb', line 216 def self.get_quantity response = invoke('QuotationLine_GetQuantity') do || raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing" end end |
.get_quotation ⇒ Hash
TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing“
Gets a handle for the quotation of an quotation line. Parameters: quotationLineHandle: Handle for the quotation line.
96 97 98 99 100 |
# File 'lib/ruconomic/api/quotation_line.rb', line 96 def self.get_quotation response = invoke('QuotationLine_GetQuotation') do || raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing" end end |
.get_total_margin ⇒ Hash
TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing“
Gets the margin of an quotation line (in the currency of the quotation). Parameters: quotationLineHandle: Handle for the quotation line.
300 301 302 303 304 |
# File 'lib/ruconomic/api/quotation_line.rb', line 300 def self.get_total_margin response = invoke('QuotationLine_GetTotalMargin') do || raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing" end end |
.get_total_net_amount ⇒ Hash
TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing“
Gets the total amount without VAT of an quotation line (in the currency of the quotation). Parameters: quotationLineHandle: Handle for the quotation line.
288 289 290 291 292 |
# File 'lib/ruconomic/api/quotation_line.rb', line 288 def self.get_total_net_amount response = invoke('QuotationLine_GetTotalNetAmount') do || raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing" end end |
.get_unit ⇒ Hash
TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing“
Gets handle for primary unit of an quotation line. Parameters: quotationLineHandle: Handle for the quotation line.
156 157 158 159 160 |
# File 'lib/ruconomic/api/quotation_line.rb', line 156 def self.get_unit response = invoke('QuotationLine_GetUnit') do || raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing" end end |
.get_unit_cost_price ⇒ Hash
TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing“
Gets the cost price per unit witout VAT of an quotation line (in the default currency). Parameters: quotationLineHandle: Handle for the quotation line.
276 277 278 279 280 |
# File 'lib/ruconomic/api/quotation_line.rb', line 276 def self.get_unit_cost_price response = invoke('QuotationLine_GetUnitCostPrice') do || raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing" end end |
.get_unit_net_price ⇒ Hash
TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing“
Gets price per unit without VAT of an quotation line (in the currency of the quotation). Parameters: quotationLineHandle: Handle for the quotation line.
240 241 242 243 244 |
# File 'lib/ruconomic/api/quotation_line.rb', line 240 def self.get_unit_net_price response = invoke('QuotationLine_GetUnitNetPrice') do || raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing" end end |
.set_delivery_date ⇒ Hash
TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing“
Sets the delivery date of an quotation line. Parameters: quotationLineHandle: Handle for the quotation line. value: The new delivery date of the quotation line.
144 145 146 147 148 |
# File 'lib/ruconomic/api/quotation_line.rb', line 144 def self.set_delivery_date response = invoke('QuotationLine_SetDeliveryDate') do || raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing" end end |
.set_department ⇒ Hash
TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing“
Sets the department of an quotation line. The department is only accessible when there is access to the Dimension add-on module. The department cannot be set when the distribution key is set. Parameters: quotationLineHandle: Handle for the quotation line. value: Handle for the new department of the quotation line.
336 337 338 339 340 |
# File 'lib/ruconomic/api/quotation_line.rb', line 336 def self.set_department response = invoke('QuotationLine_SetDepartment') do || raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing" end end |
.set_description ⇒ Hash
TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing“
Sets the description of an quotation line. Parameters: quotationLineHandle: Handle for the quotation line. value: The new description of the quotation line.
108 109 110 111 112 |
# File 'lib/ruconomic/api/quotation_line.rb', line 108 def self.set_description response = invoke('QuotationLine_SetDescription') do || raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing" end end |
.set_discount_as_percent ⇒ Hash
TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing“
Sets discount of an quotation line as percent. Parameters: quotationLineHandle: Handle for the quotation line. value: The new discount as percent of the quotation line.
264 265 266 267 268 |
# File 'lib/ruconomic/api/quotation_line.rb', line 264 def self.set_discount_as_percent response = invoke('QuotationLine_SetDiscountAsPercent') do || raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing" end end |
.set_distribution_key ⇒ Hash
TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing“
Sets the distribution key of an quotation line. The distribution key is only accessible when there is access to the Dimension add-on module. The distribution key cannot be set when the department is set. Parameters: quotationLineHandle: Handle for the quotation line. value: Handle for the new distribution key of the quotation line.
360 361 362 363 364 |
# File 'lib/ruconomic/api/quotation_line.rb', line 360 def self.set_distribution_key response = invoke('QuotationLine_SetDistributionKey') do || raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing" end end |
.set_inventory_location ⇒ Hash
TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing“
Sets the inventory location of a quotation line. The inventory location is only accessible when there is access to the Stock add-on module. Parameters: quotationLineHandle: Handle for the current invoice line. value: Handle for the new inventory location of the quotation line.
443 444 445 446 447 |
# File 'lib/ruconomic/api/quotation_line.rb', line 443 def self.set_inventory_location response = invoke('QuotationLine_SetInventoryLocation') do || raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing" end end |
.set_product ⇒ Hash
TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing“
Sets product of an quotation line. Setting the product also sets the unit cost price to the cost price of the product. The product must be set before setting the quantity and the unit net price. Parameters: quotationLineHandle: Handle for the quotation line. valueHandle: Handle for new product of the quotation line.
192 193 194 195 196 |
# File 'lib/ruconomic/api/quotation_line.rb', line 192 def self.set_product response = invoke('QuotationLine_SetProduct') do || raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing" end end |
.set_quantity ⇒ Hash
TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing“
Sets primary quantity of an quotation line. The product of the quotation line must be set before setting this property. Parameters: quotationLineHandle: Handle for the quotation line. valueHandle: Handle for primary quantity of the quotation line.
204 205 206 207 208 |
# File 'lib/ruconomic/api/quotation_line.rb', line 204 def self.set_quantity response = invoke('QuotationLine_SetQuantity') do || raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing" end end |
.set_unit ⇒ Hash
TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing“
Sets primary unit of an quotation line. Parameters: quotationLineHandle: Handle for the quotation line. valueHandle: Handle for new primary unit of the quotation line.
168 169 170 171 172 |
# File 'lib/ruconomic/api/quotation_line.rb', line 168 def self.set_unit response = invoke('QuotationLine_SetUnit') do || raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing" end end |
.set_unit_net_price ⇒ Hash
TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing“
Sets price per unit without VAT of an quotation line (in the currency of the quotation). The product of the quotation line must be set before setting this property. Parameters: quotationLineHandle: Handle for the quotation line. value: The new price per unit without VAT of the quotation line.
228 229 230 231 232 |
# File 'lib/ruconomic/api/quotation_line.rb', line 228 def self.set_unit_net_price response = invoke('QuotationLine_SetUnitNetPrice') do || raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing" end end |
.update_from_data ⇒ Hash
TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing“
Updates an quotation line from a data object. Parameters: data: The data object.
48 49 50 51 52 |
# File 'lib/ruconomic/api/quotation_line.rb', line 48 def self.update_from_data response = invoke('QuotationLine_UpdateFromData') do || raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing" end end |
.update_from_data_array ⇒ Hash
TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing“
Update quotation lines from data objects. Parameters: dataArray: The array of data objects.
36 37 38 39 40 |
# File 'lib/ruconomic/api/quotation_line.rb', line 36 def self.update_from_data_array response = invoke('QuotationLine_UpdateFromDataArray') do || raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing" end end |