Índice exclude CONTEÚDO
Informações | ||
---|---|---|
| ||
The field customization feature of the Sales Management Portal is in development. |
Product: | TOTVS Backoffice |
Product Line: | Microsiga Protheus Line |
Industry: | Backoffice |
Module: | SIGAFAT - Billing |
Function: | pgv.customfields - API for integration of custom fields |
Scope: | Microsiga Protheus 12 |
Versions: | Microsiga Protheus 12 |
Compatible Countries: | All Countries |
Operating Systems: | All |
Compatible with the following Databases: | All |
Access Level: | Level 1 (Customer Access) |
Languages: | All |
Entry point GVFLDC5 allows entering custom fields of the Sales Order Header Table (SC5) to be used by the Sales Management Portal. These fields are used by the API for integration of custom fields (pgv.customfields). This entry point is executed in the end point displayed below:
GVFLDC5() ---> aRet
None.
Name | Type | Description | Required |
aSC5 | Array | Unidimensional array that must contain, in each position, one field of Sales Order header, in character format. Examples: | Yes |
Aviso | ||
---|---|---|
| ||
Only fields of the following types are allowed:
The following field types are not allowed:
|
Bloco de código | ||||
---|---|---|---|---|
| ||||
#INCLUDE "PROTHEUS.CH"
//-----------------------------------------------------------
/*/{Protheus.doc} GVFLDC5
This entry point is called by the API for integration
of custom fields. To enter which additional
fields of table SC5, custom or not, should
be used by PGV besides the default ones
@type function
@author Squad CRM/Billing
@since 4/20/2023
@version 1.0
/*/
//-----------------------------------------------------------
user function GVFLDC5()
local aSC5:= {}
aAdd(aSC5, "C5_PESOL")
aAdd(aSC5, "C5_PBRUTO")
aAdd(aSC5, "C5_RECFAUT")
aAdd(aSC5, "C5_DATA1")
aAdd(aSC5, "C5_VOLUME1")
return aSC5 |