EDI 810 N1 Conditions

couberpucouberpu Member Posts: 317
Hi,

I need help on setting up EDI 810 N1 Segment.

This is what I need to create:

N1*ST*Sell-to Name*12*9999999999~
N3*Sell-to Address~
N4*Sell-to City*Sell-to Sate*Sell-to Zip~
N1*RE*Bill-to Name*00*0000000000~
N3*Bill-to Address~
N4*Bill-to City*Bill-to State*Bill-to Zip~

I use LINE BEGIN and LINE END and conditions in N3 and N4. But I do not know how to get ST and RE of the settings. Should I just create two virtual fields to handle the ST and RE Values or there is a way of doing it?

Thanks,
CouberPu

Answers

  • SavatageSavatage Member Posts: 7,142
    I don't know if we are using the same thing - but for our 810's
    we call it an Entity ID Code where we handle the 'ST' in our case 'BY'
    seperately. see pic.
  • couberpucouberpu Member Posts: 317
    Savatage wrote:
    I don't know if we are using the same thing - but for our 810's
    we call it an Entity ID Code where we handle the 'ST' in our case 'BY'
    seperately. see pic.

    Hey, Harry

    I need to have both ST and RE of either Sell-to or Bill-to. I have 810s only require one set of N1, N3 and N4. In this case, my trading partner needs both Sell-to and Bill-to sets. My question is how to get the value 'ST' or 'RE' into EDI 810 without code in the setup.

    Thanks,
    CouberPu
  • SavatageSavatage Member Posts: 7,142
    I see you say "or" how does your system decide which name to use? or do you always print both
    ST and RE's

    It sound like you have a conditional for a fixed value - is this correct?
    if so you are trying to figure out how to to change ST to RE & vice versa depending on some value?

    N1
    N2
    n3

    all different segments correct?
    shouldn't it then look like this

    N1*ST*Sell-to Name*12*9999999999~
    N1*Sell-to Address~
    N1*Sell-to City*Sell-to Sate*Sell-to Zip~
    N2*RE*Bill-to Name*00*0000000000~
    N2*Bill-to Address~
    N2*Bill-to City*Bill-to State*Bill-to Zip~
  • couberpucouberpu Member Posts: 317
    edited 2009-01-13
    Savatage wrote:
    I see you say "or" how does your system decide which name to use? or do you always print both
    ST and RE's

    It sound like you have a conditional for a fixed value - is this correct?
    if so you are trying to figure out how to to change ST to RE & vice versa depending on some value?

    Looks like you are right again, Harry!

    I did not realize by changing N1 into N1-ST and N1-RE I could have 2 sets of addresses, it was in the test sample right in front of me all this time, and it solved my problem.

    Well, I guess I would never get the answer without asking!? :oops:

    Thanks,
    CouberPu
  • SavatageSavatage Member Posts: 7,142
    ask away - that's how everyone learns - glad it got you in the right direction
  • AdministratorAdministrator Member, Moderator, Administrator Posts: 2,499
    [The use of [SOLVED] is no longer supported. Please use the Topic Attribute to put a green checkmark next to the Topic Title]
Sign In or Register to comment.