AccountingDistributionTmp_Extension
[ExtensionOf(tableStr(AccountingDistributionTmp))] | |
final class AccountingDistributionTmp_Extension | |
{ | |
public void applyFixedDimension() | |
{ | |
next applyFixedDimension(); | |
if(SourceDocumentLine::find(this.SourceDocumentLine).SourceRelationType == tableName2Id(tableStr(TrvExpTrans)) | |
&& this.PostingType == LedgerPostingType::VendBalance && this.LedgerDimension) | |
{ | |
this.LedgerDimension = LedgerDimensionFacade::serviceApplyFixedDimensions(this.LedgerDimension, Ledger::findByLegalEntity(this.SourceDocLineLegalEntity).RecId); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment