DIOTAddlInfoForNoVendorLedger_MX.checkMandatoryFields Method
Checks for mandatory fields based on the vendor type that was selected.
Syntax
public boolean checkMandatoryFields(
TaxGroup _taxGroup,
TaxItemGroup _taxItemGroup,
LedgerJournalType _ledgerJournalType,
[LedgerJournalACType _accountType,
LedgerJournalACType _offsetAccountType])
Run On
Called
Parameters
- _taxGroup
Type: TaxGroup Extended Data Type
Used to pass as a parameter to the isCommonTaxCodeMarked method.
- _taxItemGroup
Type: TaxItemGroup Extended Data Type
Used to pass as a parameter to the isCommonTaxCodeMarked method.
- _ledgerJournalType
Type: LedgerJournalType Enumeration
To check the type of the LedgerJournalType enumeration type.
- _accountType
Type: LedgerJournalACType Enumeration
To check the type of the account.
- _offsetAccountType
Type: LedgerJournalACType Enumeration
To check offset account type.
Return Value
Type: boolean
true if all mandatory fields are entered; otherwise, false.
Remarks
Called from an invoice journal and expense forms for Mexico.