1. Chandresh Bhavsar
  2. Valentina Reports ADK
  3. 水, 4月 27 2022, 05:11 AM
  4.  メールで購読
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 承諾済みの回答
Is the problem only with V4CC? What about executing it in 12.x Valentina Studio?
コメント
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 承諾済みの回答
Hello Chandresh,

Could you please show the text of your pre_place script?
コメント
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.