none
ISA Identifier Macros RRS feed

  • Question

  • Does anyone know if we can use Macros in the ISA Identifiers?   I have a requirement to make the ISA2 a Month and Year: YYMM but I tried doing the %datetime% macro but that didn't work... any ideas?
    Thursday, April 7, 2016 10:19 PM

Answers

  • You need to set the OverrideEdiHeader context property to true, and then set the value of ISA2 from your custom code (say from within an orchestration).

    Please refer this-

    https://scottbanwart.com/blog/2012/10/edi-override-context-properties/

    https://msdn.microsoft.com/en-us/library/dd210685.aspx


    Thanks Arindam

    • Marked as answer by anronsys Friday, April 8, 2016 4:18 PM
    Friday, April 8, 2016 2:41 AM

All replies

  • We need more context.

    My Technet Articles

    If you like this or another reply, vote it up!
    If you think this or another reply answers the original question, mark it or propose it as an answer.


    Mauricio Feijo
    www.mauriciofeijo.com

    Thursday, April 7, 2016 11:47 PM
  • You need to set the OverrideEdiHeader context property to true, and then set the value of ISA2 from your custom code (say from within an orchestration).

    Please refer this-

    https://scottbanwart.com/blog/2012/10/edi-override-context-properties/

    https://msdn.microsoft.com/en-us/library/dd210685.aspx


    Thanks Arindam

    • Marked as answer by anronsys Friday, April 8, 2016 4:18 PM
    Friday, April 8, 2016 2:41 AM
  • No, there are no EDI macros.

    However, ISA02 is not a date Element so you would be creating semantically incorrect EDI, though it would be syntactically valid.

    Are you absolutely sure this is a requirement?

    If you mean ISA07, then that is not the correct format.  ISA07 takes YYMMDD.

    If you have to override the value of any header element, you can use the EDIOverride Context Properties.  You must set these before the EDI Assembler.  They do not need to be Promoted.

    Details: https://msdn.microsoft.com/en-us/library/dd210685.aspx
    Friday, April 8, 2016 12:33 PM
  • You're correct that ISA02 is NOT a date element.  This is for a State Department of Healthcare Services requirement for a Provider Directory EDI transaction and they want to make the ISA02 the month and year of the file transmission.  It's part of their Custom Guideline Implementation. 
    Friday, April 8, 2016 4:20 PM
  • Thanks see thread below...  it's a custom requirement for ISA02
    Friday, April 8, 2016 4:22 PM