Hi,
I am trying to give our users the ability to import records in the ‘documents to apply’ grid on the payments and applications screen (AR302000).
I’ve followed Sergey’s instructions here and referenced this previous post. The upload button is now visible, however I receive the following error when attempting to import a file: “The view $ImportXLSXSettings doesn't exist.” or “Error: The view $ImportCSVSettings doesn't exist.” depending on the file type.
I am not able to find any information on this error and unsure where to go from here. My current AR payment entry extension is below.
Any help is greatly appreciated!
using PX.Data;
using PX.Objects.AR;
namespace PX.KWW.KevinScreen.Graph
{
public class ARPaymentEntryExtension : PXGraphExtension<ARPaymentEntry>
{
[PXOverride]
[PXViewName(Objects.AR.Messages.DocumentsToApply)]
[PXCopyPasteHiddenView]
[PXImport(typeof(ARAdjust))]
public PXSelectJoin<
ARAdjust,
LeftJoin<ARInvoice,
On<ARInvoice.docType, Equal<ARAdjust.adjdDocType>,
And<ARInvoice.refNbr, Equal<ARAdjust.adjdRefNbr>>>,
InnerJoin<Objects.AR.Standalone.ARRegisterAlias,
On<Objects.AR.Standalone.ARRegisterAlias.docType, Equal<ARAdjust.adjdDocType>,
And<Objects.AR.Standalone.ARRegisterAlias.refNbr, Equal<ARAdjust.adjdRefNbr>>>,
LeftJoin<ARTran,
On<ARInvoice.paymentsByLinesAllowed, Equal<True>,
And<ARTran.tranType, Equal<ARAdjust.adjdDocType>,
And<ARTran.refNbr, Equal<ARAdjust.adjdRefNbr>,
And<ARTran.lineNbr, Equal<ARAdjust.adjdLineNbr>>>>>>>>,
Where<ARAdjust.adjgDocType, Equal<Current<ARPayment.docType>>,
And<ARAdjust.adjgRefNbr, Equal<Current<ARPayment.refNbr>>,
And<ARAdjust.released, NotEqual<True>>>>>
Adjustments;
}
}