Índice | ||
---|---|---|
|
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 |
02. DESCRIPTION
Entry point GVFLDC6 allows entering custom fields of the Sales Order Items Table (SC6) 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:
GVFLDC6() ---> aRet
None.
Name | Type | Description | Required |
aSC6 | Array | Unidimensional array that must contain, in each position, one field of Sales Order items, 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} GVFLDC6
This entry point is called by the API for integration
of custom fields. To enter which additional
fields of table SC6, 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 GVFLDC6() as array
local aSC6:= {} as array
aAdd(aSC6, "C6_CC")
aAdd(aSC6, "C6_PEDCOM")
aAdd(aSC6, "C6_CHASSI")
aAdd(aSC6, "C6_FCICOD")
aAdd(aSC6, "C6_OBSCONT")
return aSC6 |