Gmail Agenda Documenten Reader Het internet meer »
Onlangs bekeken groepen | Help | Aanmelden
Google Discussiegroepen Startpagina
modifying UNB
Er zijn momenteel te veel onderwerpen in deze discussiegroep die als eerste worden weergegeven. Als je dit onderwerp als eerste wilt weergeven, moet je deze optie verwijderen van een ander onderwerp.
Er is een fout opgetreden bij het verwerken van je verzoek. Probeer het opnieuw.
Markeren
  4 berichten - Alles samenvouwen  -  Alles naar het vertalen Vertaald (alle originelen weergeven)
De groep waarnaar je een bericht verzendt, is een Usenet-groep. Berichten die je in deze groep verzendt, zijn zichtbaar voor iedereen op het Internet
Je antwoord is niet verzonden.
Uw bericht is geplaatst
 
Van:
Aan:
Cc:
Reactie op:
Cc toevoegen | Reactie toevoegen | Onderwerp bewerken
Onderwerp:
Validatie:
Typ ter verificatie de tekens uit de onderstaande afbeelding of de getallen die je hoort wanneer je klikt op het pictogram voor toegankelijkheid. Luister en typ de nummers die je hoort
 
Thomas  
Profiel weergeven   Naar het vertalen Vertaald (origineel weergeven)
 Meer opties 2 nov 2009, 17:43
Van: Thomas <t...@wsf.at>
Datum: Mon, 2 Nov 2009 08:43:27 -0800 (PST)
Lokaal: ma 2 nov 2009 17:43
Onderwerp: modifying UNB
Hi,

Can somebody help me to find out how to control the UNB segment? My
specs want me to send something like
UNB+UNOC:3+xxxxxxxxxxxxx:52+Lieferant-DE:52+041214:1517+1+PSWD’
.. and I don't succeed on setting S001.0001 to "UNOC". I already tried
different charset settings along the route and
also setting  out.ta_info['charset'] = "UNOC" in my mapping script.-
still getting UNOA on output. I don't know yet if I'll need the
password field in S005.0022 or if there will be a need for overriding
the reference but it would be good to known about these field too...

I'm very new to bots so probably I overlooked something in the docs...

Thomas
(Running bots 1.5.6 on ubuntu, python 2.6.2 and currently trying to do
csv->edi, based on csvdemo_csv2edi)


    Doorsturen  
Je moet je aanmelden voordat je berichten kunt plaatsen.
Als je een bericht wilt verzenden, moet je eerst deelnemen aan deze discussiegroep.
Werk je bijnaam bij op de pagina met abonnementsinstellingen voordat je een bericht plaatst.
Je hebt geen toestemming om berichten te plaatsen.
hjebbers@gmail.com  
Profiel weergeven   Naar het vertalen Vertaald (origineel weergeven)
 Meer opties 2 nov 2009, 17:55
Van: "hjebb...@gmail.com" <hjebb...@gmail.com>
Datum: Mon, 02 Nov 2009 17:55:50 +0100
Lokaal: ma 2 nov 2009 17:55
Onderwerp: Re: [Mail list Bots OS EDI software] modifying UNB
Hi Thomas,

this is quite easy.
you have to set the right syntax option.
this is done in bots/usersys/grammars/edifact/edifactsyntax3.py
here you can use syntax options for all partners;
in this case set:
        'charset':  'UNOC'
bots will than use UNOC characterset, and use UNA-segment.
more fields in envelope work this way; in documentation and grammar.py
is a list of these settings.

this can also be done on a per-partner base.

kind regards,
henk-jan


    Doorsturen  
Je moet je aanmelden voordat je berichten kunt plaatsen.
Als je een bericht wilt verzenden, moet je eerst deelnemen aan deze discussiegroep.
Werk je bijnaam bij op de pagina met abonnementsinstellingen voordat je een bericht plaatst.
Je hebt geen toestemming om berichten te plaatsen.
Thomas  
Profiel weergeven   Naar het vertalen Vertaald (origineel weergeven)
 Meer opties 3 nov 2009, 10:36
Van: Thomas <t...@wsf.at>
Datum: Tue, 3 Nov 2009 01:36:35 -0800 (PST)
Lokaal: di 3 nov 2009 10:36
Onderwerp: Re: modifying UNB

> this is quite easy.
> you have to set the right syntax option.
> this is done in bots/usersys/grammars/edifact/edifactsyntax3.py
> here you can use syntax options for all partners;
> in this case set:
>         'charset':  'UNOC'
> bots will than use UNOC characterset, and use UNA-segment.
> more fields in envelope work this way; in documentation and grammar.py
> is a list of these settings.

Hi henk-jan,

Many thanks for the quick reply, setting the charset now works.
For the password field in S005.0022, I would also have to
modify envelope.py (similar to the handling of 'testindicator'),
right?
...and it seems that it's not possible now to control these fields
from
the translation script as this would require a modification to the db-
table
where the envelope fields are stored along the route, right?

best regards
Thomas


    Doorsturen  
Je moet je aanmelden voordat je berichten kunt plaatsen.
Als je een bericht wilt verzenden, moet je eerst deelnemen aan deze discussiegroep.
Werk je bijnaam bij op de pagina met abonnementsinstellingen voordat je een bericht plaatst.
Je hebt geen toestemming om berichten te plaatsen.
hjebbers@gmail.com  
Profiel weergeven   Naar het vertalen Vertaald (origineel weergeven)
 Meer opties 3 nov 2009, 17:56
Van: "hjebb...@gmail.com" <hjebb...@gmail.com>
Datum: Tue, 03 Nov 2009 17:56:43 +0100
Lokaal: di 3 nov 2009 17:56
Onderwerp: Re: [Mail list Bots OS EDI software] Re: modifying UNB

yes.
I never did this because I have never ever seen this field used....but
if it's neeeded it's needed.
can you check with your trading partner.

> ...and it seems that it's not possible now to control these fields
> from
> the translation script as this would require a modification to the db-
> table
> where the envelope fields are stored along the route, right?

that is right. and ever that would be very complicated
in new version 1.6.0 I have built in user scriptable enveloping.

kind regards,
henk-jan


    Doorsturen  
Je moet je aanmelden voordat je berichten kunt plaatsen.
Als je een bericht wilt verzenden, moet je eerst deelnemen aan deze discussiegroep.
Werk je bijnaam bij op de pagina met abonnementsinstellingen voordat je een bericht plaatst.
Je hebt geen toestemming om berichten te plaatsen.
Einde van berichten
« Terug naar Discussies « Nieuwer onderwerp     Ouder onderwerp »

Discussiegroep maken - Google Discussiegroepen - Google Startpagina - Servicevoorwaarden - Privacybeleid
©2010 Google