
com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.CostCenterCreateInput Maven / Gradle / Ivy
/*
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
*/
package com.sap.cloud.sdk.s4hana.datamodel.bapi.structures;
import java.time.LocalDate;
import javax.annotation.Nullable;
import com.sap.cloud.sdk.result.ElementName;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.Application;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.BusinessArea;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.CcaTemplSki;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.CompanyCode;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.CostCenter;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.CostCenterCategory;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.CostingSheet;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.CountryKey;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.CountryKeyInIsoCode;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.CurrencyKey;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.Department;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.EquityType;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.FunctionalArea;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.FunctionalArea16;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.IsoCodeCurrency;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.JibJibeClass;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.JibJibeSubclassA;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.JointVenture;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.JointVentureObjectType;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.LanguageKey;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.LogicalSystem;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.Name1;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.Name2;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.Name3;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.Name4;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.PersonResponsible;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.PoBox;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.PoBoxPostalCode;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.PostalCode;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.PrinterDestinationForCctrReport;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.ProfitCenter;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.RecoveryIndicator;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.Region;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.StandardHierarchyArea;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.TaxJurisdiction;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.TemplateActStatKeyFigureCostCenterActivityType;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.TemplateActivityDependentAllocationToCostCenter;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.TemplateActivityIndependentAllocationToCostCenter;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.TemplateForActivityDependentFormulaPlanning;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.TemplateForActivityIndependentFormulaPlanning;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.TwoCharacterSapLanguageCode;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.UsageOfTheConditionTable;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.UserResponsible;
import com.sap.cloud.sdk.s4hana.serialization.ErpBoolean;
import lombok.Builder;
import lombok.Data;
/**
* Interface Structure: Create Cost Center Input List
*
* Structure: BAPI0012_CCINPUTLIST
*
*
*/
@Builder
@Data
public class CostCenterCreateInput {
/**
* Field name: ACTY_DEP_TEMPLATE
*
* Type element: CCA_TEMPL_CPD
* Domain name: ABC_TEMPL
* Internal type: CHAR
* Description: Template for Activity-Dependent Formula Planning
* Max length: 10
*
*
*/
@ElementName("ACTY_DEP_TEMPLATE")
@Nullable
private TemplateForActivityDependentFormulaPlanning actyDepTemplate;
/**
* Field name: ACTY_DEP_TEMPLATE_ALLOC_CC
*
* Type element: CCA_TEMPL_SCD
* Domain name: ABC_TEMPL
* Internal type: CHAR
* Description: Template: Activity-Dependent Allocation to Cost Center
* Max length: 10
*
*
*/
@ElementName("ACTY_DEP_TEMPLATE_ALLOC_CC")
@Nullable
private TemplateActivityDependentAllocationToCostCenter actyDepTemplateAllocCc;
/**
* Field name: ACTY_DEP_TEMPLATE_SK
*
* Type element: CCA_TEMPL_SKD
* Domain name: ABC_TEMPL
* Internal type: CHAR
* Description: Template: Act. Stat. Key Figure - Cost Center/Activity Type
* Max length: 10
*
*
*/
@ElementName("ACTY_DEP_TEMPLATE_SK")
@Nullable
private TemplateActStatKeyFigureCostCenterActivityType actyDepTemplateSk;
/**
* Field name: ACTY_INDEP_TEMPLATE
*
* Type element: CCA_TEMPL_CPI
* Domain name: ABC_TEMPL
* Internal type: CHAR
* Description: Template for Activity-Independent Formula Planning
* Max length: 10
*
*
*/
@ElementName("ACTY_INDEP_TEMPLATE")
@Nullable
private TemplateForActivityIndependentFormulaPlanning actyIndepTemplate;
/**
* Field name: ACTY_INDEP_TEMPLATE_ALLOC_CC
*
* Type element: CCA_TEMPL_SCI
* Domain name: ABC_TEMPL
* Internal type: CHAR
* Description: Template: Activity-Independent Allocation to Cost Center
* Max length: 10
*
*
*/
@ElementName("ACTY_INDEP_TEMPLATE_ALLOC_CC")
@Nullable
private TemplateActivityIndependentAllocationToCostCenter actyIndepTemplateAllocCc;
/**
* Field name: ACTY_INDEP_TEMPLATE_SK
*
* Type element: CCA_TEMPL_SKI
* Domain name: ABC_TEMPL
* Internal type: CHAR
* Description: CCA_TEMPL_SKI
* Max length: 10
*
*
*/
@ElementName("ACTY_INDEP_TEMPLATE_SK")
@Nullable
private CcaTemplSki actyIndepTemplateSk;
/**
* Field name: ADDR_CITY
*
* Type element: ORT01_GP
* Domain name: TEXT35
* Internal type: CHAR
* Description: City
* Max length: 35
*
*
*/
@ElementName("ADDR_CITY")
@Nullable
private String addrCity;
/**
* Field name: ADDR_COUNTRY
*
* Type element: LAND1
* Domain name: LAND1
* Internal type: CHAR
* Description: Country Key
* Max length: 3
*
*
*/
@ElementName("ADDR_COUNTRY")
@Nullable
private CountryKey addrCountry;
/**
* Field name: ADDR_COUNTRY_ISO
*
* Type element: LAND1_ISO
* Domain name: INTCA
* Internal type: CHAR
* Description: Country key in ISO code
* Max length: 2
*
*
*/
@ElementName("ADDR_COUNTRY_ISO")
@Nullable
private CountryKeyInIsoCode addrCountryIso;
/**
* Field name: ADDR_DISTRICT
*
* Type element: ORT02_GP
* Domain name: TEXT35
* Internal type: CHAR
* Description: District
* Max length: 35
*
*
*/
@ElementName("ADDR_DISTRICT")
@Nullable
private String addrDistrict;
/**
* Field name: ADDR_NAME1
*
* Type element: NAME1_GP
* Domain name: NAME
* Internal type: CHAR
* Description: Name 1
* Max length: 35
*
*
*/
@ElementName("ADDR_NAME1")
@Nullable
private Name1 addrName1;
/**
* Field name: ADDR_NAME2
*
* Type element: NAME2_GP
* Domain name: NAME
* Internal type: CHAR
* Description: Name 2
* Max length: 35
*
*
*/
@ElementName("ADDR_NAME2")
@Nullable
private Name2 addrName2;
/**
* Field name: ADDR_NAME3
*
* Type element: NAME3_GP
* Domain name: NAME
* Internal type: CHAR
* Description: Name 3
* Max length: 35
*
*
*/
@ElementName("ADDR_NAME3")
@Nullable
private Name3 addrName3;
/**
* Field name: ADDR_NAME4
*
* Type element: NAME4_GP
* Domain name: NAME
* Internal type: CHAR
* Description: Name 4
* Max length: 35
*
*
*/
@ElementName("ADDR_NAME4")
@Nullable
private Name4 addrName4;
/**
* Field name: ADDR_POBX_PCD
*
* Type element: PSTL2
* Domain name: PSTLZ
* Internal type: CHAR
* Description: P.O. Box Postal Code
* Max length: 10
*
*
*/
@ElementName("ADDR_POBX_PCD")
@Nullable
private PoBoxPostalCode addrPobxPcd;
/**
* Field name: ADDR_POSTL_CODE
*
* Type element: PSTLZ
* Domain name: PSTLZ
* Internal type: CHAR
* Description: Postal Code
* Max length: 10
*
*
*/
@ElementName("ADDR_POSTL_CODE")
@Nullable
private PostalCode addrPostlCode;
/**
* Field name: ADDR_PO_BOX
*
* Type element: PFACH
* Domain name: PFACH
* Internal type: CHAR
* Description: PO Box
* Max length: 10
*
*
*/
@ElementName("ADDR_PO_BOX")
@Nullable
private PoBox addrPoBox;
/**
* Field name: ADDR_REGION
*
* Type element: REGIO
* Domain name: REGIO
* Internal type: CHAR
* Description: Region (State, Province, County)
* Max length: 3
*
*
*/
@ElementName("ADDR_REGION")
@Nullable
private Region addrRegion;
/**
* Field name: ADDR_STREET
*
* Type element: STRAS_GP
* Domain name: TEXT35
* Internal type: CHAR
* Description: Street and House Number
* Max length: 35
*
*
*/
@ElementName("ADDR_STREET")
@Nullable
private String addrStreet;
/**
* Field name: ADDR_TAXJURCODE
*
* Type element: TXJCD
* Domain name: TXJCD
* Internal type: CHAR
* Description: Tax Jurisdiction
* Max length: 15
*
*
*/
@ElementName("ADDR_TAXJURCODE")
@Nullable
private TaxJurisdiction addrTaxjurcode;
/**
* Field name: ADDR_TITLE
*
* Type element: ANRED
* Domain name: TEXT15
* Internal type: CHAR
* Description: Title
* Max length: 15
*
*
*/
@ElementName("ADDR_TITLE")
@Nullable
private String addrTitle;
/**
* Field name: APPLICATION
*
* Type element: KAPPL
* Domain name: KAPPL
* Internal type: CHAR
* Description: Application
* Max length: 2
*
*
*/
@ElementName("APPLICATION")
@Nullable
private Application application;
/**
* Field name: BUS_AREA
*
* Type element: GSBER
* Domain name: GSBER
* Internal type: CHAR
* Description: Business Area
* Max length: 4
*
*
*/
@ElementName("BUS_AREA")
@Nullable
private BusinessArea busArea;
/**
* Field name: COMP_CODE
*
* Type element: BUKRS
* Domain name: BUKRS
* Internal type: CHAR
* Description: Company Code
* Max length: 4
*
*
*/
@ElementName("COMP_CODE")
@Nullable
private CompanyCode compCode;
/**
* Field name: CONDITION_TABLE_USAGE
*
* Type element: KVEWE
* Domain name: KVEWE
* Internal type: CHAR
* Description: Usage of the condition table
* Max length: 1
*
*
*/
@ElementName("CONDITION_TABLE_USAGE")
@Nullable
private UsageOfTheConditionTable conditionTableUsage;
/**
* Field name: COSTCENTER
*
* Type element: KOSTL
* Domain name: KOSTL
* Internal type: CHAR
* Description: Cost Center
* Max length: 10
*
*
*/
@ElementName("COSTCENTER")
@Nullable
private CostCenter costcenter;
/**
* Field name: COSTCENTER_TYPE
*
* Type element: KOSAR
* Domain name: KOSAR
* Internal type: CHAR
* Description: Cost Center Category
* Max length: 1
*
*
*/
@ElementName("COSTCENTER_TYPE")
@Nullable
private CostCenterCategory costcenterType;
/**
* Field name: COSTCTR_HIER_GRP
*
* Type element: KHINR
* Domain name: SETNR
* Internal type: CHAR
* Description: Standard Hierarchy Area
* Max length: 12
*
*
*/
@ElementName("COSTCTR_HIER_GRP")
@Nullable
private StandardHierarchyArea costctrHierGrp;
/**
* Field name: CSTG_SHEET
*
* Type element: AUFKALSM
* Domain name: KALSM
* Internal type: CHAR
* Description: Costing Sheet
* Max length: 6
*
*
*/
@ElementName("CSTG_SHEET")
@Nullable
private CostingSheet cstgSheet;
/**
* Field name: CURRENCY
*
* Type element: WAERS
* Domain name: WAERS
* Internal type: CUKY
* Description: Currency Key
* Max length: 5
*
*
*/
@ElementName("CURRENCY")
@Nullable
private CurrencyKey currency;
/**
* Field name: CURRENCY_ISO
*
* Type element: WAERS_ISO
* Domain name: ISOCD
* Internal type: CHAR
* Description: ISO Code Currency
* Max length: 3
*
*
*/
@ElementName("CURRENCY_ISO")
@Nullable
private IsoCodeCurrency currencyIso;
/**
* Field name: DEPARTMENT
*
* Type element: ABTEI
* Domain name: ABTEI
* Internal type: CHAR
* Description: Department
* Max length: 12
*
*
*/
@ElementName("DEPARTMENT")
@Nullable
private Department department;
/**
* Field name: DESCRIPT
*
* Type element: KLTXT
* Domain name: TEXT40
* Internal type: CHAR
* Description: Description
* Max length: 40
*
*
*/
@ElementName("DESCRIPT")
@Nullable
private String descript;
/**
* Field name: FUNC_AREA
*
* Type element: FKBER_SHORT
* Domain name: FKBER_SHORT
* Internal type: CHAR
* Description: Functional Area
* Max length: 4
*
*
*/
@ElementName("FUNC_AREA")
@Nullable
private FunctionalArea funcArea;
/**
* Field name: FUNC_AREA_LONG
*
* Type element: FKBER
* Domain name: FKBER
* Internal type: CHAR
* Description: Functional Area
* Max length: 16
*
*
*/
@ElementName("FUNC_AREA_LONG")
@Nullable
private FunctionalArea16 funcAreaLong;
/**
* Field name: JV_EQUITY_TYP
*
* Type element: JV_ETYPE
* Domain name: JV_ETYPE
* Internal type: CHAR
* Description: Equity type
* Max length: 3
*
*
*/
@ElementName("JV_EQUITY_TYP")
@Nullable
private EquityType jvEquityTyp;
/**
* Field name: JV_JIBCL
*
* Type element: JV_JIBCL
* Domain name: JV_JIBCL
* Internal type: CHAR
* Description: JIB/JIBE Class
* Max length: 3
*
*
*/
@ElementName("JV_JIBCL")
@Nullable
private JibJibeClass jvJibcl;
/**
* Field name: JV_JIBSA
*
* Type element: JV_JIBSA
* Domain name: JV_JIBSA
* Internal type: CHAR
* Description: JIB/JIBE Subclass A
* Max length: 5
*
*
*/
@ElementName("JV_JIBSA")
@Nullable
private JibJibeSubclassA jvJibsa;
/**
* Field name: JV_OTYPE
*
* Type element: JV_OTYPE
* Domain name: JV_OTYPE
* Internal type: CHAR
* Description: Joint Venture Object Type
* Max length: 4
*
*
*/
@ElementName("JV_OTYPE")
@Nullable
private JointVentureObjectType jvOtype;
/**
* Field name: JV_REC_IND
*
* Type element: JV_RECIND
* Domain name: JV_RECIND
* Internal type: CHAR
* Description: Recovery Indicator
* Max length: 2
*
*
*/
@ElementName("JV_REC_IND")
@Nullable
private RecoveryIndicator jvRecInd;
/**
* Field name: JV_VENTURE
*
* Type element: JV_NAME
* Domain name: JV_NAME
* Internal type: CHAR
* Description: Joint venture
* Max length: 6
*
*
*/
@ElementName("JV_VENTURE")
@Nullable
private JointVenture jvVenture;
/**
* Field name: LOCK_IND_ACTUAL_PRIMARY_COSTS
*
* Type element: BKZKP
* Domain name: YNFLG
* Internal type: CHAR
* Description: Lock Indicator for Actual Primary Postings
* Max length: 1
*
*
*/
@ElementName("LOCK_IND_ACTUAL_PRIMARY_COSTS")
@Nullable
private ErpBoolean lockIndActualPrimaryCosts;
/**
* Field name: LOCK_IND_ACTUAL_REVENUES
*
* Type element: BKZER
* Domain name: YNFLG
* Internal type: CHAR
* Description: Lock Indicator for Actual Revenue Postings
* Max length: 1
*
*
*/
@ElementName("LOCK_IND_ACTUAL_REVENUES")
@Nullable
private ErpBoolean lockIndActualRevenues;
/**
* Field name: LOCK_IND_ACT_SECONDARY_COSTS
*
* Type element: BKZKS
* Domain name: YNFLG
* Internal type: CHAR
* Description: Lock Indicator for Actual Secondary Costs
* Max length: 1
*
*
*/
@ElementName("LOCK_IND_ACT_SECONDARY_COSTS")
@Nullable
private ErpBoolean lockIndActSecondaryCosts;
/**
* Field name: LOCK_IND_COMMITMENT_UPDATE
*
* Type element: BKZOB
* Domain name: YNFLG
* Internal type: CHAR
* Description: Lock Indicator for Commitment Update
* Max length: 1
*
*
*/
@ElementName("LOCK_IND_COMMITMENT_UPDATE")
@Nullable
private ErpBoolean lockIndCommitmentUpdate;
/**
* Field name: LOCK_IND_PLAN_PRIMARY_COSTS
*
* Type element: PKZKP
* Domain name: YNFLG
* Internal type: CHAR
* Description: Lock Indicator for Plan Primary Costs
* Max length: 1
*
*
*/
@ElementName("LOCK_IND_PLAN_PRIMARY_COSTS")
@Nullable
private ErpBoolean lockIndPlanPrimaryCosts;
/**
* Field name: LOCK_IND_PLAN_REVENUES
*
* Type element: PKZER
* Domain name: YNFLG
* Internal type: CHAR
* Description: Lock Indicator for Planning Revenues
* Max length: 1
*
*
*/
@ElementName("LOCK_IND_PLAN_REVENUES")
@Nullable
private ErpBoolean lockIndPlanRevenues;
/**
* Field name: LOCK_IND_PLAN_SECONDARY_COSTS
*
* Type element: PKZKS
* Domain name: YNFLG
* Internal type: CHAR
* Description: Lock Indicator for Plan Secondary Costs
* Max length: 1
*
*
*/
@ElementName("LOCK_IND_PLAN_SECONDARY_COSTS")
@Nullable
private ErpBoolean lockIndPlanSecondaryCosts;
/**
* Field name: LOGSYSTEM
*
* Type element: LOGSYSTEM
* Domain name: LOGSYS
* Internal type: CHAR
* Description: Logical System
* Max length: 10
*
*
*/
@ElementName("LOGSYSTEM")
@Nullable
private LogicalSystem logsystem;
/**
* Field name: NAME
*
* Type element: KTEXT
* Domain name: TEXT20
* Internal type: CHAR
* Description: General Name
* Max length: 20
*
*
*/
@ElementName("NAME")
@Nullable
private String name;
/**
* Field name: PERSON_IN_CHARGE
*
* Type element: VERAK
* Domain name: VERAK
* Internal type: CHAR
* Description: Person Responsible
* Max length: 20
*
*
*/
@ElementName("PERSON_IN_CHARGE")
@Nullable
private PersonResponsible personInCharge;
/**
* Field name: PERSON_IN_CHARGE_USER
*
* Type element: VERAK_USER
* Domain name: XUBNAME
* Internal type: CHAR
* Description: User Responsible
* Max length: 12
*
*
*/
@ElementName("PERSON_IN_CHARGE_USER")
@Nullable
private UserResponsible personInChargeUser;
/**
* Field name: PROFIT_CTR
*
* Type element: PRCTR
* Domain name: PRCTR
* Internal type: CHAR
* Description: Profit Center
* Max length: 10
*
*
*/
@ElementName("PROFIT_CTR")
@Nullable
private ProfitCenter profitCtr;
/**
* Field name: RECORD_QUANTITY
*
* Type element: MGEFL
* Domain name: YNFLG
* Internal type: CHAR
* Description: Indicator for Recording Consumption Quantities
* Max length: 1
*
*
*/
@ElementName("RECORD_QUANTITY")
@Nullable
private ErpBoolean recordQuantity;
/**
* Field name: TELCO_DATA_LINE
*
* Type element: DATLT
* Domain name: TEXT14
* Internal type: CHAR
* Description: Data communication line no.
* Max length: 14
*
*
*/
@ElementName("TELCO_DATA_LINE")
@Nullable
private String telcoDataLine;
/**
* Field name: TELCO_FAX_NUMBER
*
* Type element: TELFX
* Domain name: TEXT31
* Internal type: CHAR
* Description: Fax Number
* Max length: 31
*
*
*/
@ElementName("TELCO_FAX_NUMBER")
@Nullable
private String telcoFaxNumber;
/**
* Field name: TELCO_LANGU
*
* Type element: SPRAS
* Domain name: SPRAS
* Internal type: LANG
* Description: Language Key
* Max length: 1
*
*
*/
@ElementName("TELCO_LANGU")
@Nullable
private LanguageKey telcoLangu;
/**
* Field name: TELCO_LANGU_ISO
*
* Type element: LAISO
* Domain name: LAISO
* Internal type: CHAR
* Description: 2-Character SAP Language Code
* Max length: 2
*
*
*/
@ElementName("TELCO_LANGU_ISO")
@Nullable
private TwoCharacterSapLanguageCode telcoLanguIso;
/**
* Field name: TELCO_PRINTER
*
* Type element: KDNAM
* Domain name: DRNAM
* Internal type: CHAR
* Description: Printer destination for CCtr report
* Max length: 4
*
*
*/
@ElementName("TELCO_PRINTER")
@Nullable
private PrinterDestinationForCctrReport telcoPrinter;
/**
* Field name: TELCO_TELEBOX
*
* Type element: TELBX
* Domain name: TEXT15
* Internal type: CHAR
* Description: Telebox number
* Max length: 15
*
*
*/
@ElementName("TELCO_TELEBOX")
@Nullable
private String telcoTelebox;
/**
* Field name: TELCO_TELEPHONE
*
* Type element: TELF1
* Domain name: TEXT16
* Internal type: CHAR
* Description: First telephone number
* Max length: 16
*
*
*/
@ElementName("TELCO_TELEPHONE")
@Nullable
private String telcoTelephone;
/**
* Field name: TELCO_TELEPHONE2
*
* Type element: TELF2
* Domain name: TEXT16
* Internal type: CHAR
* Description: Second telephone number
* Max length: 16
*
*
*/
@ElementName("TELCO_TELEPHONE2")
@Nullable
private String telcoTelephone2;
/**
* Field name: TELCO_TELETEX
*
* Type element: TELTX
* Domain name: TEXT30
* Internal type: CHAR
* Description: Teletex number
* Max length: 30
*
*
*/
@ElementName("TELCO_TELETEX")
@Nullable
private String telcoTeletex;
/**
* Field name: TELCO_TELEX
*
* Type element: TELX1
* Domain name: TEXT30
* Internal type: CHAR
* Description: Telex number
* Max length: 30
*
*
*/
@ElementName("TELCO_TELEX")
@Nullable
private String telcoTelex;
/**
* Field name: VALID_FROM
*
* Type element: DATAB
* Domain name: DATUM
* Internal type: DATS
* Description: Valid-From Date
* Max length: 8
*
*
*/
@ElementName("VALID_FROM")
@Nullable
private LocalDate validFrom;
/**
* Field name: VALID_TO
*
* Type element: DATBI
* Domain name: DATUM
* Internal type: DATS
* Description: Valid To Date
* Max length: 8
*
*
*/
@ElementName("VALID_TO")
@Nullable
private LocalDate validTo;
public void validate()
throws IllegalArgumentException
{
if ((addrCity!= null)&&(addrCity.length()> 35)) {
throw new IllegalArgumentException("Bapi method parameter \"addrCity\" contains an invalid structure. Structure attribute \"ADDR_CITY\" / Function parameter \"addrCity\" must have at most 35 characters. The given value is too long.");
}
if ((addrDistrict!= null)&&(addrDistrict.length()> 35)) {
throw new IllegalArgumentException("Bapi method parameter \"addrDistrict\" contains an invalid structure. Structure attribute \"ADDR_DISTRICT\" / Function parameter \"addrDistrict\" must have at most 35 characters. The given value is too long.");
}
if ((addrStreet!= null)&&(addrStreet.length()> 35)) {
throw new IllegalArgumentException("Bapi method parameter \"addrStreet\" contains an invalid structure. Structure attribute \"ADDR_STREET\" / Function parameter \"addrStreet\" must have at most 35 characters. The given value is too long.");
}
if ((addrTitle!= null)&&(addrTitle.length()> 15)) {
throw new IllegalArgumentException("Bapi method parameter \"addrTitle\" contains an invalid structure. Structure attribute \"ADDR_TITLE\" / Function parameter \"addrTitle\" must have at most 15 characters. The given value is too long.");
}
if ((descript!= null)&&(descript.length()> 40)) {
throw new IllegalArgumentException("Bapi method parameter \"descript\" contains an invalid structure. Structure attribute \"DESCRIPT\" / Function parameter \"descript\" must have at most 40 characters. The given value is too long.");
}
if ((name!= null)&&(name.length()> 20)) {
throw new IllegalArgumentException("Bapi method parameter \"name\" contains an invalid structure. Structure attribute \"NAME\" / Function parameter \"name\" must have at most 20 characters. The given value is too long.");
}
if ((telcoDataLine!= null)&&(telcoDataLine.length()> 14)) {
throw new IllegalArgumentException("Bapi method parameter \"telcoDataLine\" contains an invalid structure. Structure attribute \"TELCO_DATA_LINE\" / Function parameter \"telcoDataLine\" must have at most 14 characters. The given value is too long.");
}
if ((telcoFaxNumber!= null)&&(telcoFaxNumber.length()> 31)) {
throw new IllegalArgumentException("Bapi method parameter \"telcoFaxNumber\" contains an invalid structure. Structure attribute \"TELCO_FAX_NUMBER\" / Function parameter \"telcoFaxNumber\" must have at most 31 characters. The given value is too long.");
}
if ((telcoTelebox!= null)&&(telcoTelebox.length()> 15)) {
throw new IllegalArgumentException("Bapi method parameter \"telcoTelebox\" contains an invalid structure. Structure attribute \"TELCO_TELEBOX\" / Function parameter \"telcoTelebox\" must have at most 15 characters. The given value is too long.");
}
if ((telcoTelephone!= null)&&(telcoTelephone.length()> 16)) {
throw new IllegalArgumentException("Bapi method parameter \"telcoTelephone\" contains an invalid structure. Structure attribute \"TELCO_TELEPHONE\" / Function parameter \"telcoTelephone\" must have at most 16 characters. The given value is too long.");
}
if ((telcoTelephone2 != null)&&(telcoTelephone2 .length()> 16)) {
throw new IllegalArgumentException("Bapi method parameter \"telcoTelephone2\" contains an invalid structure. Structure attribute \"TELCO_TELEPHONE2\" / Function parameter \"telcoTelephone2\" must have at most 16 characters. The given value is too long.");
}
if ((telcoTeletex!= null)&&(telcoTeletex.length()> 30)) {
throw new IllegalArgumentException("Bapi method parameter \"telcoTeletex\" contains an invalid structure. Structure attribute \"TELCO_TELETEX\" / Function parameter \"telcoTeletex\" must have at most 30 characters. The given value is too long.");
}
if ((telcoTelex!= null)&&(telcoTelex.length()> 30)) {
throw new IllegalArgumentException("Bapi method parameter \"telcoTelex\" contains an invalid structure. Structure attribute \"TELCO_TELEX\" / Function parameter \"telcoTelex\" must have at most 30 characters. The given value is too long.");
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy