ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Question] Related Barcode Generator- in Word Layout - RDLC Layout

Open srinivasGangadhara opened this issue 5 years ago • 5 comments

Hi,

we have found we can encode data to barcode, we have followed below link , But that is not working.

https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-report-add-barcodes

Can you Explain how we can use the barcodes in Saas Environment

Regards, Srinivas

srinivasGangadhara avatar Jun 11 '21 11:06 srinivasGangadhara

Can you ask specific questions?

AlexanderYakunin avatar Jun 21 '21 06:06 AlexanderYakunin

Hi,

i have created Report to show my barcode in report,

report 50100 ItemBarcodeReport { UsageCategory = ReportsAndAnalysis; ApplicationArea = All; DefaultLayout = RDLC; Caption = 'Item Barcode'; RDLCLayout = './ItemBarcode.rdl';

dataset
{
    dataitem(Items; Item)
    {
        DataItemTableView = sorting("No.");
        RequestFilterFields = "No.";

        column(No_; "No.")
        {

        }
        column(Description; Description)
        {

        }
        column(Barcode; BarcodeTxt)
        {

        }
        trigger OnAfterGetRecord()
        var
            BarcodeSymbology: Enum "Barcode Symbology";
            BarcodeFontProvider: Interface "Barcode Font Provider";
            BarcodeString: Text;
        begin
            BarcodeFontProvider := Enum::"Barcode Font Provider"::IDAutomation1D;
            BarcodeSymbology := Enum::"Barcode Symbology"::Code39;
            BarcodeString := 'AGGGHB78777HGJKK';
            BarcodeFontProvider.ValidateInput(BarcodeString, BarcodeSymbology);
            BarcodeTxt := BarcodeFontProvider.EncodeFont(BarcodeString, BarcodeSymbology);
        end;

    }
}
var
    BarcodeTxt: Text;

}

we have not done anything in rdlc , as we see the above code will encode string to barcode, But when we see output of the report it's showing string only.

am missing anything here? Please explain.

thanks!

Regards srinivas

srinivasGangadhara avatar Jun 22 '21 08:06 srinivasGangadhara

Any Update on this?

srinivasGangadhara avatar Nov 11 '21 07:11 srinivasGangadhara

@JesperSchulz - can you help?

AlexanderYakunin avatar Nov 11 '21 08:11 AlexanderYakunin

I'm afraid, GitHub issues aren't the right tool to get answers to general questions. The community doesn't look through issues to answer them, and the development team at Microsoft doesn't have capacity to support the entire community on this platform.

Try posting your question to the following resources instead:

Business Central Community mibuso forum Dynamics User Group

Yammer is also a great place to get help of issues of this sort!

This GitHub repository handles issues with extending published apps, and extensibility in general, for the latest release of Business Central.

JesperSchulz avatar Jan 25 '22 11:01 JesperSchulz