How to manage the BigTxt in Navision (Tables & Pages)

//How to manage the BigTxt in Navision (Tables & Pages)

By default Navision will accept the 250 char. If we want to store more then 250 char in Navision we have to follow the below steps.

  1. Create the Blob field in Table level
  2. Create the BigTxt variable in Page level
  3. For import more then 250 char, we have to create XMLPort with the following code
    1. BigTxt – Import::OnAfterAssignVariable()
      CLEAR(OutStreamG);
      BigTxt1.ADDTEXT(BigTxt);
      “MAGE Web Text Header”.”Web Big Text”.CREATEOUTSTREAM(OutStreamG);
      BigTxt1.WRITE(OutStreamG);
      CLEAR(BigTxt);
      CLEAR(BigTxt1);
      CLEAR(OutStreamG);

      BigTxt – Export::OnBeforePassVariable()
      “MAGE Web Text Header”.CALCFIELDS(“Web Big Text”);
      “MAGE Web Text Header”.”Web Big Text”.CREATEINSTREAM(InStreamG);
      InStreamG.READ(BigTxt);

    2. Here BixTxt  is the variable of Bigtext subtype
    3. “Web Big Text” is the Blob field in table level.
  4. The below are the example, how we can see the Big Text in page level.
By | 2017-10-24T19:38:57+00:00 October 24th, 2017|

Navisiontech

7244 Kyle Court, Suite 5
Sarasota, FL 34240 USA
T: (941) 914-9144

Who We Are

Navisiontech Inc. is a leading provider of end-to-end integrated, adaptable Business Applications built on a Microsoft Dynamics Platform. Navisiontech is here to help companies drive business and operational excellence through technology.