1. Chandresh Bhavsar
  2. Valentina Reports ADK
  3. Среда, Апрель 27 2022, 05:11 AM
  4.  Подписаться через email
I just want point out that I have recently update to V4CC framework.

The pre place script not working in framework 12
I installed back to 11.1 framework and it's working fine
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
Hello Chandresh,

Could you please show the text of your pre_place script?
Комментарий
There are no comments made yet.
Chandresh Bhavsar Ответ принят
Hello Chandresh,

Could you please show the text of your pre_place script?



report.premises = report.cursor.columnValue('ZPREMISES');
report.area = report.cursor.columnValue('ZAREA');
report.street = report.cursor.columnValue('ZSTREET');
report.city = report.cursor.columnValue('ZCITY');
report.state = report.cursor.columnValue('ZSTATE');
report.pincode = report.cursor.columnValue('ZPINCODE');
report.country = report.cursor.columnValue('ZCOUNTRY');

if (report.cursor.columnValue('ZDELIVERYPREMISESNAME') !== "" ||
report.cursor.columnValue('ZDELIVERYAREA') !== "" ||
report.cursor.columnValue('ZDELIVERYSTREET') !== "" ||
report.cursor.columnValue('ZDELIVERYCITY') !== "" ||
report.cursor.columnValue('ZDELIVERYSTATE') !== "" ||
report.cursor.columnValue('ZDELIVERYPINCODE') !== "" ||
report.cursor.columnValue('ZDELIVERYCOUNTRY') !== "") {

report.premises = report.cursor.columnValue('ZDELIVERYPREMISESNAME');
report.area = report.cursor.columnValue('ZDELIVERYAREA');
report.street = report.cursor.columnValue('ZDELIVERYSTREET');
report.city = report.cursor.columnValue('ZDELIVERYCITY');
report.state = report.cursor.columnValue('ZDELIVERYSTATE');
report.pincode = report.cursor.columnValue('ZDELIVERYPINCODE');
report.country = report.cursor.columnValue('ZDELIVERYCOUNTRY');
};

report.cityStatePincode = report.city
if (report.state !== "") {
report.cityStatePincode += (", " + report.state);
};
if (report.cityStatePincode !== "" && report.pincode !== "") {
report.cityStatePincode += (" - " + report.pincode);
};
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
Is the problem only with V4CC? What about executing it in 12.x Valentina Studio?
Комментарий
There are no comments made yet.
  • Страница :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.