Click here to Skip to main content
15,881,424 members

Comments by Maideen Abdul Kader (Top 103 by date)

Maideen Abdul Kader 17-Jul-23 21:18pm View    
hi Andre. the error is PrintToPrinter is not a member of 'ReportViewer1.LocalReport'
using below code, usually I am using for other reports
ReportViewer1.LocalReport.Refresh()
ReportViewer1.LocalReport.EnableExternalImages = True
it will shows only one label whether "Print box" is more than one.
pls advice me
Thank you
maideen
Maideen Abdul Kader 16-Jul-23 19:07pm View    
Thank you Mr.Andre.
Now error is in this line "ReportViewer1.LocalReport.PrintToPrinter()"
Pls advice me.
Thank you
Maideen Abdul Kader 3-Apr-23 21:29pm View    
hi Griff
Senario: client need download their invoices using api url provided by company which is in pdf format. they have save into client's server . But I have tried to store in application folder (../Doc_Uploads) for using future reference. The folder has setup write/read permission.
the filename is based on invoice number.
But, could not store/save into particular folder.
Pls advice me where i did wrong.

Thank you
Maideen Abdul Kader 25-Jan-23 2:30am View    
Thank you for your reply OriginalGriff.
I have done as per your advice. Now can generate json. But once the post to API url,
It will throw error
"$error": "[ISS.0086.9249] Missing Parameter: document",
"$pipeline": [
because the json start with '[' but API accept without '[' ,
how to solve this, pls advice me.
===================
Code start with
Dim root As List(Of Root) = New List(Of Root)()
========================
code end with
root.Add(New Root With {
.manifestRequest = manifesto
})

Where did I wrong.? Pls let advice me.
Thank you OriginalGriff.
Maideen Abdul Kader 31-Dec-22 22:11pm View    
Thank you for prompt reply Mr.Sandeep
when I run this code, I got the result like this
[{
"SenderName": "ABC",
"ShipmentServiceType": "Standard Delivery",
"RecipientName": "XYZ"
"ShipmentAddressFrom": [{
"SenderName": null,
"CompanyName": "ABC ENTERPRISE",
"UnitNumber": "6,",
"Address": "Jalan TP2,"
}],
"ShipmentAddressTo": [{
"CompanyName": "XYZ Enterprise",
"UnitNumber": "10, ",
"Address": "Jalan TP5, "
}],
"InsurancePurchase": [{
"ProductDescription": "The description of the item A for buying insurance",
"Quantity": "0.00",
"UnitPrice": "0.00"
}],
"WayBill": [{
"WayBillNo": ""
}]
}]

But actual Json needs to POST in API


{ "Shipment": [{
"ShipmentServiceType": "Standard Delivery",
"SenderName": "ABC",
"RecipientName": "XYZ",

"ShipmentAddressFrom": {
"CompanyName": "ABC ENTERPRISE",
"UnitNumber": "6, ",
"Address": "Jalan TP2, "

},
"ShipmentAddressTo": {
"CompanyName": "XYZ Enterprise",
"UnitNumber": "10, ",
"Address": "Jalan TP5, "
},

"InsurancePurchase" : [
{
"ProductDescription":"The description of the item .",
"Quantity": 1,
"UnitPrice": 110
}],
"WayBill": [
{
"WayBillNo": ""
},
],
"DONumber": ""
}
] }

Pls advice me.
Thank you...