advpl-advanced

Community

Build advanced ADVPL safely & efficiently

AuthorJoniPraia
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It helps you implement advanced ADVPL/TLPP patterns (transactions, structured reports, bulk file I/O, grids, threads, and classic OOP) without falling into common legacy mistakes or reliability traps.

Core Features & Use Cases

  • ACID transactions with lock safety: use Begin Transaction/DisarmTransaction() to make multi-table updates atomic while avoiding UI calls that can deadlock.
  • Structured reporting with TReport: generate PDF/Excel/CSV/TXT/HTML outputs using TReport, TRSection, and TRCell instead of legacy report flows.
  • High-volume text file processing: handle SPED/EDI/SEFAZ-style files efficiently with FT_FUse/FT_FReadLn (family 2) and temporary staging with FWTemporaryTable.
  • Dynamic grids outside MVC: build ad-hoc datasets using MsNewGetDados for importers/select popups.
  • Concurrency & advanced language techniques: run parallel work using MsRunInThread (with strict GetArea/RestArea discipline) and apply reflection primitives like Type/ValType.
  • Classic ADVPL OOP patterns: structure behavior with Class/Method/Self for better modularization in classic codebases.

Quick Start

Use the advpl-advanced skill when you need to create an ACID multi-table update and a structured TReport in the same change, while also reading a large SPED/EDI text file efficiently.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: advpl-advanced
Download link: https://github.com/JoniPraia/plugadvpl/archive/main.zip#advpl-advanced

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.