There is such an action "Calculate the cost of delivery TTN New mail"
The question is what parameters it takes for the calculation and from where exactly (from which fields).
In the settings of the integration itself, it is possible to choose from which fields to take weight, width, length, height. It is necessary to understand whether this will be taken into account if we specify the fields there or where does it take these parameters from?
There is such an action "Calculate the cost of delivery TTN New mail" The question is what parameters it takes for the calculation and from where exactly (from which fields). In the settings of the integration itself, it is possible to choose from which fields to take weight, width, length, height. It is necessary to understand whether this will be taken into account if we specify the fields there or where does it take these parameters from?
Good afternoon, information on specific fields: Weight - first, the setting "Take value of Parcel weight from additional field" is checked, if the calculated value is empty, the saved weight is taken from the saved process sending parameters, but if it is empty, the current weight value is taken from the Sending parameters block, if empty - an error. The number of places is taken from the saved process sending parameters, but if it is empty, the current value is taken from the Sending parameters block, then the value of the "Take the Number of places value from the additional field" setting is checked, but if the result is empty - an error. Cost - from the declared cost of the process or from the setting "Take the declared cost of the process from the additional field of the process", if empty - from the setting "Declared cost of the process" or from the amount of the process A request is sent to the NP, the getDocumentPrice method Width, length, height are not taken into account. Options: CargoType = Cargo ServiceType = WarehouseWarehouse Weight = weight SeatsAmount = number of seats cost = cost as well as ref cities of the sender and recipient If "Return Delivery" is enabled in the action, additional conditions apply
Good afternoon, information on specific fields:
Weight - first, the setting "Take value of Parcel weight from additional field" is checked, if the calculated value is empty, the saved weight is taken from the saved process sending parameters, but if it is empty, the current weight value is taken from the Sending parameters block, if empty - an error.
The number of places is taken from the saved process sending parameters, but if it is empty, the current value is taken from the Sending parameters block, then the value of the "Take the Number of places value from the additional field" setting is checked, but if the result is empty - an error.
Cost - from the declared cost of the process or from the setting "Take the declared cost of the process from the additional field of the process", if empty - from the setting "Declared cost of the process" or from the amount of the process
A request is sent to the NP, the getDocumentPrice method
Width, length, height are not taken into account.
Options:
CargoType = Cargo
ServiceType = WarehouseWarehouse
Weight = weight
SeatsAmount = number of seats
cost = cost
as well as ref cities of the sender and recipient
If "Return Delivery" is enabled in the action, additional conditions apply
Zamogilny Dmitry OneBox production wrote: Good afternoon, information on specific fields: Weight - first, the setting "Take value of Parcel weight from additional field" is checked, if the calculated value is empty, the saved weight is taken from the saved process sending parameters, but if it is empty, the current weight value is taken from the Sending parameters block, if empty - an error. The number of places is taken from the saved process sending parameters, but if it is empty, the current value is taken from the Sending parameters block, then the value of the "Take the Number of places value from the additional field" setting is checked, but if the result is empty - an error. Cost - from the declared cost of the process or from the setting "Take the declared cost of the process from the additional field of the process", if empty - from the setting "Declared cost of the process" or from the amount of the process A request is sent to the NP, the getDocumentPrice method Width, length, height are not taken into account. Options: CargoType = Cargo ServiceType = WarehouseWarehouse Weight = weight SeatsAmount = number of seats cost = cost as well as ref cities of the sender and recipient If "Return Delivery" is enabled in the action, additional conditions apply
OK, this is clear. There is also a PackCount field in the documentation - the number of packs, where does this value come from?
[quote]
Zamogilny Dmitry
OneBox production wrote:
Good afternoon, information on specific fields:
Weight - first, the setting "Take value of Parcel weight from additional field" is checked, if the calculated value is empty, the saved weight is taken from the saved process sending parameters, but if it is empty, the current weight value is taken from the Sending parameters block, if empty - an error.
The number of places is taken from the saved process sending parameters, but if it is empty, the current value is taken from the Sending parameters block, then the value of the "Take the Number of places value from the additional field" setting is checked, but if the result is empty - an error.
Cost - from the declared cost of the process or from the setting "Take the declared cost of the process from the additional field of the process", if empty - from the setting "Declared cost of the process" or from the amount of the process
A request is sent to the NP, the getDocumentPrice method
Width, length, height are not taken into account.
Options:
CargoType = Cargo
ServiceType = WarehouseWarehouse
Weight = weight
SeatsAmount = number of seats
cost = cost
as well as ref cities of the sender and recipient
If "Return Delivery" is enabled in the action, additional conditions apply
[/quote]
OK, this is clear. There is also a PackCount field in the documentation - the number of packs, where does this value come from?
Korop Vladislav Pavlovich QubeSoft wrote: PackCount - the number of packs, where do we get this value from?
In boxing, this parameter does not appear anywhere, only those that I specified, and RedeliveryCalculate (if enabled)
[quote]
Korop Vladislav Pavlovich
QubeSoft wrote:
PackCount - the number of packs, where do we get this value from?
[/quote]
In boxing, this parameter does not appear anywhere, only those that I specified, and RedeliveryCalculate (if enabled)
Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter.
Log in and comment
Donate
You don't have enough funds in your account Top up