Anybody know how to report a bug by microsoft?

guidorobben
guidorobben Member Posts: 157
I have found a bug in development environment in NAV. I looked for a bug report option in the partnersource website. But I couldn't find it. So is there anyone who knows where I can report a bug at MS?


There is a bug in the DELCHR funtion.

Result :=
'|ADCS ALLE'|'ADCS-INST.'|'ALLE'|'BA-INSTELL'|'BEHEERDER (GEGEVENS)'|'BEVEILIGING'|'BN-GEBRUIKER'|'BN-INSTELL'|'CONC-ZEND/ONTV'|'CP-BERDISP'|'CP-INSTELL'|'CP-PERIODIEK'|'CRMS-CONTR BEWERKEN'|'CRMS-CONTRACT'|'CRMS-GEBOEKTE O/O'|'CRMS-INSTELL'|'CRMS-O/O'|'CRMS-O/O BOEKEN'|'CRMS-PERIODIEK'|'CRMS-SERVART'|'CRMS-SERVART BEW.'|'CRM-CAMP BEWERKEN'|'CRM-CAMPAGNE'|'CRM-INSTELL'|'CRM-OPP'|'CRM-OPP BEWERKEN'|'CRM-PERIODIEK'|'CRM-REL BEWERKEN'|'SUPER'


I used the DELCHR funtion to remove the first |

Result := DELCHR(Result,'<', '|');


After this action, the value of Result:

'ADCS ALLE'|'ADCS-INST.'|'ALLE'|'BA-INSTELL'|'BEHEERDER (GEGEVENS)'|'BEVEILIGING'|'BN-GEBRUIKER'|'BN-INSTELL'|'CONC-ZEND/ONTV'|'CP-BERDISP'|'CP-INSTELL'|'CP-PERIODIEK'|'CRMS-CONTR BEWERKEN'ADCS ALLE'|'ADCS-INST.'|'ALLE'|'BA-INSTELL'|'BEHEERDER (GEGEVENS)'|'BEVEILIGING'|'BN-GEBRUIKER'|'BN-INSTELL'|'CONC-ZEND/ONTV'|'CP-BERDISP'|'CP-INSTELL'|'CP-PERIODIEK'|'CRMS-CONTR BEWERKEN'|'CRMS-CONTRACT'|'CRMS-GEBOEKTE O/O'|'CRMS-INSTELL'|'CRMS-O/O'|'CRN'ADCS ALLE'|'ADCS-INST.'|'ALLE'|'BA-INSTELL'|'BEHEERDER (GEGEVENS)'|'BEVEILIGING'|'BN-GEBRUIKER'|'BN-INSTELL'|'CONC-ZEND/ONTV'|'CP-BERDISP'|'CP-INSTELL'|'CP-PERIODIEK'|'CRMS-CONTR BEWERKEN'|'CRMS-CONTRACT'|'CRMS-GEBOEKTE O/O'|'CRMS-INSTELL'|'CRMS-O/O'|'CRMS-O/O BOEKEN'|'CRMS-PERIODIEK'|'CRMS-SERVART'|'CRMS-SERVART BEW.'|'CRM-CAMP BEWERKEN'|'CRM-CAMPAGNE'|'CRM-INSTELL'|'CRM-OPP'|'CRM-OPP BEWERKEN'|'CRM-PERIODIEK'|'CRM-REL BEWERKEN'|'SUPER'

As you can see, Result is nowhere near what I expect. :D

Guido

Comments

  • gedas
    gedas Member Posts: 87
    Hi,

    it's strange you can compile this code at all. I can't because of ' missing.

    So i did code like:


    result :='|''ADCS ALLE''|''ADCS-INST.''|''ALLE''|''BA-INSTELL''|''BEHEERDER'+
    '|''(GEGEVENS)''|''BEVEILIGING''|''BN-GEBRUIKER''|''BN-INSTELL'+
    '|''CONC-ZEND/ONTV''|''CP-BERDISP''|''CP-INSTELL''|''CP-PERIODIEK'+
    '|''CRMS-CONTR BEWERKEN''|''CRMS-CONTRACT''|''CRMS-GEBOEKTE O/O'+
    '|''CRMS-INSTELL''|''CRMS-O/O''|''CRMS-O/O BOEKEN''|''CRMS-PERIODIEK'+
    '|''CRMS-SERVART''|''CRMS-SERVART BEW.''|''CRM-CAMP BEWERKEN'+
    '|''CRM-CAMPAGNE''|''CRM-INSTELL''|''CRM-OPP''|''CRM-OPP BEWERKEN'+
    '|''CRM-PERIODIEK''|''CRM-REL BEWERKEN''|''SUPER''';

    result := DELCHR(result,'<', '|');


    MESSAGE('%1', result);

    And i receive result as i expected - without first |

    I used NAV 4.0 SP3 U1
    GB