1. Chandresh Bhavsar
  2. Valentina Reports ADK
  3. Mittwoch, April 27 2022, 05:11 AM
  4.  Abonnieren via E-Mail
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
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
Is the problem only with V4CC? What about executing it in 12.x Valentina Studio?
Kommentar
There are no comments made yet.
Chandresh Bhavsar Akzeptierte Antwort
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);
};
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
Hello Chandresh,

Could you please show the text of your pre_place script?
Kommentar
There are no comments made yet.
  • Seite :
  • 1


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