I am Writing The Below Code in the PurchPurchaseOrderHeader/initFromCompanyInfoOnBlankPaper
this.TIN = "27650519753V";
this.SalesTaxRegistrationNumber = "27650519753C";
this.ECCNumber ="AABCS5068AXM002";
I am Getting This Error.
"Operand types are not compatible with the operator."
How To Solve this.
*This post is locked for comments
I don't think you are supposed to assign a string value to an integer field. Somebody created the field with the intention that only number are entered. If you really have to insert a string you have to change the data type of the field but I would advise you not to do so because you would have to adjust all pieces of code that reference the field.
It is a Integer Field Now i assign the String Field.
Is There is Any Alternative to assign these String Values,
The data type of the field where you get the error is not a string, so you can't assign a string value to it. Check what data type it is and assign a appropriate value.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,113 Super User 2024 Season 2
Martin Dráb 229,918 Most Valuable Professional
nmaenpaa 101,156