static void Raj_SQTConfirmSTInvoiced(Args _args)
{
SalesQuotationTable sqt;
SalesQuotationLine sql;
SalesTable st;
;
while select QuotationId,salesidref,quotationstatus from sqt join sql
where sqt.QuotationId == sql.QuotationId
&& sqt.QuotationStatus == SalesQuotationStatus::Confirmed
join st where sqt.SalesIdRef == st.SalesId
&& st.SalesStatus == SalesStatus::Invoiced
{
info(strFmt("%1 is quotationid confirmed,%2 is salesid invoiced",sqt.QuotationId, st.SalesId));
}
}
{
SalesQuotationTable sqt;
SalesQuotationLine sql;
SalesTable st;
;
while select QuotationId,salesidref,quotationstatus from sqt join sql
where sqt.QuotationId == sql.QuotationId
&& sqt.QuotationStatus == SalesQuotationStatus::Confirmed
join st where sqt.SalesIdRef == st.SalesId
&& st.SalesStatus == SalesStatus::Invoiced
{
info(strFmt("%1 is quotationid confirmed,%2 is salesid invoiced",sqt.QuotationId, st.SalesId));
}
}
No comments:
Post a Comment