Announcements
how to get inter-state value using x++ ?
Hi Axbeginerss,
Tax document form is available in indian localization and i have seen this in US as well. Inter-state is boolean field. Can you share further details, Are you looking for Inter- State ID?
static void taxdocumentvalue(Args _args)
{
ItaxDocumentLine taxDocumentLine;
ItaxDocument taxDocument;
NoYes isInterState;
taxDocument = TaxBusinessService::getTaxDocumentBySource(tableNum(CustInvoiceJour), RecId);
{
taxDocumentLine = taxDocument.findLineBySource(tableNum(CustInvoiceTrans),RecId);
}
isInterState = TaxEngineEREnumToEnumUtil::noYes(taxDocumentLine.getFieldValue('Inter-State'));
}
Custinvoicejour-taxdocument(form name : taxdocumentUI)-salesinvoice-general-lines-second coloumn .it is for india localization.
Hi Axbeginerss,
Where do you get the screenprint from?
The tax document that you mentioned in the subject, is that for the US, a European country or from another localization?
Would be great if you could elaborate.
Many thanks,
Ludwig
Custinvoicejour-taxdocument(form name : taxdocumentUI)-salesinvoice-general-lines-second coloumn .
Hi,
Could you provide some more details? Which form are you looking at?
André Arnaud de Cal...
294,095
Super User 2025 Season 1
Martin Dráb
232,866
Most Valuable Professional
nmaenpaa
101,158
Moderator