Business Client need Web Development

Contact person: Business Client

Phone:Show

Email:Show

Location: Vienna, Austria

Budget: Recommended by industry experts

Time to start: As soon as possible

Project description:
"I have a Microsoft Dynamics 365 Sales form that includes a VAT-ID attribute (logical name: vatid_check). I need a lightweight JavaScript function wired to the field’s OnChange event so that, the moment a user finishes typing a new VAT-ID, the script sends that value to [login to view URL] using basic authentication (user: “user”, password: “password”).

API Documentation: [login to view URL]

Plases don't deliver a power-automate flow- I allready have one and can't use it because i need an instant feedback for the User, which is hard to achieve with on-change events using power-automate-flows. We therfore tried to switch to javascript, but our code failes - can't figure out why and no time to keep trying.
Therefore please ensure the code works before you deliver it. Thanks!

You may start the script with this basic code.

function validateVatNumber(executionContext) {

var formContext = [login to view URL]();
var vatId = [login to view URL]("vatId").getValue();

let username = 'user';
let password = 'password';

let url = '[login to view URL]' + vatId;

If the service confirms the number is valid, simply pop a message box telling the user it passed (including the returend data: Company-Name and Company-address to cross-check) . If the service returns anything other than “valid”, show a message box explaining that the VAT-ID appears invalid; do not block the record from being saved and do not clear the field—just inform the user. Store the error or succescodes in a varibale within the javascript code (possible codes: [login to view URL])

Please deliver:
• javascript file ready to upload to Dynamics, including the XMLHttpRequest / fetch call, the basic-auth header, and a clean separation between success and failure handling.


I should be able to copy the file into a Web Resource, hook up the event, and see the message boxes fire instantly after data entry." (client-provided description)


Matched companies (3)

...

Mobiweb Global Solutions

Mobiweb Global Solutions is a full-service IT company specializing in web development, mobile app development, blockchain, AI, IoT, and game developm… Read more

...

El Codamics

El Codamics – Company Preview About Us El Codamics is a Coimbatore-based software development firm helping startups, enterprises, and global clie… Read more

...

JanakiBhuvi Tech Labs Private Limited

Delivering Future-Ready Digital Solutions in Web Development, E-commerce, Logo Design, and Digital Marketing. We believe innovation is key to navigat… Read more