Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics SL forum
Suggested answer

customization in receipt of PO (04.010.00)

Posted on by 95

Good Day

I trying to customize a 0401000 screen, I trying to get a siteid from a detail of a purchase order and LineRef in a details grid of a receipt screen, I doing a simple select query but I am getting an error message 

typeerr.JPG

this is the query:

6014.TYPEQ.JPG

the code never hits the breakpoint because it sends an error message I read on the internet that the problem is caused by the data header file on the customization screen. i compare sql table with data header file but i don't see any difference

in the dynamics sl directory have 2 files 

typearchivos.JPG

I use the purorddet.dh file 

type.JPGtype2.JPG

type3.JPG

type4.JPG

type5.JPG

any idea what's wrong?

trying import the original file but the result is a error message

7357.typedif.JPGtypedif2.JPG

typedif3.JPG

Categories:
  • develop Profile Picture
    develop 95 on at
    RE: customization in receipt of PO (04.010.00)

    finally solved,

    In the data header I only write SiteId because it is the only column I need, if I need more, I will add the necessary columns, there is no point in having all the ones that I do not occupy and they cause me an error

    typeFinal.JPG

    thks

  • develop Profile Picture
    develop 95 on at
    RE: customization in receipt of PO (04.010.00)

    yes it's declared, and it's marked as "option explicit" ,  I found 2 files but 1 of them is missing columns

  • Suggested answer
    Erich Strelow F Profile Picture
    Erich Strelow F 1,642 on at
    RE: customization in receipt of PO (04.010.00)

    Starting from the basics:

    Did you declare bPurOrdDet?

    If not, this might be just a VB language trap. The VB engine is trying to setup an undeclared bPurOrdDet variable with a fixed buffer size. In this case, you should first activate the "Option Explicit". Then, search in the DB\DHFiles\App for the right snippet of code to be added.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans