Histórico da Página
...
Produto: | Datasul |
Ocorrência: | Documentação de API |
Nome Físico | inbo/boin318fx.p |
Objetivo
Efetua as rotinas relacionadas com o plano de produção do módulo de planejamento da produção.
Funcionamento
A API/BO...
...
Tabela Temporária | Descrição | Entrada/Saída | ||||
ttProductionPlanVO / ttProductionPlanVO2 | Plano de Produção | Entrada | ||||
Atributo | Tipo | Formato | Descrição | Obrigatório | Evolução | |
planCode | integer |
|
| Não | 2.08 | |
planDescription | character |
|
| Não | 2.08 | |
planType | character |
|
| Não | 2.08 | |
periodType | integer |
|
| Não | 2.08 | |
initialPeriodYear | integer |
|
| Não | 2.08 | |
finalPeriodYear | integer |
|
| Não | 2.08 | |
initialPeriod | integer |
|
| Não | 2.08 | |
finalPeriod | integer |
|
| Não | 2.08 | |
validateDate | integer |
|
| Não | 2.08 | |
purchasedReprogramming | integer |
|
| Não | 2.08 | |
considersSafetyStockPurch | logical |
|
| Não | 2.08 | |
considersStockBalancePurch | logical |
|
| Não | 2.08 | |
considersPurchaseReq | logical |
|
| Não | 2.08 | |
considersMadeNeeds | logical |
|
| Não | 2.08 | |
considersBacklogPurch | logical |
|
| Não | 2.08 | |
reprogrammingMade | integer |
|
| Não | 2.08 | |
considersSafetyStockMade | logical |
|
| Não | 2.08 | |
considersStockBalanceMade | logical |
|
| Não | 2.08 | |
considersProductionReq | logical |
|
| Não | 2.08 | |
considersPurchNeeds | logical |
|
| Não | 2.08 | |
considersBacklogMade | logical |
|
| Não | 2.08 | |
generateTracking | logical |
|
| Não | 2.08 | |
calculationStatus | integer |
|
| Não | 2.08 | |
regeneratePlan | logical |
|
| Não | 2.08 | |
userCode | character |
|
| Não | 2.08 | |
initialDate | date |
|
| Não | 2.08 | |
initialTime | character |
|
| Não | 2.08 | |
finalDate | date |
|
| Não | 2.08 | |
finalTime | character |
|
| Não | 2.08 | |
independentDemandItems | integer |
|
| Não | 2.08 | |
dependentDemandItems | integer |
|
| Não | 2.08 | |
purchaseReq | integer |
|
| Não | 2.08 | |
manufacturingReq | integer |
|
| Não | 2.08 | |
reprogrammingReq | integer |
|
| Não | 2.08 | |
manufacturingItems | integer |
|
| Não | 2.08 | |
committedNeeds | integer |
|
| Não | 2.08 | |
itemsOrder | integer |
|
| Não | 2.08 | |
plannedReq | integer |
|
| Não | 2.08 | |
plannedNeeds | integer |
|
| Não | 2.08 | |
planStatus | integer |
|
| Não | 2.08 | |
initialDateNetChange | date |
|
| Não | 2.08 | |
finalDateNetChange | date |
|
| Não | 2.08 | |
initialTimeNetChange | character |
|
| Não | 2.08 | |
finalTimeNetChange | character |
|
| Não | 2.08 | |
itemsNetChange | integer |
|
| Não | 2.08 | |
fixedHorizon | integer |
|
| Não | 2.08 | |
considersConfirmQuantity | logical |
|
| Não | 2.08 | |
defaultSite | character |
|
| Não | 2.08 | |
onlyApprovedPurchOrders | logical |
|
| Não | 2.08 | |
onlyApprovedMadeOrders | logical |
|
| Não | 2.08 | |
considersPayrollBalanceMade | logical |
|
| Não | 2.08 | |
considersPayrollBalancePurch | logical |
|
| Não | 2.08 | |
considersTransitBalanceMade | logical |
|
| Não | 2.08 | |
considersTransitBalancePurch | logical |
|
| Não | 2.08 | |
thirdpartyBalanceMade | logical |
|
| Não | 2.08 | |
thirdpartyBalancePurch | logical |
|
| Não | 2.08 | |
considersResupplyPurch | logical |
|
| Não | 2.08 | |
considersResupplyMade | logical |
|
| Não | 2.08 | |
safetyDaysNumber | integer |
|
| Não | 2.08 | |
planCalculation | integer |
|
| Não | 2.08 | |
checkSum | character |
|
| Não | 2.08 | |
numIdPlan | integer |
|
| Não | 2.08 | |
needByComponentList | integer |
|
| Não | 2.08 | |
configuredPVSales | logical |
|
| Não | 2.08 | |
deliveryPurchProcessing | logical |
|
| Não | 2.08 | |
entryPurchProcessing | logical |
|
| Não | 2.08 | |
deliveryPurchPayroll | logical |
|
| Não | 2.08 | |
entryPurchPayroll | logical |
|
| Não | 2.08 | |
entryMadePayroll | logical |
|
| Não | 2.08 | |
deliveryMadePayroll | logical |
|
| Não | 2.08 | |
deliveryMadeProcessing | logical |
|
| Não | 2.08 | |
entryMadeProcessing | logical |
|
| Não | 2.08 | |
numPlanCalculation | integer |
|
| Não | 2.08 | |
isMultiSites | logical |
|
| Não | 2.08 | |
grossRequirements | logical |
|
| Não | 2.08 | |
repressionDemandMade | character |
|
| Não | 2.08 | |
repressionDemandPurch | character |
|
| Não | 2.08 | |
planInHorizon | character |
|
| Não | 2.08 | |
reprogramInProgressReqMade | logical |
|
| Não | 2.08 | |
reprogramInProgressReqPurch | logical |
|
| Não | 2.08 | |
initialPeriodString | character |
|
| Não | 2.08 | |
finalPeriodString | character |
|
| Não | 2.08 |
...
Tabela Temporária | Descrição | Entrada/Saída | ||||
ttProductionPlanSummaryVO | Plano de Produção (Resumo) | Entrada | ||||
Atributo | Tipo | Formato | Descrição | Obrigatório | Evolução | |
planCode | integer |
|
| Não | 2.08 | |
planType | character |
|
| Não | 2.08 | |
initialPeriodYear | integer |
|
| Não | 2.08 | |
finalPeriodYear | integer |
|
| Não | 2.08 | |
initialPeriod | integer |
|
| Não | 2.08 | |
finalPeriod | integer |
|
| Não | 2.08 | |
calculationStatus | integer |
|
| Não | 2.08 | |
initialPeriodIniDate | date |
|
| Não | 2.08 | |
planStatus | integer |
|
| Não | 2.08 | |
isSelected | logical |
|
| Não | 2.08 | |
periodType | integer |
|
| Não | 2.08 | |
percentualCalculation | integer |
|
| Não | 2.08 | |
isMultiSites | logical |
|
| Não | 2.08 | |
planDescription | character |
|
| Não | 2.08 | |
initialPeriodEndDate | date |
|
| Não | 2.08 | |
finalPeriodEndDate | date |
|
| Não | 2.08 | |
finalPeriodIniDate | date |
|
| Não | 2.08 |
...
Tabela Temporária | Descrição | Entrada/Saída | ||||
ttProductionPlanGenerateVO | Geração Plano de Produção | Entrada | ||||
Atributo | Tipo | Formato | Descrição | Obrigatório | Evolução | |
finalFamily | char |
|
| Não | 2.08 | |
initialStockGroup | integer |
|
| Não | 2.08 | |
finalItem | char |
|
| Não | 2.08 | |
initialPlanner | char |
|
| Não | 2.08 | |
initialProductionLine | integer |
|
| Não | 2.08 | |
initialSite | char |
|
| Não | 2.08 | |
period | char |
|
| Não | 2.08 | |
Date | date |
|
| Não | 2.08 | |
isPurchItem | logical |
|
| Não | 2.08 | |
isMadeItem | logical |
|
| Não | 2.08 | |
isWithConfirmation | logical |
|
| Não | 2.08 | |
isGenerateMultiPurchReq | logical |
|
| Não | 2.08 | |
isSplitPurchReqByVendors | logical |
|
| Não | 2.08 | |
isBlockApprovedItems | logical |
|
| Não | 2.08 | |
isPrintModifiedItems | logical |
|
| Não | 2.08 | |
isGenerateAutomaticReq | logical |
|
| Não | 2.08 | |
isPrintConfirmedReq | logical |
|
| Não | 2.08 | |
siteForGeneration | integer |
|
| Não | 2.08 | |
planCode | integer |
|
| Não | 2.08 | |
initialItem | char |
|
| Não | 2.08 | |
initialFamily | char |
|
| Não | 2.08 | |
finalPlanner | char |
|
| Não | 2.08 | |
finalStockGroup | integer |
|
| Não | 2.08 | |
finalProductionLine | integer |
|
| Não | 2.08 | |
finalSite | char |
|
| Não | 2.08 | |
initialBusinessUnit | char |
|
| Não | 2.08 | |
finalBusinessUnit | char |
|
| Não | 2.08 |
Tabela Temporária | Descrição | Entrada/Saída | ||||
ttProductionPlanSitesVO | Estabelecimentos do Plano de Produção | Entrada | ||||
Atributo | Tipo | Formato | Descrição | Obrigatório | Evolução | |
siteCode | char |
|
| Não | 2.08 | |
siteDescription | char |
|
| Não | 2.08 | |
isSelectedSites | logical |
|
| Não | 2.08 | |
...
Tabela Temporária | Descrição | Entrada/Saída | |||||||||||||
ttProductionPlanCalculateVO | Cálculo do Plano de Produção | Entrada | |||||||||||||
Atributo | Tipo | Formato | Descrição | Obrigatório | Evolução | ||||||||||
productionPlanCode | integer |
|
| Não | 2.08 | ||||||||||
calculationType | integer |
|
| Não | 2.08 | ||||||||||
generateTrace | logical |
|
| Não | 2.08 | ||||||||||
printLot | logical |
|
| Não | 2.08 |
Tabela Temporária | Descrição | Entrada/Saída | |||||
ttGenerateProductionPlanVO | Geração Plano de Produção | Entrada | |||||
Atributo | Tipo | Formato | Descrição | Obrigatório | Evolução | ||
initialItem | character |
|
| Não | 2.08 | ||
finalItem | character |
|
| Não | 2.08 | ||
initialFamily | character |
|
| Não | 2.08 | ||
finalFamily | character |
|
| Não | 2.08 | ||
isPurchased | logical |
|
| Não | 2.08 | ||
isMade | logical |
|
| Não | 2.08 | ||
initialStockGroup | integer |
|
| Não | 2.08 | ||
finalStockGroup | integer |
|
| Não | 2.08 | ||
initialPlanned | character |
|
| Não | 2.08 | ||
finalPlanned | character |
|
| Não | 2.08 | ||
initialProductionLine | integer |
|
| Não | 2.08 | ||
finalProductionLine | integer |
|
| Não | 2.08 | ||
initialSite | character |
|
| Não | 2.08 | ||
finalSite | character |
|
| Não | 2.08 | ||
transactionDate | date |
|
| Não | 2.08 | ||
periodNumber | integer |
|
| Não | 2.08 | ||
periodYear | integer |
|
| Não | 2.08 | ||
planCode | integer |
|
| Não | 2.08 | ||
initialBusinessUnit | character |
|
| Não | 2.08 | ||
finalBusinessUnit | character |
|
| Não | 2.08 |
...
Tabela Temporária | Descrição | Entrada/Saída | |||||||||||||
ttGeneratedRequisitionsItemVO | Itens de Ordens Geradas | Entrada | |||||||||||||
Atributo | Tipo | Formato | Descrição | Obrigatório | Evolução | ||||||||||
site | character |
|
| Não | 2.08 | ||||||||||
siteDescription | character |
|
| Não | 2.08 | ||||||||||
item | character |
|
| Não | 2.08 | ||||||||||
itemDescription | character |
|
| Não | 2.08 | ||||||||||
family | character |
|
| Não | 2.08 | ||||||||||
stockGroup | integer |
|
| Não | 2.08 |
Tabela Temporária | Descrição | Entrada/Saída | |||||
ttGeneratedRequisitionsParamVO | Parâmetros Ordens Geradas | Entrada | |||||
Atributo | Tipo | Formato | Descrição | Obrigatório | Evolução | ||
initialDate | date |
|
| Não | 2.08 | ||
initialTime | character |
|
| Não | 2.08 | ||
finalTime | character |
|
| Não | 2.08 | ||
finalDate | date |
|
| Não | 2.08 | ||
finalItem | character |
|
| Não | 2.08 | ||
initialFamily | character |
|
| Não | 2.08 | ||
finalPlanner | character |
|
| Não | 2.08 | ||
rpwRequest | character |
|
| Não | 2.08 | ||
initialStockGroup | character |
|
| Não | 2.08 | ||
initialBuyer | character |
|
| Não | 2.08 | ||
planCode | integer |
|
| Não | 2.08 | ||
createAction | logical |
|
| Não | 2.08 | ||
reprogrammingAction | logical |
|
| Não | 2.08 | ||
userCode | character |
|
| Não | 2.08 | ||
initialItem | character |
|
| Não | 2.08 | ||
initialPlanner | character |
|
| Não | 2.08 | ||
finalFamily | character |
|
| Não | 2.08 | ||
finalBuyer | character |
|
| Não | 2.08 |
...
Tabela Temporária | Descrição | Entrada/Saída | |||||
ttStringReturn | Retorno String | Entrada | |||||
Atributo | Tipo | Formato | Descrição | Obrigatório | Evolução | ||
stringValue | character |
|
| Não | 2.08 |
Métodos
Quando a API/BO for executada em modo persistente, os seguintes métodos estarão disponíveis para execução:
getProductionPlanPortletSummary
...
Requisito |
| |
Sintaxe | validateCopyQuantities (input initialPeriod, input planCodeDestination, input finalPeriod, input isCopyQuantities, input planCodeSource, output table RowErrors) | |
Descrição | Valida copia de quantidades entre planos. | |
| Parâmetros | Descrição |
| initialPeriod | Período inicial. |
| planCodeDestination | Plano destino. |
| finalPeriod | Período final. |
| isCopyQuantities | Valor lógico para cópia de quantidade. |
| planCodeSource | Plano origem. |
Retorno | RowErrors: Erros na execução do método. |
validateGeneratePlan
Requisito |
| |
Sintaxe | validateGeneratePlan (input planCode, output table ttBooleanReturn, output table RowErrors) | |
Descrição | Valida geração de ordens do plano. | |
| Parâmetros | Descrição |
| planCode | Código do plano. |
Retorno | ttBooleanReturn: Valor lógico com resultado da validação. RowErrors: Erros na execução do método. |
...