Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the ledger dimension for the transaction type and the given parameters.
Syntax
server public static container calcLedgerDimensions(
    TaxCode _taxCode, 
    RefRecId _operationCode, 
    SalesPurchBookTransType_RU _transType, 
    RecId _transRecId, 
    RecId _offsetRecId, 
    CompanyId _transCompany, 
    CompanyId _offsetCompany)
Run On
Server
Parameters
- _taxCode
 Type: TaxCode Extended Data Type
 The tax code parameter.
- _operationCode
 Type: RefRecId Extended Data Type
 The SalesBookVATProcessParameters_RU record ID.
- _transType
 Type: SalesPurchBookTransType_RU Enumeration
 The sales or purchase book transaction type.
- _transRecId
 Type: RecId Extended Data Type
 The CustTrans record ID.
- _offsetRecId
 Type: RecId Extended Data Type
 The offset record ID.
- _transCompany
 Type: CompanyId Extended Data Type
 The transaction company.
- _offsetCompany
 Type: CompanyId Extended Data Type
 The offset transaction company.
Return Value
Type: container
The ledger dimension value.