in sales order- while posting confirmation subject error is showing
code in below form is mentioned in infolog
abstract class SalesFormLetter
extends FormLetter
{
RecordSortedList recordListSalesParmLine;
RecordSortedList recordListShippingLine;
SalesTotals salesTotals;
SalesQuantity salesQuantity;
QueryRun salesTableQuery;
boolean ledgerVoucherIsSet;
LedgerVoucher ledgerVoucher;
SalesCalcTax salesCalcTax;
SalesTable salesTable;
SalesLine salesLine;
SalesParmUpdate salesParmUpdate;
SalesParmTable salesParmTable;
SalesParmLine salesParmLine;
StartDateTime startDateTimeUpdate;
StartDateTime startDateTimeTable;
Markup markup;
SalesId salesId;
SalesQty updateNow;
// <PMF>
PdsCWInventQty pdsCWUpdateNow;
// </PMF>
NoYes released;
NoYes foundRemains;
boolean editLinesChanged;
NoYes creditNote;
container printerSettingsCODLabel;
container printerSettingsFreightSlip;
container printerSettingsShippingLabel;
container printerSettingsBillOfExchange;
container printerSettingsEntryCertificate_W;
NoYes printCODLabel;
NoYes printFreightSlip;
NoYes printShippingLabel;
NoYes printEntryCertificate_W;
FormDataSource salesEditLinesDatasource;
FormDataSource wmsShipment_ds;
FormDataSource wmsArrival_ds;
#if.never //#SpeedTest
SpeedExecute_Sales speedExecute_Sales;
#endif
LineNum sumByLineNum;
boolean useShippingStat;
CustAccount sumAccount;
PaymentStub giroType;
NoYes defaultGiroType;
CompanyBankAccountId giroAccountId;
boolean giroAllSame;
tableId fromJournalTransList_TableId;
RecordSortedList fromJournalTransList;
Factor statLineAmountFactor;
boolean createFromHistory;
SalesPurchCycleAction salesPurchCycleAction;
boolean interCompanyUnitPriceEqualCostPrice;
boolean lockSalesUpdate;
boolean enableUpdateNow;
SalesUpdate salesUpdateValue;
AmountCur cashDiscAmount;
Set postedTableRefIds;
Set wmsShipmentIdSet;
InventSiteId lineInventSiteId;
RecordInsertList recordInsertSalesParmTable;
RecordInsertList recordInsertSalesParmSubTable;
RecordInsertList recordInsertSalesParmLine;
Map salesParmTableMap;
Map salesParmLineMap;
systemSequence systemSequence;
// <GJP>
DocumentDate documentDate;
Range shipDate;
// </GJP>
// <GBR>
Set createdParmTables;
// </GBR>
//shipping module
Addressing lineTPAddress;
ShipCarrierId lineCarrierId;
ShipCarrierAccount lineCarrierAccount;
WMSShipmentId shipmentId;
boolean skipPrompt;
/* <SYS>
// Credit Card
SalesTable creditCardSalesTable;
SalesTotals_Sales creditCardSalesTotals;
</SYS> */
// <PMF>
PdsMRCPostingError mrcPostingErr;
PdsMRCPrintMSDSOnPack mrcPrintOnPack;
PdsMRCParameters pdsMRCParameters;
// </PMF>
// <GIN>
CustomsExportOrderTable_IN customsExportOrderTable;
CustomsExportOrderLine_IN customsExportOrderLine;
CustomsExportOrderType_IN customsExportOrderType;
NoYesId taxesMarked;
// </GIN>
// Credit Card
SalesTable creditCardSalesTable;
SalesTotals_Sales creditCardSalesTotals;
//<GTE>
boolean isTaxDocumentTransferred;
//</GTE>
//List of parameters common for SalesFormLetter_* classes that needs to be packed
//for the correct class transition between client and server.
//If you need some additional parameters on the client, add them to this list.
//All variables in the parmListCommonCS must also be added to the method resetParmListCommonCS.
//After any changes, both versions must be increased.
#define.ParentVersion(2)
#define.CurrentVersion(2)
#LOCALMACRO.ParmListCommonCS
salesTable,
editLinesChanged,
reArrangeNow,
initAllowEmptyTable,
allowEmptyTable,
enableUpdateNow,
lockSalesUpdate,
createFromLines,
createFromHistory,
showQueryForm,
multiForm,
transDate,
giroType,
defaultGiroType,
postSpecQtyPartly
// <GBR>
,blockPrintManagementOverride_BR
// </GBR>
// <GJP>
,consolidationDate,
shipDate
// </GJP>
#ENDMACRO
// <PMF>
#define.PdsCurrentVersion(1)
#localMacro.PdsCurrentList
mrcPostingErr,
mrcPrintOnPack
#endMacro
// </PMF>
//List of parameters extracted from arguments for the transfer from main() to mainOnServer()
#LOCALMACRO.CachedArgsList
parmEnum,
callerFormName,
isProforma,
formHasInterCompanyRefreshCacheMethod,
parmSkipPrompt
#ENDMACRO
}