1. Chandresh Bhavsar
  2. Valentina Reports ADK
  3. Wednesday, April 27 2022, 05:11 AM
  4.  Subscribe via 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
Comment
There are no comments made yet.
Sergey Pashkov Accepted Answer
Hello Chandresh,

Could you please show the text of your pre_place script?
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 1
Chandresh Bhavsar Accepted Answer
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);
};
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 2
Sergey Pashkov Accepted Answer
Is the problem only with V4CC? What about executing it in 12.x Valentina Studio?
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 3
  • Page :
  • 1


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