web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Passing empty/null values via web services / Lookup problem

(0) ShareShare
ReportReport
Posted on by 120

Hello,

Using web services in NAV 2013 to create invoices, for which purpose I have the required tables mapped to pages & exposed thorugh web services. Now, my problem is that when I want to e.g. pass empty value (null or empty string) in invoice's "Sell-to Address2", NAV tries to look up that value from the customer of the invoice. How can I disable this behaviour? Now I am forced to pass whitespace strings to prevent the lookup from happening.

Thanks!

*This post is locked for comments

I have the same question (0)
  • Verified answer
    keoma Profile Picture
    32,729 on at

    hi,

    the assigning is set in the salesheader table in trigger "Sell-to Customer No. - OnValidate()". change the assigning by using a contition (IF ... THEN ...).

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
HoangNam Profile Picture

HoangNam 7

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans